From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,b1bd6db36f32e8a3 X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1993-03-11 20:08:44 PST Newsgroups: comp.unix.osf.osf1 Path: sparky!uunet!elroy.jpl.nasa.gov!decwrl!deccrl!news.crl.dec.com!dbased.nuo.dec.com!nntpd.lkg.dec.com!lkg.dec.com!thomas From: thomas@lkg.dec.com (Matt Thomas) Subject: Re: Checking swap space on OSF1 Message-ID: <1993Mar12.032431.18456@nntpd.lkg.dec.com> Sender: thomas@netrix.lkg.dec.com (Matt Thomas) Reply-To: thomas@lkg.dec.com Organization: Digital Equipment Corporation References: <1n4i6f$c9q@mserv1.dl.ac.uk> <1niqrj$3mi@netnews.alf.dec.com> Date: Fri, 12 Mar 1993 03:24:31 GMT In article <1niqrj$3mi@netnews.alf.dec.com>, rogers@jerry.alf.dec.com (Joe Rogers) writes: |> As mentioned earlier, the field test ULTRIX and OSF/1 kernels |> have mucho debug stuff (-g3 & profiling) build in. It makes |> it easier for engineering to debug kernel problems and tune |> various kernel subroutines. The final SSB kits ships that way as well. |> When ULTRIX and OSF/1 really ship, the debug & profiling stuff |> is removed, saving a significant amount of disk space. Only for genvmunix. The BINARY .o's still have the full -g3 debug information so that crash dump analysis can be done. |> Our DEC 7000-610 kernel was a big 6150072 bytes with debugging |> and profiling. I just built a _stripped_ OSF/1 kernel without |> profiling or debugging and the result is a 2783232 byte vmunix. |> The 5000/240 sitting on my desk runs a stripped ULTRIX kernel |> that takes only 1660856 bytes. ULTRIX and OSF/1 does not like stripped kernel. (ld -x does not produce a stripped kernel -- it producs a kernel without debug or local symbols but all the global symbols are still for nlist to find). |> 'makeoptions LDOPTS="-x"' in your kernel config file will build |> a stripped /vmunix by default. The tradeoff here is that any |> kernel built with this option is totally useless for debugging |> crash dumps. No symbol table no crash dump analysis, so use this |> option with _caution_. As I said before, -x does not produce a stripped kernel (-s would but you don't want to do that). -- Matt Thomas Internet: thomas@lkg.dec.com U*X Networking UUCP: ...!decwrl!thomas Digital Equipment Corporation Disclaimer: This message reflects my own Littleton, MA warped views, etc.