[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: More info: 2.1.108 page cache performance on low memory



Hi,

On Sun, 2 Aug 1998 00:19:52 -0500 (CDT), Eric W Biederman
<eric@flinx.npwt.net> said:

> What I was envisioning is using a single write-out daemon 
> instead of 2 (one for buffer cache, one for page cache).  Using the same
> tests in shrink_mmap.  Reducing the size of a buffer_head by a lot because
> consolidating the two would reduce the number of lists needed.  
> To sit the buffer cache upon a single pseudo inode, and keep it's current
> hashing scheme.

The only reason we currently have two daemons is that we need one for
writing dirty memory and another for reclaiming clean memory.  That way,
even when we stall for disk writes, we are still able to reclaim free
memory via shrink_mmap().  The kswapd daemon and the shrink_mmap() code
already treat the page cache and buffer cache both the same.

--Stephen
--
This is a majordomo managed list.  To unsubscribe, send a message with
the body 'unsubscribe linux-mm me@address' to: majordomo@kvack.org