[NTLUG:Discuss] Disk I/O timings.
Steve Baker
sjbaker1 at airmail.net
Fri Dec 7 00:41:53 CST 2001
> In the absence of a disk cache, the data is loaded when you first access
> the page, as you describe above. I don't know if Linux caches pages
> managed by the virtual memory swap system at all, let alone if there's
> an aggressive read-ahead mechanism, although your timing results suggest
> that it does and there is.
Excellent - that's the information I needed. Thanks!
> I would think that for a real-time system, you would want much greater
> control over the caching policy to be able to control situations like
> this. (Of course, the exact policy choice may not be as important as
> knowing which choice you've got and what its performance characteristics
> are.)
Yes - that's true. However, I hardly ever access a file more than once
so the caching isn't really giving me any benefit - or harming me very
much (except that it confuses my ability to understand what's going on!)
----------------------------- Steve Baker -------------------------------
Mail : <sjbaker1 at airmail.net> WorkMail: <sjbaker at link.com>
URLs : http://www.sjbaker.org
http://plib.sf.net http://tuxaqfh.sf.net http://tuxkart.sf.net
http://prettypoly.sf.net http://freeglut.sf.net
http://toobular.sf.net http://lodestone.sf.net
More information about the Discuss
mailing list