* [gentoo-portage-dev] slow dependency checking
@ 2005-06-11 15:34 Brian
2005-06-11 17:09 ` Jason Stubbs
0 siblings, 1 reply; 3+ messages in thread
From: Brian @ 2005-06-11 15:34 UTC (permalink / raw
To: gentoo-portage-dev; +Cc: Porthole-Developers
I believe I have found an error in the way porthole is using portage.
After an emerge sync which had a large number of update downloaded. I
switched to our upgrades view which stated building the treeview.
It was extremely slow, something I had noticed from time to time but did
not know why. It usually finished before I determined why. This time
using gnome system monitor I was able to determine that it was portage
doing repeated calls to "ebuild.sh depend" for different packages.
After it is complete a db reload and new upgrades list is quick again.
Am I correct in that the imported instance of portage was still using
the old metadata cache at the time of import? Even though the cache was
updated at the end of the sync. After a sync we should re-initialize
our instance of portage for it to use the new cache?
--
Brian <dol-sen@telus.net>
--
gentoo-portage-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-portage-dev] slow dependency checking
2005-06-11 15:34 [gentoo-portage-dev] slow dependency checking Brian
@ 2005-06-11 17:09 ` Jason Stubbs
2005-06-12 5:57 ` Jason Stubbs
0 siblings, 1 reply; 3+ messages in thread
From: Jason Stubbs @ 2005-06-11 17:09 UTC (permalink / raw
To: gentoo-portage-dev
[-- Attachment #1: Type: text/plain, Size: 1152 bytes --]
On Sunday 12 June 2005 00:34, Brian wrote:
> I believe I have found an error in the way porthole is using portage.
>
> After an emerge sync which had a large number of update downloaded. I
> switched to our upgrades view which stated building the treeview.
>
> It was extremely slow, something I had noticed from time to time but did
> not know why. It usually finished before I determined why. This time
> using gnome system monitor I was able to determine that it was portage
> doing repeated calls to "ebuild.sh depend" for different packages.
>
> After it is complete a db reload and new upgrades list is quick again.
>
> Am I correct in that the imported instance of portage was still using
> the old metadata cache at the time of import? Even though the cache was
> updated at the end of the sync. After a sync we should re-initialize
> our instance of portage for it to use the new cache?
Correct. I'm not sure what will happen in the future, but adding checks for
this into the current design will noticably slow down the general case (where
the cache isn't changed by external processes).
Regards,
Jason Stubbs
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-06-12 8:29 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-11 15:34 [gentoo-portage-dev] slow dependency checking Brian
2005-06-11 17:09 ` Jason Stubbs
2005-06-12 5:57 ` Jason Stubbs
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox