Gentoo Archives: gentoo-performance

From: Roman Gaufman <hackeron@×××××××××.com>
To: gentoo-performance@l.g.o
Subject: Re: [gentoo-performance] Re: portage performance
Date: Sat, 26 Jun 2004 21:12:35
Message-Id: 200406262221.35128.hackeron@dsl.pipex.com
In Reply to: Re: [gentoo-performance] Re: portage performance by Sri Gupta
On Saturday 12 June 2004 20:19, Sri Gupta wrote:
> Try using a JIT-style python compiler. > > #emerge psyco > #nano -w `which emerge` > > Add the bit from try: to pass in like so: > > ---- > import os,sys > os.environ["PORTAGE_CALLER"]="emerge" > sys.path = ["/usr/lib/portage/pym"]+sys.path > > try: > import psyco > psyco.full() > except ImportError: > pass > > import > emergehelp,xpak,string,re,commands,time,shutil,traceback,atexit,signal,s... > --- > > use tabs for the indented bits. you can also try the experimental > database support (I'm using it, seems fine) > > # mkdir /etc/portage > # echo 'portdbapi.auxdbmodule="portage_db_anydbm.database"' > > /etc/portage/modules # echo > 'eclass_cache.dbmodule="portage_db_anydbm.database"' >> > /etc/portage/modules > > Both of these speed up portage quite a bit... > > -Sri
Would like to know a bit more info about using a dbm database. I've found (and reported) a way to use a mysql database with portage: (http://bugs.gentoo.org/show_bug.cgi?id=51704) -- how does this dbm solution compare? and where is the database stored? -- gentoo-performance@g.o mailing list