Your VPS performance is a combination of CPU speed, memory, and disk performance.
Then it’s divided by how oversold the hosting is, how noisy your neighbors are (other VPSs on the same server)
It’s really hard to know if your getting what you paid for.
This is a test of IOPS (Input Output per second) – not MBps (which is throughput). IOPS is important for mysql and a web server – throughput is less important.
Here is a tool to benchmark your disk IOPS. You’ll need root ssh access to start with. It’s a small tool, and the test only takes a few seconds to execute against fast/ssd, if your server is slow it might take up to 10-12 minutes.
cd /root yum install -y make gcc libaio-devel || ( apt-get update && apt-get install -y make gcc libaio-dev) wget -O - https://github.com/axboe/fio/archive/master.tar.gz | tar zxf - cd fio-master make
Now to run the test
./fio --randrepeat=1 --ioengine=libaio --direct=1 --gtod_reduce=1 --name=test --filename=test --bs=4k --iodepth=16 --size=1G --readwrite=randrw --rwmixread=95 rm test
Here is what the results look like :
.. snip .. read : io=995460KB, bw=82256KB/s, iops=20563, runt= 12102msec write: io=53116KB, bw=4389.3KB/s, iops=1097, runt= 12102msec .. snip ..
I’d be interested in what others are getting – my server is showing 20k/1k.
I tested a server that was suffering very slow disk access, and high load, low CPU. It’s iops were about 280/31. At that level you just have to change hosting.