From owner-cvs-src@FreeBSD.ORG Wed Jun 1 15:16:24 2005 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5CE5B16A41C for ; Wed, 1 Jun 2005 15:16:24 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: from mail28.sea5.speakeasy.net (mail28.sea5.speakeasy.net [69.17.117.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9E2F043D48 for ; Wed, 1 Jun 2005 15:16:23 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: (qmail 4219 invoked from network); 1 Jun 2005 15:16:23 -0000 Received: from server.baldwin.cx ([216.27.160.63]) (envelope-sender ) by mail28.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 1 Jun 2005 15:16:22 -0000 Received: from [10.50.41.231] (gw1.twc.weather.com [216.133.140.1]) (authenticated bits=0) by server.baldwin.cx (8.13.1/8.13.1) with ESMTP id j51FGGdt074237; Wed, 1 Jun 2005 11:16:17 -0400 (EDT) (envelope-from jhb@FreeBSD.org) From: John Baldwin To: Maxim.Sobolev@portaone.com Date: Wed, 1 Jun 2005 11:16:28 -0400 User-Agent: KMail/1.8 References: <200505312116.j4VLGpYw072934@repoman.freebsd.org> <20050601142848.GA7964@dragon.NUXI.org> <429DCAA3.8020303@portaone.com> In-Reply-To: <429DCAA3.8020303@portaone.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200506011116.29914.jhb@FreeBSD.org> X-Spam-Status: No, score=-102.8 required=4.2 tests=ALL_TRUSTED, USER_IN_WHITELIST autolearn=failed version=3.0.2 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on server.baldwin.cx Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org, obrien@FreeBSD.org Subject: Re: cvs commit: src/sys/boot/i386/loader Makefile X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Jun 2005 15:16:24 -0000 On Wednesday 01 June 2005 10:48 am, Maxim Sobolev wrote: > David O'Brien wrote: > > On Wed, Jun 01, 2005 at 12:28:08AM +0300, Maxim Sobolev wrote: > >>David E. O'Brien wrote: > >>>obrien 2005-05-31 21:16:51 UTC > >>> > >>> FreeBSD src repository > >>> > >>> Modified files: > >>> sys/boot/i386/loader Makefile > >>> Log: > >>> Put bzip2 support on equal footing with gzip support. > >>> Enable bzip2 support by default, set LOADER_NO_BZIP2_SUPPORT to disable > >>> it. > >> > >>This only increases the size of loader without any good reason. Please > >>stop making nonsense commits. > > > > And having gzip support on by default only increases the loader without > > any good reason. We provide a feature rich environment. The loader > > isn't at the brink of its size limit like boot0 is. I put bzip2 on par > > No, it is, since currently it's still limited to 640KB of memory both > for data and for text on i386 and possibly on amd64. For that reason you > can't decompress bzip2-compressed filesystems compressed with block size > higher than 100k, which is the smalles block size possible with bzip2. > Still it provides noticeably better compression than libz. > > Decompression requires about 100k + ( 2.5 x block size ), that is 350k. > Given that loader's text is currently 200-250k and the fact that it > needs some heap for other functionality even 20-30k can really matter. > Actually I am not sure if you can do bzip2 decompression w/o turning > forth and gzip support off on i386 now. Hmm, given this, does anyone actually use bzip2fs in the loader now? I guess it might be ok for non-i386, but perhaps i386 should not even try to use it? -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org