Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: dsr@lns598.lns.cornell.edu (Daniel S. Riley)
Subject: Re: Kernel stripping question
Date: 1995/05/03	[thread overview]
Message-ID: <DSR.95May3083618@lns100.lns.cornell.edu> (raw)
In-Reply-To: 3o6b5t$bmg@agate.berkeley.edu


In article <3o6b5t$bmg@agate.berkeley.edu>,
peterm@tonks.EECS.Berkeley.EDU (Peter Mardahl) writes:
peterm> Is my theory that a smaller /vmunix on disk will cause
peterm> the RAM used to be smaller correct?

No.  Debug symbol tables do not get loaded into memory; all stripping
gains you is disk space, not RAM.  If you want to see the non-dynamic
component of an executable's memory usage, use the size command; 'ls'
is not a useful indicator of memory usage.

peterm> I noticed that the Makefile for the kernel has the flags -g3
peterm> and some defines having to do with profiling, can I obtain a
peterm> kernel which doesn't have this stuff in it, but which is fully
peterm> functional?

Changing the '-g3' flag will only change the size of the small number
of objects that are recompiled at kernel build time--it will not
affect the bulk of the kernel which is shipped as pre-compiled objects.
The only really effective way to slim down the kernel is to remove
"options" you do not need (but be warned that most of the "options"
in the DEC OSF/1 kernel config file are mandatory...).

-- 
Dan Riley                          Internet:  dsr@lns598.lns.cornell.edu
Wilson Lab, Cornell University     HEPNET/SPAN: lns598::dsr (44630::dsr)
	      "Distance means nothing/To me." -Kate Bush



      parent reply	other threads:[~1995-05-03  4:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-05-02  4:00 Kernel stripping question Peter Mardahl
1995-05-03  4:00 ` A Kinder, Gentler Kernel Michael C. Grant
1995-05-03  4:00 ` Kernel stripping question Joerg Lehners
1995-05-03  4:00   ` Peter Mardahl
1995-05-03  4:00 ` Daniel S. Riley [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox