From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,6ab64e3bca2c8d21 X-Google-Attributes: gidfee84,public From: duane@hunch.zk3.dec.com (Andrew Duane USG/PE) Subject: Re: vmunix size on DU 4.0x Date: 1997/11/05 Message-ID: <63qcsg$otl@zk2nws.zko.dec.com>#1/1 X-Deja-AN: 288084311 References: <3458EEB5.ABD@dik.tu-darmstadt.de> Organization: Digital Equipment Corporation Newsgroups: comp.unix.osf.osf1 In article Thierry Baillon writes: >Daniel S. Riley writes: > >> >> Then I tried to strip it and I got a new one of 3Mb!, It worked >> >> fine but netstat didn't worked any more with a "No symbols found" >> >> message or the like. But performances were higher, it was very >> >> pleasant. >> >> Have you got any measurements showing that performance was improved >> by stripping the kernel? >> >> > How safe is it to strip the kernel /vmunix ??? >> >> Anything that has to go grovelling through the kernel namelists (like >> netstat, vmstat, ps, etc.) will stop working, since they rely on the >> symbol table to find some of the things they look at. > >nop. ps & vmstat worked fine. : > >It's great to see "available memory = 56.74 megabytes." > >So there's only netstat in the list you gave me that doesn't work. >If you have any ideas for further tests, let me know. PS and VMSTAT do not use the kernel name list. Some things that likely won't work: crash dumps. dbx -k. kloadsrv (loadable drivers). netstat. nfsstat. route. arp. rarpd. pfstat. strsetup. trpt. Let me repeat my original statement: Stripping the kernel has absolutely no effect on available memory, or system performance. The only thing it will do is stop some utilities and daemons from running (which may help performance since they are not there....) -- Andrew L. Duane (JOT-7) duane@zk3.dec.com Digital Equipment Corporation (603)-884-1294 110 Spit Brook Road M/S ZKO3-3/U14 Nashua, NH 03062-2698