I noted previously that building perl on a dual G4/1.25 GHz / 1GB RAM was fast. Well, doing it on a dual G5/2.0 GHz / 2GB RAM is a lot faster. I set the processor peformance to "Highest" or whatever, from the default of automatic, because I am greedy. Building perl 5.8.0.
Configure -des, G4:
Configure -des, G5:
make -j3, G4:
make -j3, G5:
make -j3 test, G4:
make -j3 test, G5:
From beginning to end, the G4 did it all in 14:04. The G5 did it in 9:41. Taking away the tests, and it is more like 6:28 to 3:53.
Mmmmm, speedilicious.
Re:-j2? -j4?
pudge on 2003-09-19T16:07:53
I was kinda wondering the same thing myself... but it takes so long to do each build, I don't want to spend the time doing the benchmarks! :-)
make -j2, G5:make -j3, G5:real 2m11.921s
user 3m26.660s
sys 0m45.240smake -j4, G5:real 2m13.723s
user 3m29.480s
sys 0m49.440smake -j10, G5:real 2m25.240s
user 3m31.290s
sys 0m50.420sSo it actually looks like -j2 is slightly faster. I did both -j2 and -j3 twice, with similar results: -j2 is faster by a good second or two. And I also did -j4 more times, with similar results (slower than -j2 and -j3 by at least several seconds).real 2m24.177s
user 3m30.840s
sys 0m50.500s
One interesting note: Encode is always the last to finish. I wonder if making Encode begin to compile first would speed up the results somewhat. So with this run, I moved lib/auto/Encode/Encode.bundle to the beginning of dynamic_ext in the Makefile after Configure -des, and before make.
make -j2, G5, putting Encode first:make -j3, G5, putting Encode first:real 2m12.722s
user 3m26.750s
sys 0m47.140sHm. Never mind. In the last test there, Encode STILL finished last, BTW.real 2m13.575s
user 3m30.260s
sys 0m48.490sRe:-j2? -j4?
pudge on 2003-09-20T07:11:01
Just for the heck of it, on a dual proc Xeon/2.4GHz, also with 2GB RAM:
make -j3, Xeon:make -j5, Xeon:real 1m29.770s
user 3m57.040s
sys 0m16.460sThis machine does "hyper-threading", so it thinks it has four processors even though it has only two, hence the -j5 run. Doesn't seem to make much difference. Anyway, this Xeon compiles perl faster than the G5, by a lot. I don't know if it means anything, though.real 1m25.995s
user 4m59.250s
sys 0m18.930s