CompilationBenchmark

Version 25 (kervala, 07/17/2010 07:53 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 20 vl
h3. Mac OS X 10.6.4
10 20 vl
11 10 vl
Compiler: gcc version 4.2.1 (Apple Inc. build 5664)
12 10 vl
13 4 vl
Compilation of NeL with:
14 4 vl
<pre>
15 4 vl
cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE:string=Release -DWITH_COCOA:BOOL=ON -DWITH_TESTS:BOOL=OFF
16 4 vl
</pre>
17 4 vl
18 2 vl
* make: real 18m2.176s user 16m4.615s sys 1m39.583s
19 1 vl
* make -j2: real 10m23.777s user 18m31.231s sys 1m493855s
20 6 vl
* make -j4: real *8m6.921* user 27m43.770s sys 2m29.056s
21 1 vl
* make -j6: real 8m14.677 user 28m15.047 sys 2m32.185s
22 1 vl
23 4 vl
Compilation of NeL with:
24 1 vl
<pre>
25 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 ..
26 4 vl
</pre>
27 4 vl
28 6 vl
* make -j4: real *6m51.037s* user 23m10.235s sys 2m4.684s
29 1 vl
30 10 vl
Compilation of Ryzom with:
31 10 vl
<pre>
32 10 vl
cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE:string=Release -DWITH_COCOA:BOOL=ON -DWITH_TOOLS:BOOL=OFF -DWITH_SERVER:BOOL=OFF ..
33 10 vl
</pre>
34 10 vl
35 12 vl
* make -j4: real *10m28.644s* user 37m7.800s sys 2m51.144s
36 20 vl
37 20 vl
h3. Ubuntu 10.04 LTS
38 20 vl
39 20 vl
Compiler: gcc version 4.4.3
40 20 vl
41 20 vl
Compilation of NeL with:
42 20 vl
<pre>
43 20 vl
cmake -DCMAKE_BUILD_TYPE:string=Release -DWITH_TESTS:BOOL=OFF
44 20 vl
</pre>
45 20 vl
46 20 vl
* make -j4: real *6m1.109* user 21m36.105s sys 1m17.733s
47 20 vl
48 20 vl
Compilation of Ryzom with:
49 20 vl
<pre>
50 20 vl
cmake -DCMAKE_BUILD_TYPE:string=Release -DWITH_TOOLS:BOOL=OFF -DWITH_SERVER:BOOL=OFF ..
51 20 vl
</pre>
52 20 vl
53 21 vl
* make -j4: real *7m30.065s* user 27m17.030s sys 1m28.250s
54 20 vl
55 22 vl
h2. vl
56 22 vl
57 22 vl
h3. Ubuntu 7.10
58 23 vl
Computer: Dedibox V1 - 2GHz VIA C7 processor (1 core) with 128KB cache - 1Gb RAM
59 22 vl
Compiler: gcc version 4.1.3
60 22 vl
61 22 vl
Compilation of NeL with:
62 22 vl
<pre>
63 22 vl
cmake -DWITH_TESTS=OFF -DWITH_SAMPLES=OFF -DWITH_TOOLS=OFF ..
64 22 vl
</pre>
65 22 vl
66 22 vl
* make -j2: real *62m12.838s* user 58m37.434s sys 2m24.937s
67 22 vl
68 22 vl
Compilation of Ryzom with:
69 22 vl
<pre>
70 22 vl
cmake -DWITH_TOOLS=OFF -DWITH_SERVER=OFF ..
71 1 vl
</pre>
72 1 vl
73 1 vl
* make -j1: real *124m30.065s*
74 23 vl
75 23 vl
h3. Ubuntu 8.04.4 LTS on a Virtual Box on seven
76 23 vl
77 23 vl
Computer: Intel Core 2 Duo E8400 @ 3GHz (2 cores) - 4GB RAM - 10000RPM hard drive
78 23 vl
79 23 vl
Compiler: gcc version 4.2.4
80 23 vl
81 23 vl
Compilation of NeL with:
82 23 vl
<pre>
83 23 vl
cmake -DWITH_TESTS=OFF -DWITH_SAMPLES=OFF -DWITH_TOOLS=OFF ..
84 23 vl
</pre>
85 23 vl
86 23 vl
* make -j1: real *23m9.307s* user 14m33.595s sys 5m45.086s
87 23 vl
88 23 vl
Compilation of Ryzom with:
89 23 vl
<pre>
90 23 vl
cmake -DWITH_TOOLS=OFF -DWITH_SERVER=OFF ..
91 23 vl
</pre>
92 23 vl
93 24 vl
* make -j1: real *45mn*
94 23 vl
95 23 vl
96 7 rti
97 7 rti
h2. rti
98 7 rti
99 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
100 7 rti
101 9 rti
Compiler: gcc version 4.2.1 (Apple Inc. build 5664)
102 9 rti
103 7 rti
Compilation of NeL with:
104 7 rti
<pre>
105 7 rti
cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE:string=Release -DWITH_COCOA:BOOL=ON -DWITH_TESTS:BOOL=OFF
106 7 rti
</pre>
107 7 rti
108 7 rti
* make -j3  1475.77s user 175.71s system 165% cpu *16:36.08* total
109 13 kervala
110 13 kervala
h2. kervala
111 13 kervala
112 13 kervala
Computer: Intel Core 2 Quad Q8300 @ 2.50GHz (4 cores) with 4MB shared L2 cache - 4GB RAM - 10000RPM hard drive
113 13 kervala
114 13 kervala
Compiler: gcc (Ubuntu 4.4.3-4ubuntu5) 4.4.3
115 13 kervala
116 13 kervala
Compilation of NeL with:
117 13 kervala
<pre>
118 13 kervala
cmake ../nel -DWITH_TESTS=OFF
119 13 kervala
</pre>
120 13 kervala
121 14 kervala
* make: 946.91 user 68.86 system *17:01.47* elapsed 99% CPU 
122 15 kervala
* make -j4: 1097.52 user 90.30 system *5:14.01* elapsed 378% CPU
123 16 kervala
124 16 kervala
<pre>
125 16 kervala
cmake ../nel -DWITH_TESTS=OFF -DWITH_PCH=OFF
126 16 kervala
</pre>
127 16 kervala
128 17 kervala
* make: 1170.02 user 73.72 system *20:45.48* elapsed 99% CPU
129 18 kervala
* make -j4: 1323.94 user 97.35 system *6:13.42* elapsed 380% CPU
130 19 kervala
131 19 kervala
Compilation of Ryzom Core client with:
132 19 kervala
<pre>
133 19 kervala
cmake ../ryzom -DWITH_TESTS=OFF -DWITH_SERVER=OFF
134 19 kervala
</pre>
135 19 kervala
136 19 kervala
* make -j4: 1638.67 user 118.56 system *7:48.15* elapsed 375% CPU
137 25 kervala
138 25 kervala
<pre>
139 25 kervala
cmake ../ryzom -DWITH_TOOLS=OFF -DWITH_SERVER=OFF
140 25 kervala
</pre>
141 25 kervala
142 25 kervala
* make -j6: 1496.15 user 109.41 system *7:25.82* elapsed 360% CPU