From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,70b177c8d641d622,start X-Google-Attributes: gid1164f8,public X-Google-Thread: fee84,70b177c8d641d622,start X-Google-Attributes: gidfee84,public From: peterm@tonks.EECS.Berkeley.EDU (Peter Mardahl) Subject: Kernel stripping question Date: 1995/05/02 Message-ID: <3o6b5t$bmg@agate.berkeley.edu>#1/1 X-Deja-AN: 101874623 organization: University of California, Berkeley newsgroups: comp.sys.dec,comp.unix.osf.osf1 DEC UNIX's (aka osf1) kernel is very huge and consumes lots of precious RAM--8M if you use an out-of-the-box kernel and 5M as I've configured the kernel. I've considered stripping the /vmunix binary to reduce its usage of RAM. Screwing up the kernel is a big nightmare so I'm not going to experiment without asking first: so here goes: Will a stripped kernel work? What besides ps, uptime will break? Is my theory that a smaller /vmunix on disk will cause the RAM used to be smaller correct? I noticed that the Makefile for the kernel has the flags -g3 and some defines having to do with profiling, can I obtain a kernel which doesn't have this stuff in it, but which is fully functional? Anyone have any suggestions on how else to create a leaner, faster kernel? Please email as well as post. Peter Mardahl peterm@langmuir.eecs.berkeley.edu