LWN.net Logo

Pathological cases

Pathological cases

Posted Feb 5, 2010 14:10 UTC (Fri) by corbet (editor, #1)
In reply to: Pathological cases by alex
Parent article: Improving readahead

Yes, the readahead code tracks hits and stops trying when the program skips around a lot - that happens now. One other little heuristic in this patch set that I didn't work into the article is a tweak which suppresses readahead when the application seeks to the beginning of the file. That should nicely take care of the "update the header" case described here.


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds