Disk IO issues

Ricky Zhou ricky at fedoraproject.org
Wed Dec 31 22:26:27 UTC 2008

On 2008-12-31 10:49:56 PM, Xavier Lamien wrote:
> Could you perform an hdparm -tT on that disk ?
 Timing cached reads:   2668 MB in  2.00 seconds = 1336.06 MB/sec
 Timing buffered disk reads:  1024 MB in  3.01 seconds = 340.69 MB/sec

> Also, output an strace against your cat & dd commands.
> if my memory is good enough, cat use mmap() which is faster than
> read() (which is used by dd)
I just straced dd and cat, and it looks like cat is using a block size
of 4096 bytes while dd is using 512 bytes.  I *think* they were both
just using read().  Perhaps dd if=/dev/sde of=/dev/null bs=4096 would be
a better command to compare against.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/infrastructure/attachments/20081231/a623231d/attachment.bin 

More information about the infrastructure mailing list