From: Brian Harring <ferringb@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] Portage ebuild cruft
Date: Thu, 28 Apr 2005 16:28:31 -0500 [thread overview]
Message-ID: <20050428212831.GA26379@exodus.wit.org> (raw)
In-Reply-To: <200504281840.23788.lanius@gentoo.org>
On Thu, Apr 28, 2005 at 06:40:23PM +0200, Heinrich Wendel wrote:
> Hi,
>
> Portage is slow? How to make it faster? By removing unused ebuilds!
Define "faster". All this would do is cut down on a couple of stats
per pkg; the # of ebuilds per pkg isn't a huge issue, the scanning of
vdb and Config initialization is what is damned slow. :)
> I wrote a little script to check which ebuilds in portage aren't used
> anylonger, here the result:
>
> Total packages checked: 9076
> Total ebuilds checked: 18662
> Total ebuilds to remove: 4643
Dropping every ebuild that isn't the highest version for the mismash
of arches isn't really valid. Granted, people *could* stand to do
cleansing of old versions in the tree, but the versions they choose to
support/offer is completely up to the ebuild dev.
> Of course the script can't detect every ebuild situation, so take the numbers
> with care. But still it shows that 1/4 of all ebuilds could be removed. This
> would improve portage performance by at least 1/4
Again, define what aspect of portage performance. The only thing less
ebuilds cuts down on is the avg runtime of a cp_list call; cache is
keyed, so lookup is *typically* constant.
~brian
--
gentoo-dev@gentoo.org mailing list
next prev parent reply other threads:[~2005-04-28 21:27 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-28 16:40 [gentoo-dev] Portage ebuild cruft Heinrich Wendel
2005-04-28 21:28 ` Brian Harring [this message]
2005-04-28 22:22 ` Tom Wesley
2005-04-28 23:17 ` Athul Acharya
2005-04-29 13:29 ` Jason Wever
2005-04-29 13:58 ` Jason Stubbs
2005-04-29 14:11 ` Jason Wever
2005-04-29 14:26 ` Elfyn McBratney
2005-04-29 14:38 ` Jason Stubbs
2005-04-29 15:59 ` Thomas de Grenier de Latour
2005-04-29 16:16 ` Jason Stubbs
2005-04-29 16:38 ` Lina Pezzella
2005-04-29 16:51 ` Jason Stubbs
2005-04-29 17:30 ` Thomas de Grenier de Latour
2005-04-29 20:25 ` Jan Kundrát
2005-04-30 3:23 ` Jason Stubbs
2005-04-30 10:31 ` Sune Kloppenborg Jeppesen
2005-04-30 11:12 ` Marius Mauch
2005-04-30 12:07 ` Sune Kloppenborg Jeppesen
2005-04-30 12:27 ` Elfyn McBratney
2005-04-30 12:38 ` Georgi Georgiev
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050428212831.GA26379@exodus.wit.org \
--to=ferringb@gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox