parallelized regen
Script enabling regen in parallel.
Stats are gathered from-
Hardware: Compaq Proliant 6400R 4x500Mhz Pentium3 / Xeon, 2MB Cache 1GB RAM
Finally, PORTDIR was tmpfs mounted to try and minimize any IO influence beyond expected cache updates.
Comparison is against portage-2.1_pre7, and rev 864 of pkgcore.
| command | real | user | sys |
| emerge --regen | 276m28.993s | 151m59.860s | 84m52.690s |
| python smp-regen.py 1 | 166m48.433s | 118m18.340s | 46m6.630s |
| python smp-regen.py 2 | 85m40.726s | 4m29.270s | 0m52.450s |
| python smp-regen.py 3 | 59m0.185s | 4m34.640s | 0m56.790s |
| python smp-regen.py 4 | 46m9.578s | 4m45.900s | 1m2.220s |
