Linked by Thom Holwerda on Mon 25th Feb 2008 20:11 UTC, submitted by Nemilar
Permalink for comment 302345
To read all comments associated with this story, please click here.
To read all comments associated with this story, please click here.





Member since:
2008-02-24
Prefetch doesn't "waste disk cache". Disk cache starts empty and provides no boost until it gets content and begins to eliminate the need to physically read disk blocks. As you read-in blocks, it attempts to get rid of useless disk cache blocks based on a algorithm like "get rid of least recently used." The only way prefetch could hurt would be if the algorithm mistakenly thought there was a higher likelyhood the prefetched blocks would be used than some other recently read blocks. That is unlikely.