From owner-freebsd-hackers Wed Jun 7 01:30:40 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id BAA08427 for hackers-outgoing; Wed, 7 Jun 1995 01:30:40 -0700 Received: from temptation.interlog.com (temp@temptation.interlog.com [198.53.146.54]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id BAA08419 ; Wed, 7 Jun 1995 01:30:31 -0700 Received: (from temp@localhost) by temptation.interlog.com (8.6.9/8.6.9) id EAA00781; Wed, 7 Jun 1995 04:29:51 -0400 Date: Wed, 7 Jun 1995 04:29:50 -0400 From: Temptation Subject: Re: Top To: "Justin T. Gibbs" cc: owner-freebsd-hackers@freefall.cdrom.com, freebsd-hackers@freebsd.org In-Reply-To: <199506070822.BAA08137@freefall.cdrom.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: hackers-owner@freebsd.org Precedence: bulk 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 >