On Wed, 21 May 2003, Toad wrote: > On Wed, May 21, 2003 at 01:39:41PM -0400, Dan Merillat wrote: > > On Mon, 19 May 2003, Toad wrote: > > > > > > > > Because we do not have access to the lastaccess time in java. And also > > > because we need to keep the in-memory LRU consistent and up to date. > > > > Then I humbly suggest only adjusting it on file open and close rather then > > every > > read. This also saves us a ton of LRU shuffling. > > LRU shuffling is, or should be, really easy/fast.
Hitting the filesystem is, in all cases, really slow. It's work we don't need to be doing on an already overloaded system. The fact that we're doing it WAY too often because of char-by-char reads only makes it worse. --Dan -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 155 bytes Desc: not available URL: <https://emu.freenetproject.org/pipermail/devl/attachments/20030521/56c09e0c/attachment.pgp>
