I was reading about disk IO this morning. In chapter 3.1.3, it is said that the disk need to be formatted with the number interlaving, so that we’ll need less disk circlings to get the data we need.
My question is, all these is based on one assumption: that the buffer on the disk controller can only hold the data of one disk block. However, if most of the time we’ll need the block one by one, why won’t we increase the buffer size of the controller? This way we may need only one circle of the disk to read all the data in one track.
I guess this must be a simplification of the book. The hardware designeers must think more about this than me
And thinking the disks with 8M or 16M cache on the disk (even not on the controller!). The real world must be more complicated than the book
Tags: minix, file system, os
Post a Comment
You could use <code type="name"> to get your code colorized