Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 123289

Summary: New portage 2.1 pre with cdb cache still faster
Product: Portage Development Reporter: Brad Allen <ULMO>
Component: Core - Interface (emerge)Assignee: Portage team <dev-portage>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: ttp://forums.gentoo.org/viewtopic-t-261580-postdays-0-postorder-asc-highlight-cdb+module-start-175.html?sid=9f5730445560c92902cb5d8e206abe67
Whiteboard:
Package list:
Runtime testing required: ---

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.