Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Jan 1998 14:21:19 -0500 (EST)
From:      "John S. Dyson" <toor@dyson.iquest.net>
To:        J.Klaus@sh.cvut.cz (Jaroslav Klaus)
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: FBSD222 without swap
Message-ID:  <199801251921.OAA29993@dyson.iquest.net>
In-Reply-To: <XFMail.980125201020.J.Klaus@sh.cvut.cz> from Jaroslav Klaus at "Jan 25, 98 08:10:20 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Jaroslav Klaus said:
[Charset iso-8859-2 unsupported, filtering to ASCII...]
> Hello,
> 
> I tried to kickout my swap partition. But when a alloc more memory
> (SIZE 48M, RES 37 - sum of all procs) system usages goes up quickly
> (up to 98%, 900-1200 Syscalls) when I move window. After I "swapon" 
> my 100MB swap partition system usages will goes down to normal value
> (10-15% for moving window). Can anybody explain me this?
> 
> I have FreeBSD 222, Intel P100, FIC PA2000, 64MB EDO RAM, SPEA MIRAGE P64+
> 
The system sees that you have lots of unneeded pages, and pushes them out.
3.0-current has much better support for minimizing or eliminating swap usage,
but running without swap is problematical especially on earlier versions.

The way that FreeBSD VM works is that it is assumed that backing store is
much cheaper than memory.  That isn't always true, and there is new code
that allows that policy to be biased differently. 

The behavior that you are seeing is the ideal, given the policy that I had
hoped to achieve.  Note that the lack of free memory doesn't mean that your
system is doomed to crash, but it is "playing with fire" to run without swap
at all.

-- 
John                  | Never try to teach a pig to sing,
dyson@freebsd.org     | it just makes you look stupid,
jdyson@nc.com         | and it irritates the pig.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199801251921.OAA29993>