From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,70b177c8d641d622 X-Google-Attributes: gid1164f8,public X-Google-Thread: fee84,70b177c8d641d622 X-Google-Attributes: gidfee84,public From: dsr@lns598.lns.cornell.edu (Daniel S. Riley) Subject: Re: Kernel stripping question Date: 1995/05/03 Message-ID: #1/1 X-Deja-AN: 101996772 references: <3o6b5t$bmg@agate.berkeley.edu> organization: Wilson Lab, Cornell U., Ithaca, NY 14853 newsgroups: comp.sys.dec,comp.unix.osf.osf1 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