NetBSD-Users archive

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

Re: Using swap though there's plenty of mem free



On Sun, May 04, 2008 at 01:41:02PM +0200, Jonathan Schleifer wrote:
> Even after tweakig vm.filemax now:
> 
> Memory: 171M Act, 90M Inact, 2120K Wired, 22M Exec, 23M File, 63M Free
> Swap: 257M Total, 63M Used, 194M Free
> 
> 63 MB RAM unused. Not even for file cache. And still 63 MB swapped out?
> Why the hell that? I can understand that file cache is kept and instead
> pages swapped out, but in this case? There's really no reason for that
> kind of behaviour!

At one time, the system ran out of RAM and had to push some pages to
the swap partition. Then some RAM got freed, but the pages that
have been pushed to ram have not been used since then.

It's not unusual to see a significant number of pages that are not touched
at all once the system has booted.

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index