I was recently playing with psyco (the x86 jit-like compiler for python)
i figured i'd try out emerge with it to see what effect it had.
emerge is largely IO bound so for a first run to load the buffer cache
the effect isn't likely to be noticed either way.
however on later runs once the buffer cache was primed i found that the
use of psyco in emerge sped up "emerge search xfs" by >20% and sped up
"emerge -pU world" by ~35%. I tested using psyco 1.2 on a celery333.
I recommend adding the following to emerge:
Code: Select all
try:
import psyco
psyco.full()
except ImportError:
pass
Emerge 'feels' faster for me; one or two others posted similar results on the list. No one has posted difficulties.
Anyone who has installed psyco (its an ebuild) will benefit from a faster
searching and dependancy calculations.
I also watched the memory usage during the runs as well. emerge without
psyco consumed 7.5-10mb of ram. emerge with psync consumed 9-13mb.
Edit: Please see the post two or three down about where to put this in '/usr/bin/emerge'. This will only speed up the program 'emerge' itself, not compiles. You'll need to do this again if you ever upgrade portage. Additionally, it isn't quite clear in his message, but you need to 'emerge psyco' to use this.





