From: Frank Lofaro (ftlofaro@unlv.edu)
Date: 09/30/93


From: ftlofaro@unlv.edu (Frank Lofaro)
Subject: Re: Kernel taking 2 meg of ram??
Date: Thu, 30 Sep 1993 05:15:56 GMT

In article <edc187p.749337146@monu1.cc.monash.edu.au> edc187p@monu1.cc.monash.edu.au (Mr KAA. Smith) writes:
>G'day,
> I recently compiled my pl11 kernel with the net2 stuff installed. No probs
> with net2, btw. I implemented plip and slip in the linux/net/inet/CONFIG
> file and compiled. No errors, but when I rebooted, I found the kernel
> was taking around 2 megs of my ram! (1.6 meg data, if I remember rightly).
>
> Does anyone have any clues?
>
>Keith

        Ouch! Did you enable kernel profiling when you compiled the kernel?
If so, that's probably it; recompile without it if you want the kernel to be a
more reasonable size. Kernel profiling takes a _*LOT*_ of RAM indeed!

(I know from what I heard on the net, and from personal experience! ;)

P.S. It would be a good idea to put this in the FAQ, since not many people
are aware of it, and it does make such a difference, especially on machines
with little RAM.

P.P.S. I'm moving this to comp.os.linux.help; comp.os.linux is being phased
out. Follow-ups are directed to comp.os.linux.help.