From owner-freebsd-stable Thu May 3 19:25: 6 2001 Delivered-To: freebsd-stable@freebsd.org Received: from zoon.lafn.org (zoon.lafn.org [206.117.18.9]) by hub.freebsd.org (Postfix) with ESMTP id 7DDD937B422; Thu, 3 May 2001 19:25:02 -0700 (PDT) (envelope-from bc979@lafn.org) Received: from [10.0.1.100] (cs-lake1-p30.lafn.org [192.168.11.30] (may be forged)) by zoon.lafn.org (8.10.1/8.10.1) with ESMTP id f442OwK87869; Thu, 3 May 2001 19:24:59 -0700 (PDT) Mime-Version: 1.0 X-Sender: bc979@mail.lafn.org Message-Id: In-Reply-To: <200105040206.f4426RJ05318@mass.dis.org> References: <200105040206.f4426RJ05318@mass.dis.org> Date: Thu, 3 May 2001 19:24:38 -0700 To: Mike Smith From: Doug Hardie Subject: Re: Mem Use Cc: Marius , Ramon A Hermon , freebsd-stable@FreeBSD.ORG Content-Type: text/plain; charset="us-ascii" ; format="flowed" Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 19:06 -0700 5/3/01, Mike Smith wrote: > > >>Mem: 109M Active, 138M Inact, 38M Wired, 2752K Cache, 48M Buf, 87M Free >> >>Swap: 100M Total, 1224K Used, 99M Free, 1% Inuse >> >> My systems look very much like this also. Do note that there is 87 >> MB free and 1 MB that some time in the past got swapped out. > >That's 87MB of totally unused memory, ie. wasted money. 8) Exactly. And it also slows down other disk I/O. Why doesn't it swap it back in and leave it? It keeps bringing it back in every couple seconds. I don't see any swap out activity, only lots of swapin. > >> Whatever was swapped out never comes back to say regardless of the >> available free space. > >This is not correct; swap space is recovered when regions are unmapped >and when a process exits. > >> One of my systems started swapping for a short >> time about 6 months ago. I show constant swapin of that process all >> the time through today even though there is over 50 MB of free space. >> It would appear that some tuning of the swapin algorithm would be >> helpful. > >Unlikely; it's more that because the region swapped out is backed by swap >pages, it's considered cheaper to throw away than other regions might be. > >-- >... every activity meets with opposition, everyone who acts has his >rivals and unfortunately opponents also. But not because people want >to be opponents, rather because the tasks and relationships force >people to take different points of view. [Dr. Fritz Todt] > V I C T O R Y N O T V E N G E A N C E > > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-stable" in the body of the message -- -- Doug To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message