This article describes how to evaluate the read speeds of the Storage Repository (SR) of block device, including LVM, LVM over HBA, iSCSI, NetApp and Dell EqualLogic.
To evaluate the read speed, complete the following procedure:
Find out the device path/name of the corresponding SR from XenCenter or the output of the following command:
fdisk -l
On the XenServer console, run the following command:
hdparm -t <device path, e.g. /dev/sda>
OUTPUT:
[root@labserver ~]# hdparm -t /dev/sda
/dev/sda:
Timing buffered disk reads: 422 MB in 3.01 seconds = 140.43 MB/sec
Test multiple times (preferred) and use the average as a more accurate result.
As a general guideline, regular or acceptable performance for different SR types are as follow:
Note: These are the general guidelines, the real throughput on different scenario might be slightly different. However, any read rate significantly slower than guideline levels would be too slow and problematic.