Several important factors to consider before buying a Virtual Private Server (VPS) are Internet connection speed, I/O speed, CPU performance and the server or network uptime. Actually, you can get a complete comparison about the VPS performance at serverbear.com websites, but if you want a second opinion on how fast is your connection speed VPS, you can perform the speedtest by yourself. In this post I will share with you how to check the speed of network for Linux VPS. These steps have been tested on a CentOS 5 and CentOS 6 VPS hosted at different locations in the United States.
1. Test 100MB File on the CentOS 5 VPS located at North Carolina, USA :
# wget -O /dev/null - http://cachefly.cachefly.net/100mb.test
# wget -O /dev/null - http://cachefly.cachefly.net/100mb.test --2012-04-19 17:40:00-- http://cachefly.cachefly.net/100mb.test Resolving cachefly.cachefly.net... 22.214.171.124 Connecting to cachefly.cachefly.net|126.96.36.199|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 104857600 (100M) [application/octet-stream] Saving to: `/dev/null' 100%[=======================================================>] 104,857,600 11.1M/s in 9.1s 2012-04-19 17:40:09 (11.0 MB/s) - `/dev/null' saved [104857600/104857600] FINISHED --2012-04-19 17:40:09-- Downloaded: 1 files, 100M in 9.1s (11.0 MB/s)
100Mbps port = 12.5M/s Maximum speed
2. Test 1GB File on the CentOS 6 VPS located at New York City, USA :
# wget -O /dev/null - http://speedtest.nyc.solvps.com/1GB.zip --2015-03-08 03:43:25-- http://speedtest.nyc.solvps.com/1GB.zip Resolving speedtest.nyc.solvps.com... 188.8.131.52 Connecting to speedtest.nyc.solvps.com|184.108.40.206|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 1073741824 (1.0G) [application/zip] Saving to: â/dev/nullâ 100%[====================================>] 1,073,741,824 33.1M/s in 37s 2015-03-08 03:44:02 (27.8 MB/s) - â/dev/nullâ FINISHED --2015-03-08 03:44:02-- Downloaded: 1 files, 1.0G in 37s (27.8 MB/s)
1Gigabit port = 125 MB/s Maximum speed