Penguin
Blame: KernelCompilationTimes
EditPageHistoryDiffInfoLikePages
Annotated edit history of KernelCompilationTimes version 35, including all changes. View license author blame.
Rev Author # Line
35 IanMcDonald 1 This page covers the Kernel Compilation Benchmark, which is often used to provide a rough comparison of system performance. This page used to use a 2.4.19 default config to do this benchmark, this data still exists at KernelCompilationTimes2.4. The 2.4.19 kernel is a bit old now, and the 2.6 build process has changed a lot, so we've updated this to use 2.6.8 as the test [Kernel].
22 DanielLawson 2
3 A few things have changed - there is no longer any need to run make dep or make modules, so there will only be one time output. You will need to run make defconfig first, otherwise it will try to build a host-specific config for your computer.
4
35 IanMcDonald 5 It's still important to perform the compile as soon as you untar the [Kernel] source, to ensure the source is still in disk cache.
22 DanielLawson 6
7
8 (In /usr/src, with the 2.6.8 source downloaded already)
9
32 CraigBox 10 <pre>
23 DanielLawson 11 tar jxf linux-2.6.8.tar.bz2
12 # or tar zxf linux-2.6.8.tar.gz
22 DanielLawson 13 cd linux-2.6.8
23 DanielLawson 14 # use the default config
22 DanielLawson 15 make defconfig
16 /usr/bin/time -p -o /tmp/dep.time make
32 CraigBox 17 </pre>
22 DanielLawson 18
19 If you have a machine with more than one processor, you can use make -j n .... where n is the number of cpus + 1
20
21 ----
22 Name: deuterium
23 %%%OS: Gentoo 2004.2 Linux 2.6.8
24 %%%Hardware: P4 2.8C Northwood, 1024 MB DDR400 RAM, Intel D865GLC Motherboard
25 %%%Notes: SMP + SMT enabled
26 %%%/proc/cpuinfo:
27 <verbatim>
28 processor : 1
29 vendor_id : GenuineIntel
30 cpu family : 15
31 model : 2
32 model name : Intel(R) Pentium(R) 4 CPU 2.80GHz
33 stepping : 9
34 cpu MHz : 2793.238
35 cache size : 512 KB
36 </verbatim>
37 make
38 * real 7m26.87s
39 * user 7m00.68s
40 * sys 0m31.68s
41
42 make -j3
43 * real 7m25.23s
44 * user 7m01.32s
45 * sys 0m31.43s
46
47 ----
48
49 Name: voodoo
50 %%%OS: Debian Woody 3.0 2.4.26
29 DanielLawson 51 %%%Hardware: Dual Athlon 1800MP+ (1533MHz), 2048 MB RAM
23 DanielLawson 52 %%%Notes:
22 DanielLawson 53 %%%/proc/cpuinfo:
54 <verbatim>
55 processor : 1
56 vendor_id : AuthenticAMD
57 cpu family : 6
58 model : 6
59 model name : AMD Athlon(TM) MP 1800+
60 stepping : 2
61 cpu MHz : 1533.398
62 cache size : 256 KB
63 </verbatim>
64
65 make
66 * real 7m05.12s
67 * user 6m08.19s
68 * sys 0m43.02s
69
70 make -j3
71 * real 4m36.29s
72 * user 6m22.54s
73 * sys 0m45.22s
24 PhilMurray 74
75 ----
76
77 Name: Wildfire
78 %%%OS: Gentoo 2.6.7-gentoo-r11
79 %%%Hardware: Dual Opteron 244, 2048MB Ram
25 PhilMurray 80 %%%/proc/cpuinfo
24 PhilMurray 81 <verbatim>
82 processor : 0
83 vendor_id : AuthenticAMD
84 cpu family : 15
85 model : 5
86 model name : AMD Opteron(tm) Processor 244
87 stepping : 8
88 cpu MHz : 1792.241
89 cache size : 1024 KB
90 </verbatim>
91
92 make
93 * real 4m42.88s
94 * user 4m10.97s
95 * sys 0m34.17s
96
97 make -j 3
98 * real 2m30.92s
26 PhilMurray 99 * user 4m12.54s
24 PhilMurray 100 * sys 0m34.84s
23 DanielLawson 101
102 ----
103
104 Name: kiakaha
30 DanielLawson 105 %%%OS: Debian Sarge 3.1 Linux 2.6.7
23 DanielLawson 106 %%%Hardware: Dual P3 1GHz, 1.5 GB RAM
107 %%%Notes:
108 %%%/proc/cpuinfo:
109 <verbatim>
110 processor : 1
111 vendor_id : GenuineIntel
112 cpu family : 6
113 model : 8
114 model name : Pentium III (Coppermine)
115 stepping : 10
116 cpu MHz : 999.703
117 cache size : 256 KB
118 </verbatim>
119
120 make:
28 DanielLawson 121 * real 13m22.91s
122 * user 12m06.51s
123 * sys 1m01.81s
23 DanielLawson 124
31 DanielLawson 125 make -j4 (make -j3, for some reason, didn't parallelise at all)
126 * real 7m16.06s
127 * user 12m46.04s
128 * sys 1m07.41s
129
33 GreigMcGill 130 ----
131 Name: loki
34 GreigMcGill 132 %%%OS: Gentoo 2004.2 linux 2.6.7
33 GreigMcGill 133 %%%Hardware: AMD64 3000+ with 512MB RAM
134 %%%/proc/cpuinfo:
135 <verbatim>
136 processor : 0
137 vendor_id : AuthenticAMD
138 cpu family : 15
139 model : 12
140 model name : AMD Athlon(tm) 64 Processor 3000+
141 stepping : 0
142 cpu MHz : 2009.804
143 cache size : 512 KB
144 </verbatim>
145
146 make:
147 * real 6m58.06s
148 * user 6m17.01s
149 * sys 0m34.15s
31 DanielLawson 150
23 DanielLawson 151 ----
152 Name:
153 %%%OS:
154 %%%Hardware:
155 %%%/proc/cpuinfo:
156 <verbatim>
157 processor :
158 vendor_id :
159 cpu family :
160 model :
161 model name :
162 stepping :
163 cpu MHz :
164 cache size :
165 </verbatim>
166
167 make:
168
169
22 DanielLawson 170 ----
171 CategoryKernel

PHP Warning

lib/blame.php:177: Warning: Invalid argument supplied for foreach() (...repeated 2 times)