From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Lbzvw-0001Tl-Qi for garchives@archives.gentoo.org; Tue, 24 Feb 2009 16:15:01 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E1180E03CD; Tue, 24 Feb 2009 16:14:57 +0000 (UTC) Received: from qw-out-1920.google.com (qw-out-1920.google.com [74.125.92.149]) by pigeon.gentoo.org (Postfix) with ESMTP id BCA6DE03CD for ; Tue, 24 Feb 2009 16:14:57 +0000 (UTC) Received: by qw-out-1920.google.com with SMTP id 9so992505qwj.10 for ; Tue, 24 Feb 2009 08:14:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type; bh=IyQCr9QTkxejYjjjhNwJvL+yBBR8nXxBHXdm7J4+hbA=; b=GP8ftL3CE3ZmGkQel0X93JtcbAgwqzwEPb23Nn9Es1T+65iGieauRQ6Y+KSfshYvd7 Rjp7larHDoutI74SEXgEis7ZAQ4R01Jmb7Lzo5tIG0Fq/lbrf51Fwp3CaS062Oc3z35R aMShsgMJcvCCxAmVhoMteCJ6gzE7DhubEuG2c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type; b=PpDLggukqPem0/Le3XNKFvX3EhnmJ8Y2MjW6mjWoR1tck3K8h3a37KI+mwZpKKJCAK 1KMVlvFR8GNwio8OUy6TOQSXq8G8HxLM1pQLIZHvocCS1T60BeuRqhicinphecw0Kzzc bgzrDbxUTob8T8eCyDBD7xXT8ZqdpgMP12FuU= Received: by 10.224.45.204 with SMTP id g12mr8297088qaf.168.1235492096686; Tue, 24 Feb 2009 08:14:56 -0800 (PST) Received: from snowcone (92-235-187-79.cable.ubr18.sgyl.blueyonder.co.uk [92.235.187.79]) by mx.google.com with ESMTPS id 32sm19367292ugf.19.2009.02.24.08.14.55 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 24 Feb 2009 08:14:56 -0800 (PST) Date: Tue, 24 Feb 2009 16:14:49 +0000 From: Ciaran McCreesh To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Issues regarding glep-55 (Was: [gentoo-council] Re: Preliminary Meeting-Topics for 12 February 2009) Message-ID: <20090224161449.07bc580a@snowcone> In-Reply-To: <49A41A8C.1060002@gentoo.org> References: <1234257125.18160.2016.camel@localhost> <1234450419.20950.2.camel@localhost> <20090212160045.GB3642@comet> <20090212161644.GD3642@comet> <20090212162103.256b003f@snowcone> <20090212171055.GA3652@comet> <20090212172109.778fb268@snowcone> <20090212173743.GD3652@comet> <20090212180350.0d9a9df5@snowcone> <1235037961.13198.779.camel@localhost> <20090219125124.33eaa66c@snowcone> <1235077892.13198.1923.camel@localhost> <20090222171658.278ae167@halo.dirtyepic.sk.ca> <49A1E1CB.1000806@gentoo.org> <20090222234800.29d64b8d@snowcone> <49A206A7.3050604@gentoo.org> <49A39CE7.4010201@gentoo.org> <20090224141912.0a666a17@snowcone> <49A41A8C.1060002@gentoo.org> X-Mailer: Claws Mail 3.7.0 (GTK+ 2.14.7; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/Ry+ldv2hOxUyew980J.aRK+"; protocol="application/pgp-signature"; micalg=PGP-SHA1 X-Archives-Salt: 4dbe5a97-4bff-46a7-bed4-6ff2a6b22fde X-Archives-Hash: bb26defce23c4e1cb3d37a45bd9e09d7 --Sig_/Ry+ldv2hOxUyew980J.aRK+ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Tue, 24 Feb 2009 17:04:28 +0100 Luca Barbato wrote: > Ciaran McCreesh wrote: > > On Tue, 24 Feb 2009 08:08:23 +0100 > > Uh, your benchmarks are nonsense. >=20 > Provide your nonsensical ones. You're doubling the number of files that have to be read for an operation that's almost purely i/o bound. On top of that, you're introducing a whole bunch of disk seeks in what's otherwise a nice linear operation. > > That is not how metadata checks work. >=20 > Explain how they work, regen works that way... If metadata is valid, ebuilds aren't opened at all. An optimal implementation can slurp up the entire directory in one go and then start pulling out cache entries as it needs them, not having to go back to the ebuild directory or read its contents at all. Then it can open and read cache files in a carefully selected order to avoid having to do any more opens than necessary. > > By parsing the ebuilds you're talking doubling the number of file > > reads required to get the job done, and massively increasing the > > number of seeks required. >=20 > Apparently it doesn't impact anything. Please show the patch you created (for Paludis, since Portage doesn't yet do a lot of the optimisations it could here) that demonstrates this. > > But that isn't even the main issue. The main issue is that even if > > you retroactively pretend that all ebuilds are in a format they're > > not, and ignore the breakage, and then wait for a year for package > > managers to try to parse your new format, you *still* can't change > > name or versioning rules. >=20 > why? when portage would breanch if I put an ebuild with a wacky > version AND there is a valid cache for that telling its eapi 99 ? Because it has to parse that version. Also, the package manager can't tell whether or not a cache entry is valid if it doesn't recognise the EAPI in the cache entry. > > Again, these are all things that have been discussed at length > > previously. Please either come up with a legitimate technical > > objection, or admit that you've seen the light. >=20 > the glep doesn't show any of those nor reference to it, as I said=20 > before, do your homework and probably more people will be happier > with your proposals. Why should it? The C++ standard doesn't explain why you should use it instead of Java... --=20 Ciaran McCreesh --Sig_/Ry+ldv2hOxUyew980J.aRK+ Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkmkHPsACgkQ96zL6DUtXhH4JwCg3yIXiYNQapGx2E9VAqgmxhM1 DeEAnR53g7XxACyh6LomfOsSPANJhk7w =w4xO -----END PGP SIGNATURE----- --Sig_/Ry+ldv2hOxUyew980J.aRK+--