On Thu, 2007-03-22 at 11:11 +0000, David Given wrote: > I have a machine with 48MB of RAM that I want to use as a server. > > The OpenBSD kernel is a bit over 5MB. I assume that gets loaded into memory > and is not swappable, giving me 43MB left, which isn't a lot. > > Is it worth recompiling the kernel to remove support for features I'm not > using --- IPv6, say, or the Microchannel bus --- on the principle that > reducing the size of the kernel will give more memory for doing other things, > and therefore generally speed the system up? Or will not using GENERIC cause > more problems than it's worth? > > And if it is worth recompiling the kernel, can anyone recommend any > particularly big features it would be worth taking out?
well, you could always compile with the small kernel option (forget the actual #define that needs to be made, but grep is god's gift to everybody).