tech-kern archive

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

Re: Prefer pageing to swapping



On Sat, Jul 05, 2008 at 11:10:33AM +0200, Alan Barrett wrote:
> On Fri, 04 Jul 2008, Andrew Doran wrote:
> > I notice that ftp.netbsd.org is swapping even when not paging. This patch
> > changes the pagedaemon to prefer paging to swapping, and ups the minimum
> > free limit.
> > 
> >     http://www.netbsd.org/~ad/pdaemon.diff
> 
> It has comments saying "try to keep 0.5% of available RAM free", but I
> think it will actually try to keep 0.5% * NCPU.

Which isn't going to be a good idea with >200 CPU :-)

        David

-- 
David Laight: david%l8s.co.uk@localhost


Home | Main Index | Thread Index | Old Index