*BSD News Article 69281


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.mel.connect.com.au!news.mira.net.au!inquo!bofh.dot!vyzynz!bofh.dot!news.dacom.co.kr!arclight.uoregon.edu!usenet.eel.ufl.edu!bofh.dot!warwick!lyra.csx.cam.ac.uk!news
From: Damian Reeves <damian@zeus.co.uk>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Linux vs. FreeBSD ... (FreeBSD extremely mem/swap hungry)
Date: Fri, 24 May 1996 13:17:58 +0100
Organization: Zeus Technology Ltd.
Lines: 34
Message-ID: <31A5A8F6.15FB7483@zeus.co.uk>
References: <3188C1E2.45AE@onramp.net> <4n0dhd$cff@agate.berkeley.edu> <3194622D.41C67EA6@Ami-chan.res.cmu.edu> <31A52667.794BDF32@zeus.co.uk> <4o3ftc$4rc@zot.io.org>
NNTP-Posting-Host: jobbie.chu.cam.ac.uk
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 2.02 (X11; I; FreeBSD 2.1.0-RELEASE i386)

Brian Tao wrote:
> 
> In article <31A52667.794BDF32@zeus.co.uk>, Damian Reeves  <damian@zeus.co.uk> wrote:
> >
> >On replacing with BSD, and copying over the .xsession files etc., by 
> >the time the Xserver and xterms have started, 50MB of swap is in 
> >use!!!
> 
>     One has to ask about your server setup, the version of XFree86,
> use of memory filesystems, kernel configuration, etc.  Running X with
> a few xterms and xbiff (as you describe) will run on an 8MB machine
> and about an equal amount of swap.
> 

Just a vanilla 2.1 distribution with Xfree 3.1.2.  I recompiled the
kernel to remove extraneous drivers and devices that I didn't need, and
added the SysV shared memory and semaphore extensions.

Another thing to note, is that there is no way I can make the SIZE
figures of all the processess added together to equal the amount of swap
inuse, even if I add on another few MB for shared libraries.  Does
anyone have a decent form of ps/top that will actually provide useful
information on shared libraries - how many and which applications are
using them, and for each application the TS, DS, SharedLib size.

Under the /procfs stuff on Linux it is possible to ascertain this
infomration, and actually work out the exact amount of memory a process
actually uses when shared libraries and shared pages are being used.

Damian

-- 
Damian Reeves, <damian@zeus.co.uk>                 Zeus Technology Ltd.
Download the world's fastest webserver today!      http://www.zeus.co.uk