Date: Mon, 26 Mar 2007 09:44:02 -0500 From: Eric Anderson <anderson@freebsd.org> To: Alex Kozlov <spam@rm-rf.kiev.ua> Cc: freebsd-current@freebsd.org Subject: Re: Improved INCLUDE_CONFIG_FILE Message-ID: <4607DC32.1010700@freebsd.org> In-Reply-To: <20070326133532.GA97275@ravenloft.kiev.ua> References: <20070326133532.GA97275@ravenloft.kiev.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
On 03/26/07 08:35, Alex Kozlov wrote: > On Mon, Mar 26, 2007 at 08:12:33AM -0500, Eric Anderson wrote: >>> Overall, having the config file loaded strikes me as a waste of RAM. >>> >> As Larry mentioned, the kernel config file (say GENERIC) is about 10k >> uncompressed. If it's bzipped or gzipped, as it is (including comments, >> etc) it ends up ~4k. My kernel, is about 7500k (not far from GENERIC), >> so the additional .05% is probably not noticeable by anyone. > gzip is a bad idea. If You compress config, > strings kernel | grep ^___ | sed -e 's/^___//' > would no longer work. Good point. So, leaving it uncompressed makes it 0.1% of the kernel. :) Still ok by me. Eric
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4607DC32.1010700>