Hey guys! Hopefully one of you will be able to lead me in the right direction. I have come across a question in one of my CS courses that is a little puzzling to me:
Suppose that a driver is configured with 8 disk block buffers. What is the best possible read performance improvement of a program that uses this driver (compared to one that uses no buffering)? What are the conditions under which the performance is the best?
I can't seem to find any good sites on buffering to use as a reference. I don't think it would be just 8 times better. Would it go something like i, i+1, i+2, i+3, i+4, i+5, i+6, i+7? Any suggestions are greatly appreciated!
Suppose that a driver is configured with 8 disk block buffers. What is the best possible read performance improvement of a program that uses this driver (compared to one that uses no buffering)? What are the conditions under which the performance is the best?
I can't seem to find any good sites on buffering to use as a reference. I don't think it would be just 8 times better. Would it go something like i, i+1, i+2, i+3, i+4, i+5, i+6, i+7? Any suggestions are greatly appreciated!
