How to test VPS Speed and Performance? Install and Run UnixBench & sysbench
There is more than one way to check the performance available on a VPS Server.If you are looking for great performance and ease of use, then you should look into Following :
- Linode VPS Review-How to Create a Linode Server
- host1plus VPS Review-Affordable & Quick VPS Hosting RAM 256 MB Only $2.00/mo
- BandwagonHost VPS Review -Cheap SSD VPS 256 MB RAM Only $2.99/m
How To Benchmark VPS System (CPU, File IO) With sysbench
Installing sysbench
For CentOS:
For Debian/Ubuntu:
How to Test VPS CPU Performance
The faster your CPU performs, the faster your server can process tasks. Just use the command(Note that this CPU measure is by no means comprehensive. but it does give an overall look at how CPU-bound workloads will be handled by the different VPSes.)
File IO Benchmark
IOPS (input/output operations per second) are a metric that are commonly used to measure disk I/O performance.To measure file IO performance, we first need to create a test file that is much bigger than your RAM – 150GB is a good value:
Afterwards, we can run the benchmark:
How to Test VPS Disk I/O Performance
Disk performance is important.High disk IO is important to ensure your server works efficiently and your web applications do not slow down.This script is the one I see a lot in many forums and blogs.Just do the following
HDPARM
hdparm can be used to get/set the disk information, if you don’t have it, you can install by using:
You need to specify which hard disk partition, the first HDD is usually /dev/sda1, the second is /dev/sda2 or /dev/sdb1 etc.
There is a big difference regarding to the disk performance between HDD and SD Card. Remember to remove the file by rm -f test after you finish the test.
Test VPS upload/download speed
We can use Matt Martz python script speedtest-cli to Test VPS upload/download speed.just do the following :
Or
heres an example ran from a Linode VPS
Install and Run UnixBench
UnixBench is a popular server benchmarking tool,its results depend not only on your hardware, but on your operating system, libraries, and even compiler.This tutorial will cover how to install and run UnixBench on a VPS.
To install and run UnixBench, follow the instructions related to the Linux distribution you are using :
For CentOS:
For Debian/Ubuntu:
Nenhum comentário:
Postar um comentário