What is the simplest way to check read/write performance to a specific location (e.g. a mounted iSCSI device).
I suspect I can't use hdparm because that's lower level. Am I right?
What is the simplest way to check read/write performance to a specific location (e.g. a mounted iSCSI device).
I suspect I can't use hdparm because that's lower level. Am I right?
bonnie++ is an aging but good one, as well as iozone.
Found this link: Quick SAN Performance Test, NFS, iSCSI, IOZONE – Part I
Note from the article:
Or, to force the caching off
I use sysbench:
sysbench --test=fileio prepare
sysbench --test=fileio --file-test-mode=rndrw run
sysbench --test=fileio --file-test-mode=seqrewr run
There are a lot of configuration options but that will give you a good idea.
Cheers
there are many tools available for the performance test. Like if you want to test sequencial read,random read/write etc. iozone is too much elaborate in its output. couple of others are also discussed here. file system performance test
iozone, bonnie and bonnie++ are common benchmark tools.
Check out bonnie++.
'dd' is really a good way to do it. To get an accurate test though you probably want to make sure that device is not mounted, and you actually 'dd' straight to the block device itself, or one of its partitions. If it is a multipath'd device, you should use the dm-device instead, i.e.: /dev/dm-* or /dev/mapper/*, or if you have a custom configuration, whatever the pathing is to your MP devices.