* Andrei Popov <[EMAIL PROTECTED]> [011226 12:21] wrote:
> On Wed, Dec 26, 2001 at 09:19:05AM -0600, Dan Nelson wrote:
> > In the last episode (Dec 26), Andrei Popov said:
> > > 
> > > Is this normal:
> > > 
> > > andrei@vogon:~
> > > 2:05:49pm% swapinfo
> > > Device          1K-blocks     Used    Avail Capacity  Type
> > > /dev/ad4s1b        525344        0   525344     0%    Interleaved
> > > 
> > > This machine is running with 256MB RAM and a 512MB swap device.  Swap usage
> > > is zero even when running X and postgress and aolserver with a running
> > > instance of OpenACS-4.
> > 
> > Try this: 
> > 
> > dd if=/dev/zero of=/dev/null bs=192m count=1
> > 
> > That should force some swapping :)
> 
> It sure does :)
> 
> But the question still remains -- is it not odd that there's no swapping
> when running X, nor is there one when running fairly expenmsive Postgres
> selects et al?

No, the system tries pretty hard not to swap.  In fact swapping is
really a bad thing to have happen on a loaded machine as it can
result in a cascade failure.  If you look in the archives for
Matt Dillon's postings on "cascade failure" it will explain things
a lot better.

-- 
-Alfred Perlstein [[EMAIL PROTECTED]]
'Instead of asking why a piece of software is using "1970s technology,"
 start asking why software is ignoring 30 years of accumulated wisdom.'
Tax deductable donations for FreeBSD: http://www.freebsdfoundation.org/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to