Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Jun 1995 04:29:50 -0400
From:      Temptation <temp@temptation.interlog.com>
To:        "Justin T. Gibbs" <gibbs@freefall.cdrom.com>
Cc:        owner-freebsd-hackers@freefall.cdrom.com, freebsd-hackers@freebsd.org
Subject:   Re: Top 
Message-ID:  <Pine.3.89.9506070402.A766-0100000@temptation.interlog.com>
In-Reply-To: <199506070822.BAA08137@freefall.cdrom.com>

next in thread | previous in thread | raw e-mail | index | archive | help


On Wed, 7 Jun 1995, Justin T. Gibbs wrote:

> >
> >
> >On Wed, 7 Jun 1995 owner-freebsd-hackers@freefall.cdrom.com wrote:
> > 
> >> > I seen some people talking (err typing) about Top here, and problems with 
> >> > it not reporting correctly, are there commands to see memfree that work? 
> >> > and also swapfile %.  I have 256megs, and 25 meg swap, and I'm getting
> >> > /Kernel: swap_pager: out of space
> >> > ( yes the Kernel is set up for the memory, and /var/log/messages picks up 
> >> > the memory correctly with no errors) 
> >> > Top says I'm using 100% swap, and only 24megs.
> >> > If it is using the swap space, is there a way to force to use the ram 
> >> > before the swap?
> >> 
> >> If I read this correctly, you are saying you have 256 Megs of physical memor
> >y 
> >> and 25 Megs of swap? Unless I am mistaken, this is your problem. FreeBSD doe
> >s
> >> demand paging...
> >
> >well if thats true, it's stupid! Windows/NT/Warp  do that also. 
>  
> ...
> 
> I'm sure david will say more about how this is really handled in FreeBSD,
> but having a large amount of memory does not necessarily mean that you need
> an equal amount of swap.  For example, wcarchive with its 128Megs of ram and
> heavily loaded with ftp traffic and mirrors, is currently swapping 23Megs.
> The problem arises when you have no swap space configured.  As I believe
> david explained earlier, the page daemon will occasionally dump a page or
> two to swap while it is working even if there is free memory availible.  Are
> you sure that your swap partition is being recognized by the system?  What
> does swapinfo say?

right now it says
/dev/sd0s2b 51200 3072 48000 6% Interleaved
but before it was 99% when it was telling me I had no swap space, and was 
using about 22-24 megs
 > 
> --
> Justin
> 



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