Choice of C compiler doesn't matter much for Java...

Article: Nehalem Performance Preview
By: Paul (no.delete@this.thanks.com), April 12, 2009 1:53 am
Room: Moderated Discussions
Henrik S (henrik.stahl@nospam.oracle.nothanks.com) on 4/12/09 wrote:
---------------------------
>No difference between Windows 2003 and 2008. We get slightly higher scores (1%?)
>on Windows than Linux, something we believe can be partially attributed to a gcc
>compiler optimization we don't use on Linux (omit_frame_pointer), but we haven't
>analyzed it lately so it may be something else (if any Linux gurus here feel like
>figuring that one out, I'd be happy to help them get started).

I think that omit-frame-pointer pointer has been part of -O for GCC for a while, a lot of work was put in to make debugging possible on x86 without the frame pointer.

What version of GCC are you using? To be competitive with the MS compiler you'll need to be bang up to date with the 4.3 series.

The other thing it would be interesting to do is to compile your codebase with the Intel C++ compiler, you can get evaluation versions of this and if your code compiles with both GCC and MSVC++ then you ought to be able to get it past Intel C++ without much effort.

A 1% difference might not even be the compiler it could be some difference in CPU affinity, or slighly non optimal case in the VM or something.

Recent versions of VTune have a library you can link your code to which allows you to teach VTune about JIT compiled code, it could be instructive to try that as well.
< Previous Post in ThreadNext Post in Thread >
TopicPosted ByDate
Nehalem review upDavid Kanter2009/04/07 03:43 AM
  Nehalem review upnoone2009/04/07 06:48 AM
  Strange jbb on HarpertownHenrik S2009/04/07 08:29 AM
    Strange jbb on HarpertownDavid Kanter2009/04/07 11:19 AM
      Strange jbb on HarpertownHenrik S2009/04/07 09:33 PM
        Strange jbb on HarpertownChris2009/04/08 12:54 AM
          Strange jbb on HarpertownHenrik S2009/04/08 02:40 AM
  Nehalem review upVincent Diepeveen2009/04/07 08:34 AM
    Nehalem review upJack2009/04/09 04:51 PM
      Nehalem review upVincent Diepeveen2009/04/10 01:58 AM
        Nehalem review upMichael S2009/04/10 03:45 AM
          Nehalem review upEduardoS2009/04/10 07:01 AM
            Nehalem review upMichael S2009/04/10 07:56 AM
          Nehalem review upEugene Nalimov2009/04/10 09:12 AM
          Choice of C compiler doesn't matter much for Java...Henrik S2009/04/10 10:10 AM
            Choice of C compiler doesn't matter much for Java...EduardoS2009/04/10 02:49 PM
              Choice of C compiler doesn't matter much for Java...Henrik S2009/04/11 07:13 AM
                Choice of C compiler doesn't matter much for Java...EduardoS2009/04/11 11:30 AM
                  Large pagesDavid Kanter2009/04/11 02:02 PM
                  Choice of C compiler doesn't matter much for Java...Henrik S2009/04/11 11:06 PM
                    Choice of C compiler doesn't matter much for Java...Paul2009/04/12 01:53 AM
                      Choice of C compiler doesn't matter much for Java...iz2009/04/12 02:59 AM
                      Choice of C compiler doesn't matter much for Java...Henrik S2009/04/12 07:37 AM
                    Choice of C compiler doesn't matter much for Java...EduardoS2009/04/12 08:08 AM
                      Choice of C compiler doesn't matter much for Java...Henrik S2009/04/12 09:25 AM
                        Choice of C compiler doesn't matter much for Java...EduardoS2009/04/12 05:24 PM
                          Choice of C compiler doesn't matter much for Java...Henrik S2009/04/12 10:18 PM
                            Thread costsDavid Kanter2009/04/13 12:12 AM
                              Thread costsHenrik S2009/04/14 02:08 PM
            Choice of C compiler doesn't matter much for Java...Michael S2009/04/11 08:53 AM
              Choice of C compiler doesn't matter much for Java...Henrik S2009/04/11 11:08 PM
          Nehalem review upVincent Diepeveen2009/04/11 04:50 PM
            Nehalem review upMichael S2009/04/11 05:12 PM
              Nehalem review upVincent Diepeveen2009/04/12 03:01 AM
                Nehalem review upMichael S2009/04/12 05:07 AM
  Nehalem review uprwessel2009/04/07 02:01 PM
    Nehalem review upslacker2009/04/08 09:11 AM
      Energy vs. powerDavid Kanter2009/04/08 10:11 AM
        Energy vs. powerVincent Diepeveen2009/04/10 02:08 AM
          Energy vs. powerslacker2009/04/10 09:26 AM
            Energy vs. powerRagingDragon2009/04/10 10:19 AM
              Energy vs. powerDavid Kanter2009/04/10 11:47 AM
              Energy vs. powerJack2009/04/10 04:44 PM
                Energy vs. powerslacker2009/04/10 07:00 PM
                  Energy vs. powerJack2009/04/10 07:31 PM
                  Energy vs. powerDavid Kanter2009/04/11 12:16 AM
      Nehalem review uprwessel2009/04/08 02:32 PM
  Minor font issuegpriatko2009/04/07 04:35 PM
    Minor HTML issueDavid Kanter2009/04/07 09:38 PM
      Minor HTML issueDavid Kanter2009/04/07 09:39 PM
  Good work, i look forward to linux and SP2 numbers (NT)PiedPiper2009/04/08 01:52 AM
  Nehalem review upJoe Chang2009/04/10 03:59 AM
Reply to this Topic
Name:
Email:
Topic:
Body: No Text
How do you spell avocado?