Skip to contentSkip to conversation

Kernel 2.6.3 patch for Intel Compiler 8.0

DISCUSSION Ingo at Pyrillion 5 participants 9 messages Mar 9, 2004 – Mar 10, 2004

lore
Share & tools
lore
#1 lore raw
Quoted 2 lines · Ingo at Pyrillion

patch to compile the kernel with Intel Compiler 8.0 for Linux.

Speed improvements over same kernel compiled with gcc?

Thanks,
Norberto

#2 lore raw

And results running resultant on an Athlon?

Quoted 5 lines · Norberto Bensa
Quoted 2 lines · Ingo at Pyrillion

patch to compile the kernel with Intel Compiler 8.0 for Linux.

Speed improvements over same kernel compiled with gcc?

#3 lore raw
In reply to Norberto Bensa

I used the patch to compile two identical kernels with gcc 3.3.3 and icc 8.0 with oprofile support built in.
The optimization switches were chosen quite conservative, i.e. "-O2 -Ob1", no IPO, and of course: no MMX, SSE, and SSE2 stuff inside the kernel (thus disabling Intel's great vectorizer).
Profiling: lmbench ran ten times but time measurements were taken from oprofile (on Pentium 4, GLOBAL_POWER_EVENTS in kernel space only, counter overflow: 3.000).
Results: 33% of the lmbench procs faster on icc, 66% faster on gcc.

Thus, take the kernel patch as a good basis for modifying the compiler switches and other things to get more performance gains. As I know, a lot of people are looking for a patch.

Please check the patch file; you have to modify a lot of things in 2.6.3 to create a quite stable working version of the kernel. The patch is not just about changing some minor Makefile things...

Kind rgs., Ingo.

-----Ursprüngliche Nachricht-----
Von: Norberto Bensa [mailto:[email protected]]
Gesendet: Mittwoch, 10. März 2004 01:09
An: Ingo at Pyrillion
Cc: [email protected]
Betreff: Re: Kernel 2.6.3 patch for Intel Compiler 8.0

Quoted 2 lines · Ingo at Pyrillion

patch to compile the kernel with Intel Compiler 8.0 for Linux.

Speed improvements over same kernel compiled with gcc?

Thanks,
Norberto

#4 lore raw

Hi All!!

Quoted 9 lines

I used the patch to compile two identical kernels with gcc 3.3.3 and icc 8.0 with oprofile support built in.
The optimization switches were chosen quite conservative, i.e. "-O2 -Ob1", no IPO, and of course: no MMX, SSE, and SSE2 stuff inside the kernel (thus disabling Intel's great vectorizer).
Profiling: lmbench ran ten times but time measurements were taken from oprofile (on Pentium 4, GLOBAL_POWER_EVENTS in kernel space only, counter overflow: 3.000).
Results: 33% of the lmbench procs faster on icc, 66% faster on gcc.

Really???

If it is ture using icc 66% faster than gcc., It is wonderful. Could you show us detail data to lmbench results.

Thanks!!

Norihiko

#5 lore raw
Quoted 5 lines · Norihiko Mukouyama

Hi All!!

Quoted 1 line

Results: 33% of the lmbench procs faster on icc, 66% faster on gcc.

If it is ture using icc 66% faster than gcc., It is wonderful. Could you show us detail data to lmbench results.

I saw it the other way around: gcc is faster 66% of the time. Or did I read wrong?

Thanks,
Norberto

#6 lore raw
Quoted 5 lines · Norberto Bensa
Quoted 3 lines · Norihiko Mukouyama

Hi All!!

Quoted 7 lines
Quoted 4 lines
Quoted 1 line

Results: 33% of the lmbench procs faster on icc, 66% faster on gcc.

If it is ture using icc 66% faster than gcc., It is wonderful. Could you show us detail data to lmbench results.

I saw it the other way around: gcc is faster 66% of the time. Or did I read wrong?

1/3 of the things are faster with icc. 2/3 of the things are faster with gcc. Performance numbers not given.

// Stefan

#7 lore raw

Hi,Stefan!!

Quoted 2 lines

1/3 of the things are faster with icc. 2/3 of the things are faster with gcc. Performance numbers not given.

Thank you very much.
I understood that meaning.

By the way,

I would like to learn the result of making his patch run on Itanium2. Because, the difference of the performance of the compiler being sure to influence most remarkably.

Can anyone try?

Thanks.

Norihiko

#8 lore raw
In reply to Norihiko Mukouyama

Hi again,

please read my last mail carefully:
"33% procs faster on icc, 66% faster on gcc"
means that gcc (GNU) is superior. But the patch is a preliminary version...

greetings, Ingo.

-----Ursprüngliche Nachricht-----
Von: Norihiko Mukouyama [mailto:[email protected]]
Gesendet: Mittwoch, 10. März 2004 01:50
An: Ingo at Pyrillion; 'Norberto Bensa'
Cc: [email protected]
Betreff: RE: Kernel 2.6.3 patch for Intel Compiler 8.0

Hi All!!

Quoted 9 lines

I used the patch to compile two identical kernels with gcc 3.3.3 and icc 8.0 with oprofile support built in. The optimization switches were chosen quite conservative, i.e. "-O2 -Ob1", no IPO, and of course: no MMX, SSE, and SSE2 stuff inside the kernel (thus disabling Intel's great vectorizer).
Profiling: lmbench ran ten times but time measurements were taken from oprofile (on Pentium 4, GLOBAL_POWER_EVENTS in kernel space only, counter overflow: 3.000).
Results: 33% of the lmbench procs faster on icc, 66% faster on gcc.

Really???

If it is ture using icc 66% faster than gcc., It is wonderful. Could you show us detail data to lmbench results.

Thanks!!

Norihiko