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

Article: Nehalem Performance Preview
By: Henrik S (henrik.stahl.delete@this.nospam.oracle.nothanks.com), April 12, 2009 9:25 am
Room: Moderated Discussions
EduardoS (no@spam.com) on 4/12/09 wrote:
---------------------------
>Henrik S (henrik.stahl@nospam.oracle.nothanks.com) on 4/12/09 wrote:
>---------------------------
>>It's JRockit with a J. Yes, you enable large pages with a -Xlargepages flag, which
>>will use large pages both for JIT compiled code and the Java heap, to avoid ITLB
>>and DLTB misses respectively. Java is susceptible to both of these issues; ITLB
>>because many J2EE apps tend to have very big code bases and DLTB because of the random access nature of the Java heap.
>
>Any try with Linux huge pages?

Huh? Our large (== huge) pages support work on both Windows and Linux. You must of course configure the OS appropriately first.

>>Apart from that, we don't use the OS much for SPECjbb2005. Threads are mapped 1-to-1
>>to OS threads, so thread scheduling matters a bit.
>
>This one surprised me, I never profiled JBB, but always expected it to create/destroy a lot of threads.

What I mean is that Java threads are mapped 1x1 to OS threads. This has not always been the case in JRockit, we used to maintain a "thin thread" mxn mapping.

Thread scheduling matters because if the OS is not conservative and frequently changes the CPU a thread is scheduled on, it will destroy any memory locality that the JVM has managed to create (eg during memory allocation, or during GC). Pretty basic and not all all specific to Java.

jbb creates threads at the start of each warehouse run, and then lets them terminate at the end of the warehous run. Warehouse runs are ramped up from 1 to 2xCPU count threads, with 30/240s runtime per iteration for warmup/scoring respectively. See the jbb docs on http://www.spec.org for more detail.

Henrik
< 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?