CentOS 6.x | OpenVZ
I have an openvz VPS host and would like to measure disk read/write speed. Historically, on other physical systems, I've ran hdparm
to collect this information. I haven't been able to get hdparm to work on my openvz host (presumably because of the simfs file system -- maybe something else though).
I've tried the quick-and-dirty method of dd if=/dev/zero of=test bs=64k count=16k conv=fdatasync
and while that works, I'm not quite confident that its accurate. Is there a better way to collect this information?
hdparm
isn't a particularly good test outside a VM, either. A proper benchmarking tool likeBonnie++
does the job right inside a VM or outside.