From owner-freebsd-current@FreeBSD.ORG Mon Mar 26 14:44:03 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 048F816A401 for ; Mon, 26 Mar 2007 14:44:03 +0000 (UTC) (envelope-from anderson@freebsd.org) Received: from mh1.centtech.com (moat3.centtech.com [64.129.166.50]) by mx1.freebsd.org (Postfix) with ESMTP id CD18B13C44B for ; Mon, 26 Mar 2007 14:44:02 +0000 (UTC) (envelope-from anderson@freebsd.org) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh1.centtech.com (8.13.8/8.13.8) with ESMTP id l2QEi2ho074711; Mon, 26 Mar 2007 09:44:02 -0500 (CDT) (envelope-from anderson@freebsd.org) Message-ID: <4607DC32.1010700@freebsd.org> Date: Mon, 26 Mar 2007 09:44:02 -0500 From: Eric Anderson User-Agent: Thunderbird 1.5.0.10 (X11/20070320) MIME-Version: 1.0 To: Alex Kozlov References: <20070326133532.GA97275@ravenloft.kiev.ua> In-Reply-To: <20070326133532.GA97275@ravenloft.kiev.ua> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.88.4/2931/Mon Mar 26 03:43:40 2007 on mh1.centtech.com X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=8.0 tests=BAYES_00 autolearn=ham version=3.1.6 X-Spam-Checker-Version: SpamAssassin 3.1.6 (2006-10-03) on mh1.centtech.com Cc: freebsd-current@freebsd.org Subject: Re: Improved INCLUDE_CONFIG_FILE X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Mar 2007 14:44:03 -0000 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