{"id":13490025,"url":"https://github.com/haydenjames/bench-scripts","last_synced_at":"2025-05-16T08:05:22.699Z","repository":{"id":38418755,"uuid":"108940126","full_name":"haydenjames/bench-scripts","owner":"haydenjames","description":"A compilation of Linux server benchmarking scripts.","archived":false,"fork":false,"pushed_at":"2024-07-01T19:11:02.000Z","size":113,"stargazers_count":1185,"open_issues_count":1,"forks_count":169,"subscribers_count":43,"default_branch":"master","last_synced_at":"2025-05-13T10:04:36.883Z","etag":null,"topics":["benchmark","benchmarking","linux","performance","scripts","vps"],"latest_commit_sha":null,"homepage":"https://haydenjames.io/linux-benchmark-scripts-tools/","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/haydenjames.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-10-31T03:26:44.000Z","updated_at":"2025-05-12T09:15:43.000Z","dependencies_parsed_at":"2024-10-31T03:41:31.374Z","dependency_job_id":null,"html_url":"https://github.com/haydenjames/bench-scripts","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haydenjames%2Fbench-scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haydenjames%2Fbench-scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haydenjames%2Fbench-scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haydenjames%2Fbench-scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/haydenjames","download_url":"https://codeload.github.com/haydenjames/bench-scripts/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254493378,"owners_count":22080126,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["benchmark","benchmarking","linux","performance","scripts","vps"],"created_at":"2024-07-31T19:00:39.456Z","updated_at":"2025-05-16T08:05:17.691Z","avatar_url":"https://github.com/haydenjames.png","language":null,"readme":"* I originally posted this here: https://linuxblog.io/linux-benchmark-scripts-tools/\n\nAlso see:\n* [60 Linux Networking commands and scripts](https://linuxblog.io/linux-networking-commands-scripts/)\n* [90 Commands frequently used by Linux Sysadmins](https://linuxblog.io/90-linux-commands-frequently-used-by-linux-sysadmins/)\n\n**Pasted via my blog linuxblog.io:**\n\nRecently I tried to use a benchmark script I'd used previously for a quick check of VPS CPU, Disk and Network. However, it's no longer online. As a result I wanted to keep a list of scripts and tools for benchmarking Linux servers. [Submit suggestions](https://linuxblog.io/contact-me/).\n\n**Bench Scripts**\n* [Bench.sh](https://github.com/haydenjames/bench-scripts/blob/master/README.md#benchsh)\n* [Nench](https://github.com/haydenjames/bench-scripts/blob/master/README.md#nench)\n* [VPSbench](https://github.com/haydenjames/bench-scripts/blob/master/README.md#vpsbench)\n* [VPS Benchmark](https://github.com/haydenjames/bench-scripts/blob/master/README.md#vps-benchmark)\n* [Linux Bench](https://github.com/haydenjames/bench-scripts/blob/master/README.md#linux-bench)\n* [Bench-sh-2](https://github.com/haydenjames/bench-scripts/blob/master/README.md#bench-sh-2)\n* [unixbench.sh](https://github.com/haydenjames/bench-scripts/blob/master/README.md#unixbenchsh)\n\n**Bench Command line Apps**\n* [Unixbench](https://github.com/haydenjames/bench-scripts/blob/master/README.md#unixbench)\n* [Fio](https://github.com/haydenjames/bench-scripts/blob/master/README.md#fio)\n* [Sysbench](https://github.com/haydenjames/bench-scripts/blob/master/README.md#sysbench)\n* [Bonnie](https://github.com/haydenjames/bench-scripts/blob/master/README.md#bonnie)\n* [S](https://github.com/haydenjames/bench-scripts/blob/master/README.md#s)\n* [Phoronix Test Suite](https://github.com/haydenjames/bench-scripts/blob/master/README.md#phoronix-test-suite)\n* [Geekbench](https://github.com/haydenjames/bench-scripts/blob/master/README.md#geekbench-4)\n* [vdbench](https://github.com/haydenjames/bench-scripts/blob/master/README.md#vdbench)\n* [IOzone](https://github.com/haydenjames/bench-scripts/blob/master/README.md#iozone)\n* [Iometer](https://github.com/haydenjames/bench-scripts/blob/master/README.md#iomter)\n* [Interbench](https://github.com/haydenjames/bench-scripts/blob/master/README.md#interbench)\n* [HDparm](https://github.com/haydenjames/bench-scripts/blob/master/README.md#hdparm)\n* [DD](https://linuxblog.io/web-host-doesnt-want-read-benchmark-vps/)\n\n\n# bench Scripts\n\n### bench.sh\nhttps://bench.sh - view system information and test the network, disk of your Linux server.\n\n    $ wget -qO- bench.sh | bash\n\n![alt bench.sh screenshot](https://linuxblog.io/wp-content/uploads/2017/10/bench_sh_screenshot.png)\n\n### nench\nhttps://github.com/n-st/nench - A script loosely based on the established freevps.us/bench.sh. \n\n    $ (curl -s wget.racing/nench.sh | bash; curl -s wget.racing/nench.sh | bash) 2\u003e\u00261 | tee nench.log  \n\n    ------------------------------------------------\n    nench.sh v2017.06.01 -- https://git.io/nench.sh\n    benchmark timestamp:    2017-10-31 03:38:08 UTC\n    -------------------------------------------------\n\n    Processor:    Common KVM processor\n    CPU cores:    6\n    Frequency:    2399.998 MHz\n    RAM:          2.9G\n    Swap:         \n    Kernel:       Linux 4.9.0-4-amd64 x86_64\n\n    Disks:\n    sda     30G  HDD\n\n    CPU: SHA256-hashing 500 MB\n     3.438 seconds\n    CPU: bzip2-compressing 500 MB\n     5.385 seconds\n    CPU: AES-encrypting 500 MB\n    3.174 seconds\n\n    ioping: seek rate\n    min/avg/max/mdev = 59.0 us / 180.1 us / 3.71 ms / 57.3 us\n    ioping: sequential read speed\n    generated 4.02 k requests in 5.00 s, 1005.5 MiB, 804 iops, 201.1 MiB/s\n\n    dd: sequential write speed\n    1st run:    810.62 MiB/s\n    2nd run:    1144.41 MiB/s\n    3rd run:    1239.78 MiB/s\n    average:    1064.94 MiB/s\n\n    IPv4 speedtests\n    your IPv4:    x.x.x.x\n\n    Cachefly CDN:         82.72 MiB/s\n    ...\n    \n### vpsbench\nhttps://github.com/mgutz/vpsbench - A script to run simple and comprehensive benchmarks on CPU and IO performance.\n\n    $ bash \u003c(wget --no-check-certificate -O - https://raw.github.com/mgutz/vpsbench/master/vpsbench)  \n    \n    Benching I/O ... OK\n    Benching CPU. Bzipping 25MB file ... OK\n    Benching inbound network. Downloading 100MB file ... OK\n    Share at https://github.com/mgutz/vpsbench/wiki/VPS-Hosts\n    CPU model:  Common KVM processor\n    Number of cores: 6\n    CPU frequency:  2399.998 MHz\n    Total amount of RAM: 3011 MB\n    Total amount of swap:  MB\n    System uptime:   11 days, 2:04,       \n    I/O speed:  910 MB/s\n    Bzip 25MB: 4.22s\n    Download 100MB file: 107MB/s\n    \n### VPS Benchmark\nhttp://busylog.net/vps-benchmark/ - Benchmark disk, cpu and network.\n\n    $ wget http://busylog.net/FILES2DW/busytest.sh -O - -o /dev/null | bash\n     __                          \n    |__)    _  | _  _     _  _|_ \n    |__)|_|_)\\/|(_)(_).  | )(-|_ \n         /     _/            \n    http://busylog.net           \n    -----------------------------\n    busyupload.sh V0.1\n    \\|/\n    This is a early version with learning purpose... check the TODO\n    Some logs here: ftp_busy.log\n    -----------------------------\n    Check what we have installed here...\n    openssl......installed (YES)\n    wget.........installed (YES)\n    ftp..........not installed (NO)\n    ioping.......installed (YES)\n    hdparm.......installed (YES)\n    -----------------------------\n    Network upload test....\n    not performed tests.... test needs ftp and wget installed\n    -----------------------------\n    Test openSSL speeds (openssl signatures speed)....\n    Doing 512 bit private rsa's for 10s: 160961 512 bit private RSA's in 10.00s\n    Doing 512 bit public rsa's for 10s: 2403890 512 bit public RSA's in 10.00s\n    Doing 1024 bit private rsa's for 10s: 59315 1024 bit private RSA's in 10.00s\n    Doing 1024 bit public rsa's for 10s: 902191 1024 bit public RSA's in 10.00s\n    Doing 2048 bit private rsa's for 10s: 7758 2048 bit private RSA's in 10.00s\n    ...\n    OpenSSL 1.1.0f  25 May 2017\n    built on: reproducible build, date unspecified\n    options:bn(64,64) rc4(8x,char) des(int) aes(partial) blowfish(ptr) \n    compiler: gcc -DDSO_DLFCN -DHAVE_DLFCN_H -DNDEBUG -DOPENSSL_THREADS -DOPENSSL_NO_STATIC_ENGINE...\n                  sign    verify    sign/s verify/s\n    rsa  512 bits 0.000062s 0.000004s  16096.1 240389.0\n    rsa 1024 bits 0.000169s 0.000011s   5931.5  90219.1\n    rsa 2048 bits 0.001289s 0.000035s    775.8  28701.2\n    ...\n    -----------------------------\n    Disk seek rate test (ioping)....\n    \n    --- . (ext4 /dev/sda1) ioping statistics ---\n    14.9 k requests completed in 2.96 s, 58.4 MiB read, 5.06 k iops, 19.8 MiB/s\n    generated 15.0 k requests in 3.00 s, 58.4 MiB, 4.98 k iops, 19.5 MiB/s\n    min/avg/max/mdev = 61.9 us / 197.8 us / 5.88 ms / 97.4 us\n    -----------------------------\n    Direct (not cached) disk reads (hdparm)....\n    Test disk /dev/sda1\n    \n    /dev/sda1:\n    Timing O_DIRECT disk reads: 3624 MB in  3.00 seconds = 1207.86 MB/sec\n    \n### Linux Bench\nhttps://github.com/STH-Dev/linux-bench - Linux-Bench is a sscript that runs hardinfo, Unixbench 5.1.3, c-ray 1.1, STREAM, OpenSSL, sysbench (CPU), crafty, redis, NPB, NAMD, and 7-zip benchmarks.\n\n    $ wget https://raw.githubusercontent.com/STH-Dev/linux-bench/master/linux-bench.sh \u0026\u0026 chmod +x linux-bench.sh \u0026\u0026 ./linux-bench.sh\n\n### bench-sh-2\nhttps://github.com/hidden-refuge/bench-sh-2 - System Info + Speedtest IPv4 + Drive Speed.\n\n    $ wget https://raw.githubusercontent.com/hidden-refuge/bench-sh-2/master/bench.sh \u0026\u0026 chmod +x bench.sh \u0026\u0026 ./bench.sh\n\n### unixbench.sh\nhttps://github.com/teddysun/across/blob/master/unixbench.sh - Auto install unixbench and test script. (https://teddysun.com/245.html)\n\n    wget --no-check-certificate https://github.com/teddysun/across/raw/master/unixbench.sh\n    chmod +x unixbench.sh\n    ./unixbench.sh\n\n_Test sever used for all tests = [StackLinux Mini VPS](https://stacklinux.com)_\n\n\n# Bench Command line Apps\n\n### UnixBench\nhttps://github.com/kdlucas/byte-unixbench - UnixBench is the original BYTE UNIX benchmark suite, updated and revised by many people over the years.\n\n### fio\nhttps://github.com/axboe/fio - Flexible I/O Tester\n\n### sysbench\nhttps://github.com/akopytov/sysbench - Scriptable database and system performance benchmark\n\n### HDparm\nhttps://hdparm.sourceforge.io/ - get/set ATA/SATA drive parameters under Linux\n\n### Bonnie\nhttp://www.textuality.com/bonnie/ - Bonnie is a benchmark which measures the performance of Unix file system operations. Bonnie is concerned with identifying bottlenecks.\n\n### S\nhttps://github.com/Algodev-github/S - Small collection of programs to measure storage I/O performance.\n\n### Phoronix Test Suite\nhttps://github.com/phoronix-test-suite/phoronix-test-suite - The Phoronix Test Suite open-source, cross-platform automated testing/benchmarking software.\n\n### Geekbench 4\nhttp://support.primatelabs.com/kb/geekbench/geekbench-4-command-line-tool - This tool allows you to use Geekbench 4 from a command prompt and automate it with shell scripts or batch files.\n\n### Vdbench\nhttp://www.oracle.com/technetwork/server-storage/vdbench-downloads-1901681.html - Vdbench is a command line utility specifically created to help engineers and customers generate disk I/O workloads to be used for validating storage performance and storage data integrity. \n\n### IOzone\nhttp://www.iozone.org - is a filesystem benchmark tool. The benchmark generates and measures a variety of file operations.\n\n### Iomter\nhttp://www.iometer.org - Iometer is an I/O subsystem measurement and characterization tool for single and clustered systems.\n\n### Interbench\nhttps://github.com/ckolivas/interbench - Linux Interactivity Benchmark\n\n**Use at your own risk! Always verify before running. If you find any broken scripts or issues please [notifiy me](https://linuxblog.io/contact-me/).**\n\n","funding_links":[],"categories":["Others","linux","Uncategorized"],"sub_categories":["Uncategorized"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaydenjames%2Fbench-scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhaydenjames%2Fbench-scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaydenjames%2Fbench-scripts/lists"}