Re: Re: portage performance

Dylan Carlson <[email protected]>
Newsgroups gmane.linux.gentoo.performance
Message-ID <[email protected]>
On Saturday 12 June 2004 4:19 pm, Sri Gupta wrote:
> Try using a JIT-style python compiler.
>
> #emerge psyco
> #nano -w `which emerge`
>

The first problem with this is that it's architecture-specific.  (think in 
terms of Java Runtime Environments and this will make sense). 

You will notice that psyco is available only on x86.  Also Psyco only looks 
for stuff it knows how to optimize, which are some selective operations.  
In theory someday it will optimize more, and be available on more 
architectures, but that doesn't really buy Gentoo much today... since it's 
totally locked in on x86.

Psyco does improve speed somewhat, as it relates to Portage anyway, but 
nothing substantial.  Psyco is noticeable in situations where there are a 
lot of complicated loops that cycle many times over at least a few minutes 
(when running in normal interpreted mode).  The better improvements will 
come from optimizing the algorithms, not tweaking the runtime.

Cheers, 
Dylan Carlson [[email protected]]
Public Key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x708E165F

--
[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.