How to check if your VPS SSD is Real- (IOPS benchmark)

Hossein Mehrara's Blog

How to check if your VPS SSD is Real- (IOPS benchmark)


I always wanted to check whether the VPS  i rent and mentioned Storage (SSD) spec is real ?

so I use a package “FIP (Flexible I/O) ” on my  CentOS VPS. so install FIO first :

rpm -iv fio-2.1.10-1.el7.rf.x86_64.rpm

Now I run Random Read/Write Test , This will create a 4 GB file, and perform 4KB reads and writes using a 75%/25% (ie 3 reads are performed for every 1 write) split within the file, with 64 operations running at a time. The 3:1 ratio is a rough approximation of your typical database:

./fio --randrepeat=1 --ioengine=libaio --direct=1 --gtod_reduce=1 --name=test --filename=test --bs=4k --iodepth=64 --size=4G --readwrite=randrw --rwmixread=75

here is result:

Jobs: 1 (f=1): [m] [6.5% done] [39613K/13099K /s] [9903 /3274  iops] [eta 01m:12s]

this shows that so called SSD is performing 9873 read operations per second and 3291 write operations per second.

local SSD for a VPS might reach 40,000 and 10,000 respectively if the system is lightly loaded.

hope you enjoy and use it to make sure your VPS is real !!

Hossein Mehrara



One Response

Leave a Reply

Your email address will not be published. Required fields are marked *