Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1K8RWZ-00023t-VJ for mharc-grub-devel@gnu.org; Mon, 16 Jun 2008 23:06:23 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K8RWX-00022J-7L for grub-devel@gnu.org; Mon, 16 Jun 2008 23:06:21 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K8RWW-00021x-Pn for grub-devel@gnu.org; Mon, 16 Jun 2008 23:06:20 -0400 Received: from [199.232.76.173] (port=53363 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K8RWW-00021n-Eo for grub-devel@gnu.org; Mon, 16 Jun 2008 23:06:20 -0400 Received: from ag-out-0708.google.com ([72.14.246.249]:10755) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K8RWW-000837-BW for grub-devel@gnu.org; Mon, 16 Jun 2008 23:06:20 -0400 Received: by ag-out-0708.google.com with SMTP id 31so57262agc.10 for ; Mon, 16 Jun 2008 20:06:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=myvWvei5nWNNd5AtpGSm5hJOg5gc62R+ow2NDZCgXuU=; b=GssAOy6OS5q8ALr9WdbGWNCou5JmVupS7qnn7KWxr5ATAXXY5tbojek0Q4fB6HOcm/ ySlctYqtvZQbR5GaK3SH4XmnBk7gUISbePBvJGJ2nN9nrvBNBBH14o1oMQezB+vrNafI 2DRe48KMR5pKf7d68emv9UdJLiTIQx2EqPRLg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=fpAr5Mq/j+4dTDMujU/ik6/sHWiJXxxkl9uJyMwJheuN8YldxAiRiYfx7tcMNLYbzf PUHdBW91ipc1lgk6j7hZdsbcmpnBLn4ZMa38zdw/KpR/yVNVHNsV/3BzAF8bFF/DyvJM V2rJSYQ+wG9oG9u3dk7p38XdSACxFx3dXo39E= Received: by 10.110.46.14 with SMTP id t14mr4955910tit.22.1213671978457; Mon, 16 Jun 2008 20:06:18 -0700 (PDT) Received: by 10.110.16.5 with HTTP; Mon, 16 Jun 2008 20:06:18 -0700 (PDT) Message-ID: Date: Tue, 17 Jun 2008 11:06:18 +0800 From: Bean To: "The development of GRUB 2" In-Reply-To: <1213670869.6330.12.camel@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20080615174819.GA3506@thorin> <20080616091535.GA17206@thorin> <1213615227.6330.3.camel@localhost> <1213618146.6330.6.camel@localhost> <20080616213116.GC6108@thorin> <1213670869.6330.12.camel@localhost> X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Subject: Re: [RFC] split floppy support off biosdisk X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Jun 2008 03:06:21 -0000 On Tue, Jun 17, 2008 at 10:47 AM, Javier Mart=EDn wr= ote: > El mar, 17-06-2008 a las 10:03 +0800, Bean escribi=F3: >> The decompresser is about 2K, we should also exclude the uncompressed >> part at the beginning of kernel, but there is still plenty room left. > The problem is not just the decompresser size itself, but how much > memory it uses. LZO is pretty special (though not unique) in that its > requisites in that area are very low; as low as just the source and > destination buffers. With LZMA (and other algorithms) we would need > intermediate buffers and other memory-consuming things like dictionaries > and such. I'm neither a compression expert nor an assembly guru, but the > tradeoff might not be up to the task. Hi, AFAIK, lzma decompresser don't need intermediate buffers, it operates directly on the input and output buffer, for example, the lzmadecoder in coreboot: http://qa.coreboot.org/docs/doxygen/lzmadecode_8c-source.html As for dictionary, it's optional, lzma don't use it by default. --=20 Bean