CompilationBenchmark

Version 17 (kervala, 07/01/2010 07:23 pm)

1 1 vl
h1. Compilation Benchmark
2 1 vl
3 1 vl
If you want to share your computer specs and timing you had with it to compile NeL and Ryzom. Use "time make" to have the timing.
4 1 vl
5 1 vl
h2. vl
6 1 vl
7 1 vl
Computer: "MacBook Pro":http://www.apple.com/macbookpro/specs.html - 2.66GHz Intel Core i7 processor (2 core) with 4MB shared L3 cache - 4Gb RAM - SSD hard drive
8 1 vl
9 10 vl
Compiler: gcc version 4.2.1 (Apple Inc. build 5664)
10 10 vl
11 4 vl
Compilation of NeL with:
12 4 vl
<pre>
13 4 vl
cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE:string=Release -DWITH_COCOA:BOOL=ON -DWITH_TESTS:BOOL=OFF
14 4 vl
</pre>
15 4 vl
16 2 vl
* make: real 18m2.176s user 16m4.615s sys 1m39.583s
17 1 vl
* make -j2: real 10m23.777s user 18m31.231s sys 1m493855s
18 6 vl
* make -j4: real *8m6.921* user 27m43.770s sys 2m29.056s
19 1 vl
* make -j6: real 8m14.677 user 28m15.047 sys 2m32.185s
20 1 vl
21 4 vl
Compilation of NeL with:
22 1 vl
<pre>
23 10 vl
cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE:string=Release -DWITH_COCOA:BOOL=ON -DWITH_TESTS:BOOL=OFF -DWITH_SAMPLES:BOOL=OFF -DWITH_TOOLS:BOOL=OFF ..
24 4 vl
</pre>
25 4 vl
26 6 vl
* make -j4: real *6m51.037s* user 23m10.235s sys 2m4.684s
27 1 vl
28 10 vl
Compilation of Ryzom with:
29 10 vl
<pre>
30 10 vl
cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE:string=Release -DWITH_COCOA:BOOL=ON -DWITH_TOOLS:BOOL=OFF -DWITH_SERVER:BOOL=OFF ..
31 10 vl
</pre>
32 10 vl
33 12 vl
* make -j4: real *10m28.644s* user 37m7.800s sys 2m51.144s
34 7 rti
35 7 rti
h2. rti
36 7 rti
37 8 rti
Computer: MacBook Pro (2007) - 2.4GHz Intel Core 2 Duo processor (2 core) with 4MB shared L2 cache - 4Gb RAM - 5400rpm hard drive
38 7 rti
39 9 rti
Compiler: gcc version 4.2.1 (Apple Inc. build 5664)
40 9 rti
41 7 rti
Compilation of NeL with:
42 7 rti
<pre>
43 7 rti
cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE:string=Release -DWITH_COCOA:BOOL=ON -DWITH_TESTS:BOOL=OFF
44 7 rti
</pre>
45 7 rti
46 7 rti
* make -j3  1475.77s user 175.71s system 165% cpu *16:36.08* total
47 13 kervala
48 13 kervala
h2. kervala
49 13 kervala
50 13 kervala
Computer: Intel Core 2 Quad Q8300 @ 2.50GHz (4 cores) with 4MB shared L2 cache - 4GB RAM - 10000RPM hard drive
51 13 kervala
52 13 kervala
Compiler: gcc (Ubuntu 4.4.3-4ubuntu5) 4.4.3
53 13 kervala
54 13 kervala
Compilation of NeL with:
55 13 kervala
<pre>
56 13 kervala
cmake ../nel -DWITH_TESTS=OFF
57 13 kervala
</pre>
58 13 kervala
59 14 kervala
* make: 946.91 user 68.86 system *17:01.47* elapsed 99% CPU 
60 15 kervala
* make -j4: 1097.52 user 90.30 system *5:14.01* elapsed 378% CPU
61 16 kervala
62 16 kervala
<pre>
63 16 kervala
cmake ../nel -DWITH_TESTS=OFF -DWITH_PCH=OFF
64 16 kervala
</pre>
65 16 kervala
66 17 kervala
* make: 1170.02 user 73.72 system *20:45.48* elapsed 99% CPU
67 16 kervala
* make -j4: ?