Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 02 Nov 1998 10:25:52 -0800
From:      John Polstra <jdp@polstra.com>
To:        akm@zeus.theinternet.com.au
Cc:        current@FreeBSD.ORG
Subject:   Re: Memory Usage under -current
Message-ID:  <199811021825.KAA07897@austin.polstra.com>
In-Reply-To: <199811021418.AAA25420@zeus.theinternet.com.au>
References:  <199811021418.AAA25420@zeus.theinternet.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
In article <199811021418.AAA25420@zeus.theinternet.com.au>,
Andrew Kenneth Milton  <akm@zeus.theinternet.com.au> wrote:
> I'm just comparing the sizes of processes under an ELF -current
> and a 2.2.5 system, and my recollections of what my machine used to look
> like.
> 
> It seems that a lot more memory is being consumed by the ELF system..
> 
> I expected there to be more used by the ELF system, but, not quite
> that much...
> 
> e.g.
> 
> 2.2.5 - Release.
> 
>   PID USERNAME PRI NICE SIZE    RES STATE    TIME   WCPU    CPU COMMAND
>   294 root      3   0   180K    88K ttyin    0:00  0.00%  0.00% getty
>   295 root      3   0   180K    88K ttyin    0:00  0.00%  0.00% getty
>   296 root      3   0   180K    88K ttyin    0:00  0.00%  0.00% getty
> 18784 akm      18   0   572K   200K pause    0:00  0.00%  0.00% zsh
> 
> 
> 3.0 - Current.
> 
>   PID USERNAME PRI NICE  SIZE    RES STATE    TIME   WCPU    CPU COMMAND
>   224 root       3   0  1004K   340K ttyin    0:00  0.00%  0.00% getty
>   223 root       3   0  1004K   340K ttyin    0:00  0.00%  0.00% getty
>   243 akm        2   0 14084K 10772K select   5:45  7.29%  7.29% XF86_S3V
>   259 akm       18   0  1228K   592K pause    0:00  0.00%  0.00% zsh
> 
> Even with more used, I would expect the resident portion to be pretty
> close to the 2.2.5 a.out.

I submit that some of these numbers are bogus -- probably the ones
from 2.2.5.  To do a valid comparison, you have to compare a.out and
ELF on the same system.  I built an a.out getty and installed it as
"agetty".  (The ELF version is "getty".)  Here's what "top" showed:

  PID USERNAME PRI NICE  SIZE    RES STATE    TIME   WCPU    CPU COMMAND
 1482 root       3   0   804K   556K ttyin    0:00  0.00%  0.00% agetty
  230 root       3   0   824K   440K ttyin    0:00  0.00%  0.00% getty
  232 root       3   0   824K   440K ttyin    0:00  0.00%  0.00% getty

John
--
  John Polstra                                               jdp@polstra.com
  John D. Polstra & Co., Inc.                        Seattle, Washington USA
  "Nobody ever went broke underestimating the taste of the American public."
                                                            -- H. L. Mencken

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



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