Re: Improved INCLUDE_CONFIG_FILE

From: Eric Anderson <anderson_at_freebsd.org>
Date: Mon, 26 Mar 2007 09:44:02 -0500
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
Received on Mon Mar 26 2007 - 12:44:03 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:07 UTC