Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 123289 - New portage 2.1 pre with cdb cache still faster
Summary: New portage 2.1 pre with cdb cache still faster
Status: RESOLVED INVALID
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL: ttp://forums.gentoo.org/viewtopic-t-2...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-18 08:34 UTC by Brad Allen
Modified: 2006-02-18 08:45 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 Brad Allen 2006-02-18 08:34:18 UTC
Emerge metadata was unacceptably slow on my 2.8GHz i-P4 with 1.25GB RAM, so I came here to see if there was any solutions, and found CDB cache for metadata, in URL stated above.  It worked splendidly; it went from half an hour emerge metadata to under a minute.  Then, I saw people raving about portage 2.1 pre.  I upgraded to Portage 2.1 pre, and emerge metadata was faster than before but took 2 or 3 minutes, much slower than portage 2.0 with cdb cache.  Then, I followed instructions to install cdb cache to portage 2.1, and re-ran metadata, and indeed, it went as fast as it did with portage 2.0 with cdb cache.  Please consider including cdb cache in portage 2.1.  There's no reason to waste time if the computer can go faster.

I have not researched reliability issues.

Sincerely,
Brad Allen
Comment 1 Alec Warner (RETIRED) archtester gentoo-dev Security 2006-02-18 08:45:55 UTC
make a file called /etc/portage/modules and put the following lines in it.

portdbapi.auxdbmodule = cache.cdb.database 
eclass_cache.dbmodule = cache.cdb.database

Portage 2.1 comes with a built-in cdb module, you just need to turn it on, and no it will not be on by default.