*BSD News Article 41618


Return to BSD News archive

Newsgroups: comp.os.386bsd.development
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msunews!uwm.edu!news.alpha.net!news.mathworks.com!udel!gatech!swrinde!pipex!uunet!zib-berlin.de!math.fu-berlin.de!sirius.physik.fu-berlin.de!graichen
From: graichen@sirius.physik.fu-berlin.de (Thomas Graichen)
Subject: FreeBSD memory consumption
Message-ID: <CNOWB2ZD@math.fu-berlin.de>
Sender: news@math.fu-berlin.de (Math Department)
Nntp-Posting-Host: sirius.physik.fu-berlin.de
Organization: Free University of Berlin, Germany
Date: Thu, 26 Jan 1995 20:34:55 GMT
Lines: 50

hello

i've tried the following on the same machine under FreeBSD and Linux:

- log in via xdm and start the same environment (xconsole, fvwm +
  GoodStuff, 2 x rxvt, 2 x tcsh in both as shell and top in one of them)
 
- i looked at top - how much memory is free (Linux has much more then
  FreeBSD - by keeping the merged vm/buffer concept of Linux in mind -
  ok - i'm a bit wondering - it's -  nearly the same environment on the
  same machine) 

- now i start 3 times an rxvt and look to the free memory - thus i can
  calculate how much memory is needed for one of them - and it's for all
  of them nearly the same - as i expected - then i do the same with the tcsh

- then i exit all the shells and rxvt's and look again to the free
  memory

-> what is the result ? (i set the starting value to 0)

		Linux			FreeBSD

before		    0			      0

each rxvt	  514			    716

each tcsh	  300			    400

after		  -56			   -348

--> my question: where does the big difference come from - it's the
    same hardware, the same compiler, the same source of the apps, the
    nearly same environment, the libraries are nearly equal in size, both
    systems link shared - there does the difference of about 25% come
    from ? - thanks in advance - t

 ______________________________________________________||______________________
                                                 __||
 Perfection is reached, not when there is no  __||       thomas graichen
 longer anything to add, but when there   __||      freie universitaet berlin
 is no longer anything to take away   __||              fachbereich physik
                                  __||
 - Antoine de Saint-Exupery - __||
 ___________________________||____email: graichen@omega.physik.fu-berlin.de____
--

 ______________________________________________________||______________________
                                                 __||
 Perfection is reached, not when there is no  __||       thomas graichen