AW: Kernel 2.6.3 patch for Intel Compiler 8.0

From: Ingo at Pyrillion (ingo_at_pyrillion.org)
Date: 03/10/04

  • Next message: Linus Torvalds: "Linux 2.6.4-rc3"
    To: "'Norberto Bensa'" <norberto+linux-kernel@bensa.ath.cx>
    Date:	Wed, 10 Mar 2004 01:18:03 +0100
    
    

    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:norberto+linux-kernel@bensa.ath.cx]
    Gesendet: Mittwoch, 10. März 2004 01:09
    An: Ingo at Pyrillion
    Cc: linux-kernel@vger.kernel.org
    Betreff: Re: Kernel 2.6.3 patch for Intel Compiler 8.0

    Ingo at Pyrillion wrote:
    > patch to compile the kernel with Intel Compiler 8.0
    > for Linux.

    Speed improvements over same kernel compiled with gcc?

    Thanks,
    Norberto

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: Linus Torvalds: "Linux 2.6.4-rc3"

    Relevant Pages

    • Re: system gets stuck in a lock during boot
      ... on the latest kernel and seeing whether that fixes the lockup? ... 'backtrack' the bisection, ... At the moment I don't have a problem applying a patch to the ... gcc version: 4.5.0 20090730 ...
      (Linux-Kernel)
    • [RFC][PATCH-2.6] Clean up and merge compiler-*.h
      ... the kernel headers in include/linux to include/linux-abi. ... * Common definitions for all gcc versions go here. ... -/* Some compiler specific definitions are overwritten here ...
      (Linux-Kernel)
    • Re: system gets stuck in a lock during boot
      ... on the latest kernel and seeing whether that fixes the lockup? ... 'backtrack' the bisection, ... At the moment I don't have a problem applying a patch to the ... gcc version: 4.5.0 20090730 ...
      (Linux-Kernel)
    • Re: system gets stuck in a lock during boot
      ... on the latest kernel and seeing whether that fixes the lockup? ... 'backtrack' the bisection, ... At the moment I don't have a problem applying a patch to the ... gcc version: 4.5.0 20090730 ...
      (Linux-Kernel)
    • [rfc] built-in native compiler for Linux?
      ... Perhaps we should fork off gcc and ship Linux with its own ... This way we can optimize it for the kernel and not worry ... I didnt suggest forking GCC. ... What i think makes sense is to build a _new_ precompiler / compiler ...
      (Linux-Kernel)