[dm-devel] Size affects performance?

Jun'ichi Nomura j-nomura at ce.jp.nec.com
Wed Aug 1 22:32:06 UTC 2007


Andrew Miklas wrote:
> I've noticed that the size of a device seems to affect its performance.
> Is this expected behaviour?

The difference might be caused by internal block size,
which kernel optimizes depending on the device size alignment.
The smaller the block size, the larger the number of I/Os sent
to the device (when you read/write /dev/something).

So you might want to check the block size ("blockdev --getbsz")
and see if it's related to your case.

Thanks,
-- 
Jun'ichi Nomura, NEC Corporation of America




More information about the dm-devel mailing list