Storage Advisors

Fun with Disk Monitor

Tuesday 20th March 2007 - 15:18

Storage Advisors

Question to the Storage Advisors, from Neal G.: How many disk IOs does it take to write one file? I have a RAID10 array writing a 120KB file. Is this one IO for the entire file, or is it one IO per sector on the disk/write cache (which would then be approx 240 IOs)?

Neal, it really depends on the operating system and how the application is writing the file. Plus, besides the file write, there are plenty of other disk accesses such as directory, FAT or inode reads and writes.

But your question made me curious, so I did a quick experiment with SysInternals’ Disk Monitor utility which traps IO type (read vs write), transfer length, and disk number. Then I simply copied a 120KB file from one drive to another, and captured the IOs to the destination drive.

Using Windows XP Pro it was nice to see that the OS issued large writes - 64KB when possible. So the 120KB file was written using just two IOs. But I also saw about a dozen other short (16KB or less) reads and writes to other sections of the disk, which I assume are directory and FAT updates.

Do a search for SysInternals and you will find Disk Monitor. Microsoft bought them last year, but I believe their tools are still free.

Enjoy,
TT

More about: Storage , Interconnects , & , RAID
If you found this article interesting, please consider subscribing to our RSS feed, or becoming a member of biz-news to have future articles delivered to your feed reader or mailbox
Tom
Advertise with us and reach to an audience of thousands of High Tech professionals
Comments
Your Name *
Your Email *
Your email will not be disclosed anywhere
Antispam Control


Latest News