Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-performance
Navigation:
Lists: gentoo-performance: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-performance@g.o
From: Roman Gaufman <hackeron@...>
Subject: Re: Re: portage performance
Date: Sat, 26 Jun 2004 22:21:35 +0000
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

References:
portage performance
-- Jesse Guardiani
Re: portage performance
-- Jerry McBride
Re: Re: portage performance
-- Sri Gupta
Navigation:
Lists: gentoo-performance: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Re: portage performance
Next by thread:
Re: portage performance
Previous by date:
Re: How is it possible ???
Next by date:
Re: How is it possible ???


Updated Jun 17, 2009

Summary: Archive of the gentoo-performance mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.