From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7010 invoked from network); 12 Apr 2004 17:17:23 +0000 Received: from smtp.gentoo.org (128.193.0.39) by eagle.gentoo.oregonstate.edu with DES-CBC3-SHA encrypted SMTP; 12 Apr 2004 17:17:23 +0000 Received: from lists.gentoo.org ([128.193.0.34] helo=eagle.gentoo.org) by smtp.gentoo.org with esmtp (Exim 4.24) id 1BD53i-0005w3-Vy for arch-gentoo-dev@lists.gentoo.org; Mon, 12 Apr 2004 17:17:22 +0000 Received: (qmail 29795 invoked by uid 50004); 12 Apr 2004 17:17:22 +0000 Mailing-List: contact gentoo-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Received: (qmail 24024 invoked from network); 12 Apr 2004 17:17:22 +0000 Message-ID: <407ACF28.3060205@skylineaero.com> Date: Mon, 12 Apr 2004 12:17:28 -0500 From: Andrew Gaffney User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7b) Gecko/20040403 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Todd Berman CC: gentoo-dev@lists.gentoo.org References: <200404110755.05096.tom@securescience.net> <200404120803.16933.tom@securescience.net> <20040412122343.GD19192@lion.gg3.net> <200404120836.16542.tom@securescience.net> <1081782749.25073.6.camel@carbon> <407AC251.8040702@skylineaero.com> <1081786998.2075.1.camel@localhost.localdomain> <407ACAF6.1020101@skylineaero.com> <1081789396.2075.6.camel@localhost.localdomain> In-Reply-To: <1081789396.2075.6.camel@localhost.localdomain> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [gentoo-dev] Idea for the portage maintainers X-Archives-Salt: 7147b072-cfdf-403c-b2a8-27cc430c62bf X-Archives-Hash: a890726ab0051536d73fc7c38dafc4ef Todd Berman wrote: > On Mon, 2004-12-04 at 11:59 -0500, Andrew Gaffney wrote: > >>Todd Berman wrote: >> >>>On Mon, 2004-12-04 at 11:22 -0500, Andrew Gaffney wrote: >>> >>> >>>>Troy Dack wrote: >>>> >>>> >>>>>Another point against a monolithic zip containing all the ebuilds (or >>>>>even per directory zips) is the performance hit that slow machines would >>>>>take, not everybody runs gentoo on a 2GHz plus machine (eg: my little >>>>>PII-400 in the corner) >>>> >>>>Or my little P233 Thinkpad... >>>> >>> >>> >>>And with the current setup of writing thousands of 1K files that little >>>p233 thinkpad really flys i bet... >> >>I'm not sure if that was supposed to be sarcastic, but yes, it does fly. It only takes >>slightly longer to sync than my Athlon 1.3GHz desktop. The only part that takes forever is >>updating the portage cache. That's why I just use a NFS shared portage tree from my >>desktop machine now. > > In a way it was and in a way it wasn't. I honestly don't understand how > you can explain to me that a compression-less zip file be any slower > than the current setup. > > With compression I could understand, but without I don't think any speed > difference would be noticeable. However, even with compression the > operation should be fairly fast. zip is not like a tar.gz or tar.bz2, > ie, you can read a file out of it and search through it fairly fast, and > you don't have to uncompress the entire archive to get a single file. Even without compression, there is still a little bit of overhead with having ebuilds and such contained in ZIP files. The overhead comes into play both during sync and emerge. It wouldn't be noticable on a fast machine (e.g. my Athlon 1.3GHz desktop) but it would make an operation like 'emerge -uDpv world' take quite a bit longer on my Thinkpad. As someone else pointed out, the ZIP files wouldn't make syncs faster either. Rsync transfers only the differences in files and not the entire app-text directory or whatever category you're working with. As another person pointed out, it would be more difficult to modify ebuilds in the tree by hand when they're contained in ZIP files. It was a good idea, but I don't think it is practical. -- Andrew Gaffney Network Administrator Skyline Aeronautics, LLC. 636-357-1548 -- gentoo-dev@gentoo.org mailing list