Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 116132 - emerge sync (in Portage 2.0.51.22-r3) took too much time in updating kde-base-eclass.cpickle
Summary: emerge sync (in Portage 2.0.51.22-r3) took too much time in updating kde-base...
Status: RESOLVED LATER
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Enhancement/Feature Requests (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-20 01:13 UTC by Honza
Modified: 2005-12-23 08:09 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Honza 2005-12-20 01:13:42 UTC
While most cpickle files are relatively small, kde is huge and syncing (mean: rewriting) file kde-base-eclass.cpickle after each write means that "Updating Portage cache" show 50% several times longer that any other number.

Of course better that rewriting counter will be to speed up generating of cpickle files or at least kde-base-eclass.cpickle, for example by syncing less often.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-12-20 01:38:22 UTC
Try this patch (run emerge metadata after applying). 

http://dev.gentoo.org/~ferringb/portage/2.0/3.0-cache-backport-experimental-7.patch

Closing LATER.
Comment 2 Honza 2005-12-23 07:11:45 UTC
Hey ! What is cache.cache_errors ?

Hmmm ... don't you forgot to add something like copying some files to /usr/lib/portage/pym/cache ? I hope it's only think you forgot ...
Comment 3 Honza 2005-12-23 07:29:09 UTC
Yes, it feels much faster and steadier. I'll try to make some benchmarks later to have real numbers.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2005-12-23 07:50:36 UTC
(In reply to comment #2)
> Hey ! What is cache.cache_errors ?
> 
> Hmmm ... don't you forgot to add something like copying some files to
> /usr/lib/portage/pym/cache ? I hope it's only think you forgot ...

I see no errors, using this patch myself. I assume that anyone who tests this patch knows how and where to apply this. If not, then better don't mess with portage. ;)
Comment 5 Honza 2005-12-23 08:09:10 UTC
You mean it's not supposed to be applied while emerging portage ?