Gentoo Archives: gentoo-user

From: Lord Sauron <lordsauronthegreat@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Now Know Why Portage Is So Slow
Date: Fri, 26 May 2006 04:40:10
Message-Id: e5a3e9ac0605252133w2cfd8c4akda481b0fc8137e4a@mail.gmail.com
In Reply to: Re: [gentoo-user] Re: Now Know Why Portage Is So Slow by Iain Buchanan
1 On 5/25/06, Iain Buchanan <iaindb@××××××××××××.au> wrote:
2 > On Thu, 2006-05-25 at 16:00 -0700, Lord Sauron wrote:
3 > > On 5/25/06, Thomas Kirchner <lists@××××××××.org> wrote:
4 >
5 > > > > It takes about as long to start going as it does to open the archive
6 > > > > /portage-20060123.tar.bz2 - conincidence? I think not!
7 > > >
8 > > > I think so ;)
9 > >
10 > > If it's not, then I really need to ask why on earth portage takes so
11 > > long to just index and search packages that took apt-get much less
12 > > time to work with.
13 >
14 > In defence of portage, I estimate there are 11229 packages that portage
15 > has to search through descriptions, dependencies, masks, etc:
16
17 apt-get (as of Debian 3.1 Sarge) searches 33,333 seperate packages or so.
18
19 > $ cd /usr/portage; find . -maxdepth 2 -mindepth 1 -type d | wc -l
20 > 11229
21 >
22 > does apt-get really search this many packages?
23
24 It does more.
25
26 > > I don't think it should be this slow.
27 >
28 > And I don't think I should have this little money :) But seriously, I
29 > think you trade off speed when searching, vs speed when syncing, vs
30 > keeping a database up to date. As already mentioned, there are other
31 > tools to help speed it up.
32
33 Yeah, well... apt-get was faster on the sync and on the search. It's
34 not fair to compare installation times, but it was also faster on
35 calculating the dependencies.
36
37 If anything, this is a indicator that I need to try and contribute to
38 the portage project... at least contribute as much as I'm able.
39
40 > Also,
41 >
42 > On Thu, 2006-05-25 at 11:45 -0700, Lord Sauron wrote:
43 > >
44 > > I also get the bonehead award: there was a new kernel sitting on my
45 > > hard drive and just yesterday I found and installed it. It was
46 > > remarkably easy to install! I loaded the configuration file from my
47 > > old kernel and then just make && make install and it worked! I didn't
48 > > even have to edit /boot/grub/menu.lst!
49 >
50 > Are you sure you're running it if you didn't have to edit grub? Does
51 > `uname -r` agree with the new version you just installed?
52
53 I went through dmesg and stuff and I'm totally positive.
54
55 --
56 ========== GCv3.12 ==========
57 GCS d-(++) s+: a? C++ UL+>++++ P+
58 L++ E--- W+(+++) N++ o? K? w--- O? M+
59 V? PS- PE+ Y-(--) PGP- t+++ 5? X R tv-- b+
60 DI+++ D+ G e* h- !r !y
61 ========= END GCv3.12 ========
62
63 --
64 gentoo-user@g.o mailing list