From owner-freebsd-current@FreeBSD.ORG Mon Mar 26 13:35:57 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 0FDF916A400 for ; Mon, 26 Mar 2007 13:35:57 +0000 (UTC) (envelope-from kozlov@ravenloft.kiev.ua) Received: from istc.kiev.ua (wolf.istc.kiev.ua [193.108.236.1]) by mx1.freebsd.org (Postfix) with ESMTP id BA89A13C457 for ; Mon, 26 Mar 2007 13:35:54 +0000 (UTC) (envelope-from kozlov@ravenloft.kiev.ua) Received: from localhost ([127.0.0.1] helo=ravenloft.kiev.ua) by istc.kiev.ua with esmtp (Exim 4.52) id 1HVpMX-0004pJ-0B; Mon, 26 Mar 2007 16:35:53 +0300 Received: from kozlov by ravenloft.kiev.ua with local (Exim 4.66 (FreeBSD)) (envelope-from ) id 1HVpMC-000PKA-Jg; Mon, 26 Mar 2007 16:35:32 +0300 Date: Mon, 26 Mar 2007 16:35:32 +0300 From: Alex Kozlov To: Eric Anderson , freebsd-current@freebsd.org Message-ID: <20070326133532.GA97275@ravenloft.kiev.ua> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.14 (2007-02-12) X-Spam-Score: 0.0 (/) X-Spam-Report: Content analysis detailz: (0.0 points, 10.0 required) X-Mailman-Approved-At: Mon, 26 Mar 2007 13:59:06 +0000 Cc: 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 13:35:57 -0000 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. -- Adios