CentOS<\/h3>\n\n\n\nsudo yum install wget glibc.i686 libstdc++ libstdc++.i686<\/pre>\n\n\n\nWith the prerequisites fulfilled, go ahead and download the benchmark package. On a good network, the download is almost instantaneous, but should not take long in any case.<\/p>\n\n\n\n
wget http:\/\/cdn.primatelabs.com\/Geekbench-3.4.1-Linux.tar.gz ~\/<\/pre>\n\n\n\nAfterwards, unpack the files and switch to the newly created folder. The following command will do just that.<\/p>\n\n\n\n
tar -zxvf ~\/Geekbench-3.4.1-Linux.tar.gz && cd ~\/dist\/Geekbench-3.4.1-Linux\/<\/pre>\n\n\n\nFinally, you can run the benchmark with the command below.<\/p>\n\n\n\n
.\/geekbench<\/pre>\n\n\n\nThe Geekbench 3 performs a series of tests to measure the CPU performance with integer and floating point tasks as well as collects memory bandwidth data to rate the system memory. Once complete, you will see an output\u00a0similar to the example underneath.<\/p>\n\n\n\n
Open the first link in your web browser to view the results. Alternatively, if you register on the Geekbench website, you can use the second link to claim the results to your profile. Claiming the results allows you to save and compare the scores later.<\/p>\n\n\n\n
Upload succeeded. Visit the following link and view your results online:\n\n http:\/\/browser.primatelabs.com\/geekbench3\/6088030\n\nVisit the following link and add this result to your profile:\n\n http:\/\/browser.primatelabs.com\/geekbench3\/claim\/6088030?key=<\/pre>\n\n\n\nThe total score is scaled directly one-to-one to the CPU performance; double the score means double the performance. The scoring system is calibrated against a baseline score of 2500, which is the result for an Intel Core i5-2520M @ 2.50 GHz.<\/p>\n\n\n\n
fio<\/h2>\n\n\n\n
A big part of the overall performance of a cloud server comes from the storage device’s read and write speeds. A\u00a0good option to use for this purpose is fio<\/em>, which is an I\/O benchmarking and stress testing tool available on a multitude of platforms.\u00a0Install fio using the commands applicable to your system below.<\/p>\n\n\n\nDebian and Ubuntu<\/h3>\n\n\n\nsudo apt-get install fio<\/pre>\n\n\n\nCentOS<\/h3>\n\n\n\nsudo yum install wget libaio libibverbs librdmacm librbd1-devel\nwget https:\/\/kojipkgs.fedoraproject.org\/packages\/fio\/2.2.8\/2.el7\/x86_64\/fio-2.2.8-2.el7.x86_64.rpm ~\/\nsudo rpm -iv ~\/fio-2.2.8-2.el7.x86_64.rpm<\/pre>\n\n\n\nIOPS is a measuring unit of input\/output operations per second and is a commonly\u00a0used performance metric for storage devices. The usual way to test IOPS is to perform random read and write operations, with fio this can be done using the three examples below.<\/p>\n\n\n\n
Random read\/write performance<\/h5>\n\n\n\nfio --name=randrw --ioengine=libaio --direct=1 --bs=4k --iodepth=64 --size=4G --rw=randrw --rwmixread=75 --gtod_reduce=1<\/pre>\n\n\n\nRandom read performance<\/h5>\n\n\n\nfio --name=randread --ioengine=libaio --direct=1 --bs=4k --iodepth=64 --size=4G --rw=randread --gtod_reduce=1<\/pre>\n\n\n\nRandom write performance<\/h5>\n\n\n\nfio --name=randwrite --ioengine=libaio --direct=1 --bs=4k --iodepth=64 --size=4G --rw=randwrite --gtod_reduce=1<\/pre>\n\n\n\nAs with the Geekbench scores, the higher the IOPS, the faster the storage. For comparison, a standard\u00a07,200 rpm SATA drive HDD would have a score of 75-100 IOPS.<\/p>\n\n\n\n
IOPing<\/h2>\n\n\n\n
Another way to benchmark storage performance is to measure the latency\u00a0on individual requests. IOPing is a simple tool that does just that. It runs I\/O requests to the storage device to\u00a0benchmark the time to reply. The results display\u00a0disk latency in the same way the ping <\/em>test measures network latency.<\/p>\n\n\n\n