Re: Re: portage performance

Roman Gaufman <[email protected]>
Newsgroups gmane.linux.gentoo.performance
Message-ID <[email protected]>
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?

--
[email protected] mailing list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.