Speedtest

Server/VPS Speedtest Script, system info, I/O test and speedtest

Servers GitHub

About This Script

This script is a standard Bash script designed to run on most Linux distributions, including Debian, Ubuntu, CentOS, Fedora, Arch Linux, Rocky Linux, AlmaLinux, and their derivatives. It is compatible with x86_64, x86, ARM64, and ARM architectures.

The script provides a comprehensive system performance analysis, which includes:

The script requires curl and bash to run. It will automatically install necessary tools such as wget, python3, bzip2, tar, and smartmontools (for extended disk information) if they are not already present. Running the script requires root privileges.

Global Speedtest

More Arguments

curl -sL bench.laset.com | bash -s -- -Argument

-info or -i # System Information

-io # I/O Test

-gb # GeekBench CPU Test

-gb4 # GeekBench CPU v4 Test

-gb5 # GeekBench CPU v5 Test

-gb6 # GeekBench CPU v6 Test

-all # System info, I/O & Global Speedtest

-ins or -inspeed # Just India Speedtest

-cn or -china # System info, I/O & China Speedtest

-cns or -cnspeed # Just China Speedtest

-ua or -ukraine # System info, I/O & Ukraine Speedtest

-uas or -uaspeed # Just Ukraine Speedtest

-ip # IP info

-a # Show about

Compatibility

This script is engineered for broad compatibility across diverse Linux distributions and architectures, relying on standard bash and common system utilities. To run the script, you must have curl installed. The script includes built-in logic to automatically install other necessary dependencies (e.g., wget, python3, bzip2, tar, smartmontools) to simplify deployment. For optimal operation, ensure bash is installed and the script is executed with root privileges. If you encounter any issues, please report them on the GitHub Issues page.

Sample Output (Global)

root@chicago:~# curl -sL bench.laset.com | bash
---------------------------------------------------------------------------
 Region: Global  https://bench.laset.com v1.8.2 2025-09-22 
 Usage : curl -sL bench.laset.com | bash -s -- -Global
---------------------------------------------------------------------------
 OS           : Debian GNU/Linux 12 (64 Bit)
 Virt/Kernel  : KVM / 6.1.0-39-cloud-arm64
 CPU Model    : KVM Virtual Machine
 CPU Cores    : 4 @  MHz aarch64  Cache
 CPU Flags    : AES-NI Enabled & VM-x/AMD-V Disabled
 Load Average : 0.14, 0.13, 0.09
 Total Space  : 196G (84G ~46% used)
 Total RAM    : 24003 MB (11809 MB + 4087 MB Buff in use)
 Total SWAP   : 1024 MB (314 MB in use)
 IPv4/IPv6    : ✔ Online / ❌ Offline
 Uptime       : 12 days 18:16
---------------------------------------------------------------------------
 Location     : United States, Chicago (Illinois)
 ASN & ISP    : AS31898, Oracle Corporation / Oracle Corporation
---------------------------------------------------------------------------

 ## Geekbench v6 CPU Benchmark:

  Single Core : 1122  (VERY GOOD)
   Multi Core : 3609
    CPU Steal : 0.00%

 ## IO Test

 CPU Speed:
    bzip2     : 115 MB/s (Steal: 0.00%)
   sha256     : 279 MB/s (Steal: 0.00%)
   md5sum     : 448 MB/s (Steal: 0.00%)

 RAM Speed:
   Avg. write : 2867.2 MB/s
   Avg. read  : 5734.4 MB/s

 Disk Speed:
   1st run    : 411 MB/s
   2nd run    : 394 MB/s
   3rd run    : 395 MB/s
   -----------------------
   Average    : 400.0 MB/s

 ## Global Speedtest.net

 Location                       Upload           Download         Ping   
---------------------------------------------------------------------------
 Nearby                         1868.52 Mbit/s   2079.14 Mbit/s   8.274 ms
---------------------------------------------------------------------------
 USA, New York (Starry)         773.78 Mbit/s    1552.67 Mbit/s  18.696 ms
 USA, Chicago (Windstream)      1677.69 Mbit/s   1944.35 Mbit/s  1.590 ms
 USA, Houston (Comcast)         550.01 Mbit/s    1248.54 Mbit/s  28.170 ms
 USA, Miami (Frontier)          398.37 Mbit/s    939.13 Mbit/s   42.825 ms
 USA, Los Angeles (Windstream)  306.53 Mbit/s    629.81 Mbit/s   56.645 ms
 UK, London (Structured Com)    192.92 Mbit/s    495.98 Mbit/s   91.195 ms
 France, Paris (KEYYO)          154.24 Mbit/s    155.29 Mbit/s   96.040 ms
 Germany, Berlin (DNS:NET)      167.11 Mbit/s    348.12 Mbit/s   106.375 ms
 Spain, Madrid (MasMovil)       151.13 Mbit/s    124.73 Mbit/s   117.890 ms
 Italy, Rome (Unidata)          141.64 Mbit/s    103.90 Mbit/s   124.285 ms
 India, Mumbai (Tatasky)        18.28 Mbit/s     12.11 Mbit/s    326.915 ms
 Singapore (MyRepublic)         57.54 Mbit/s     12.92 Mbit/s    204.533 ms
 Japan, Tsukuba (SoftEther)     108.33 Mbit/s    241.44 Mbit/s   165.276 ms
 Australia, Sydney (Telstra)    102.64 Mbit/s    104.88 Mbit/s   177.275 ms
 RSA, Randburg (MTN SA)         22.19 Mbit/s     45.86 Mbit/s    264.193 ms
 Brazil, Sao Paulo (TIM)        134.93 Mbit/s    74.36 Mbit/s    129.660 ms
---------------------------------------------------------------------------

 Finished in : 13 min 19 sec
 Timestamp   : 2025-09-23 11:57:03 GMT
 Saved in    : /root/speedtest.log

 Share results:
 - https://www.speedtest.net/result/18260986594.png
 - https://browser.geekbench.com/v6/cpu/14012322

Where to get a cheap VPS

Looking for an affordable and reliable VPS? UpCloud is an excellent choice! New users can get a €25 bonus when they register using our promo link or code BEE3CJ. With servers starting from just €3.5 for 1GB RAM, this bonus effectively gives you over 7 months of free usage!

UpCloud offers a wide range of locations including Australia, Germany, Spain, Finland, Netherlands, Poland, Sweden, Singapore, United Kingdom, and USA.

Register now via this link or enter Promo code: BEE3CJ during registration to claim your bonus!

Source code

https://github.com/laset-com/speedtest