putting fedora on a (memory) diet... some suggestions for the kernel config

Jeremy Katz katzj at redhat.com
Wed Dec 13 15:43:35 UTC 2006


On Wed, 2006-12-13 at 11:56 +0100, Arjan van de Ven wrote:
> Another one is __log_buf; this is currently 128Kb. Arguably it's
> important for debugging to get 128Kb of dmesg info, but I wonder if 64Kb
> would be enough as well, it's another easy save by setting
> CONFIG_LOG_BUF_SHIFT to 16.

I don't know that this is really a big enough win to be worthwhile...
especially as the 128kb of dmesg has been handy to me in the past given
the amount of verbosity from some of the kernel these days.

> A third one is disabling CPU hotplug. CPU hotplug keeps quite a bit of
> code in the kernel, that otherwise is boot-time only and gets evicted
> right after boot..... You could argue the same for PCI hotplug but
> cardbus is sort of the party spoiler there I suppose.

Isn't cpu hotplug needed for sleep/swsusp on multicore laptops? 

Jeremy




More information about the fedora-devel-list mailing list