|
From: Phillip S. <ps...@cf...> - 2001-10-15 14:03:15
|
At 08:17 AM 10/15/2001 +0100, you wrote: > > Currently, trying to copy a file on a machine with 8 megs of ram causes > the > > cache to use all available memory, run out, and then the system locks > > up. This is due to several reasons, the first being that the cache > > does not currently have any mechanism to prevent it from growing > > without bound. > > >Yes, but this shouldn't be very difficult to add. It is more difficult to create and maintain all of these special code paths and algorithms for the cache than it would be to simply let the existing memory management code do all the work for you like in NT. > > The cache needs to map views of the files to be cached into the cache > > working set, and the working set and page fault handling code will keep > > the cache working set from growing without bound, as well as reclaiming > > cache memory. > > >Why? For the cache we have exact LRU information. We do? Where? And how does memory mapped files interact with this cache? ==================================================== = To remove yourself from this mailing list, go to = = http://www.reactos.com/home/mailing.html = ==================================================== |