From owner-freebsd-current Mon Nov 2 10:26:11 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA15712 for freebsd-current-outgoing; Mon, 2 Nov 1998 10:26:11 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from austin.polstra.com (austin.polstra.com [206.213.73.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA15702 for ; Mon, 2 Nov 1998 10:26:05 -0800 (PST) (envelope-from jdp@austin.polstra.com) Received: from austin.polstra.com (jdp@localhost) by austin.polstra.com (8.9.1/8.9.1) with ESMTP id KAA07897; Mon, 2 Nov 1998 10:25:52 -0800 (PST) (envelope-from jdp) Message-Id: <199811021825.KAA07897@austin.polstra.com> To: akm@zeus.theinternet.com.au Subject: Re: Memory Usage under -current In-Reply-To: <199811021418.AAA25420@zeus.theinternet.com.au> References: <199811021418.AAA25420@zeus.theinternet.com.au> Organization: Polstra & Co., Seattle, WA Cc: current@FreeBSD.ORG Date: Mon, 02 Nov 1998 10:25:52 -0800 From: John Polstra Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In article <199811021418.AAA25420@zeus.theinternet.com.au>, Andrew Kenneth Milton 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