Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 May 2001 19:24:38 -0700
From:      Doug Hardie <bc979@lafn.org>
To:        Mike Smith <msmith@FreeBSD.ORG>
Cc:        Marius <marius@mail.communityconnect.com>, Ramon A Hermon <rahermon@iastate.edu>, freebsd-stable@FreeBSD.ORG
Subject:   Re: Mem Use
Message-ID:  <f04330114b717c308aab4@[10.0.1.100]>
In-Reply-To: <200105040206.f4426RJ05318@mass.dis.org>
References:  <200105040206.f4426RJ05318@mass.dis.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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