From owner-freebsd-hackers Sat May 4 02:14:58 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id CAA15564 for hackers-outgoing; Sat, 4 May 1996 02:14:58 -0700 (PDT) Received: from linux4nn.gn.iaf.nl (root@linux4nn.gn.iaf.nl [193.67.144.34]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id CAA15550 for ; Sat, 4 May 1996 02:14:53 -0700 (PDT) Received: from uni4nn.iaf.nl (root@uni4nn.iaf.nl [193.67.144.33]) by linux4nn.gn.iaf.nl (8.6.9/8.6.9) with SMTP id LAA17413; Sat, 4 May 1996 11:16:14 +0200 Received: by uni4nn.iaf.nl with UUCP id AA05959 (5.67b/IDA-1.5); Sat, 4 May 1996 11:15:22 +0200 Received: by iafnl.es.iaf.nl with UUCP id AA14675 (5.67b/IDA-1.5); Sat, 4 May 1996 10:42:31 +0200 Received: (from wilko@localhost) by yedi.iaf.nl (8.6.12/8.6.6) id XAA03044; Fri, 3 May 1996 23:08:39 +0200 From: Wilko Bulte Message-Id: <199605032108.XAA03044@yedi.iaf.nl> X-Organisation: Private FreeBSD site - Arnhem - The Netherlands Subject: Re: used to think I understood ps .. To: terry@lambert.org (Terry Lambert) Date: Fri, 3 May 1996 23:08:39 +0200 (MET DST) Cc: FreeBSD-hackers@FreeBSD.org In-Reply-To: <199605031838.LAA14600@phaeton.artisoft.com> from "Terry Lambert" at May 3, 96 11:38:32 am X-Mailer: ELM [version 2.4 PL23] Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: owner-hackers@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk > > 1000 3055 298 12 -18 0 140 7588 vnread D+ p2 0:20.99 cmp -l two > > > > Here RSS >> VSZ apparantly. I was under the impression VSZ <= RSS ?? > > > > FWIW the cmp compares two 120Mb files (raw satellite images) > > I would think this would be legal for a program with a shared > libc that hasn't used most of libc yet, but the libc is in core > because other programs have? > > Terry Lambert I'm not sure I understand your point. Considering: # size libc.so.2.1 text data bss dec hex 339968 16384 48004 404356 62b84 I'd assume a worst case program would need all of libc. The approx 7.5Mb RSS seems quite steep (to say the least). What makes ps decide to include shared lib code in the RSS calculation? (maybe RTFS ?) Would not it be fair to consider libc.so are shared burden that is system wide desperately needed? Maybe it's just me.. But please try to enlighten me. Wilko _ __________________________________________________________________________ | / o / / _ Wilko Bulte email: wilko@yedi.iaf.nl |/|/ / / /( (_) Private FreeBSD site - Arnhem - The Netherlands --------------------------------------------------------------------------------