<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Intel Duo Core vs. Quad Core performance question     in Intel® Moderncode for Parallel Architectures</title>
    <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Intel-Duo-Core-vs-Quad-Core-performance-question/m-p/838558#M1641</link>
    <description>Then I have no guess. You have basically 2 dual-core systems, and one is "better by all parameters", and it turns out to be significantly slower...</description>
    <pubDate>Thu, 15 Apr 2010 19:47:42 GMT</pubDate>
    <dc:creator>Dmitry_Vyukov</dc:creator>
    <dc:date>2010-04-15T19:47:42Z</dc:date>
    <item>
      <title>Intel Duo Core vs. Quad Core performance question</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Intel-Duo-Core-vs-Quad-Core-performance-question/m-p/838555#M1638</link>
      <description>(Note: I also posted this question to the&lt;DIV&gt;&lt;NOBR&gt;&lt;A href="http://forums.sun.com"&gt;Oracle Forums&lt;/A&gt;&amp;gt;&lt;/NOBR&gt;&lt;NOBR&gt;&lt;A href="https://community.intel.com/category.jspa?categoryID=41"&gt;Java HotSpot Virtual Machine&lt;/A&gt;&amp;gt;&lt;/NOBR&gt;&lt;NOBR&gt;&lt;A href="https://community.intel.com/category.jspa?categoryID=42"&gt;Specifications&lt;/A&gt;&amp;gt;&lt;/NOBR&gt;&lt;NOBR&gt;&lt;A href="https://community.intel.com/forum.jspa?forumID=37&amp;amp;start=0"&gt;Java Virtual Machine&lt;/A&gt;&lt;/NOBR&gt;&lt;/DIV&gt;&lt;DIV&gt;forum days ago, but didn't receive any responses.)&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;I'm comparing performance of the multithreaded server software I'm developing (in Java) on two machines and three OSes and finding some puzzling results. Note: although the server is multithreaded, the bulk of the computation is currently handled by a single thread. Still doing research/dev on parallelizing the problem.&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;B&gt;Computer #1&lt;/B&gt;&lt;BR /&gt;Intel Core 2 Duo (T7500)&lt;BR /&gt;2GB RAM&lt;BR /&gt;4M Cache, 2.20 GHz, 800 MHz FSB&lt;BR /&gt;Mac OS X 10.6&lt;BR /&gt;Java 1.6u17 (Java HotSpot 64-Bit Server VM)&lt;BR /&gt;&lt;BR /&gt;&lt;B&gt;Computer #2&lt;/B&gt;&lt;BR /&gt;Intel Core 2 Quad (Q8300)&lt;BR /&gt;8GB RAM&lt;BR /&gt;4M Cache, 2.50 GHz, 1333 MHz FSB&lt;BR /&gt;Ubuntu 9.10&lt;B&gt;or&lt;/B&gt;Windows 7&lt;BR /&gt;Java 1.6u17 (Java HotSpot 64-Bit Server VM) on &lt;B&gt;Windows&lt;/B&gt;&lt;/DIV&gt;&lt;DIV&gt;Java 1.6u17, 1.6u19, and 1.7 beta on &lt;B&gt;Linux&lt;/B&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;B&gt;&lt;BR /&gt;&lt;/B&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;B&gt;&lt;BR /&gt;&lt;/B&gt;&lt;/DIV&gt;&lt;DIV&gt;Here's a screenshot from the Intel website:&lt;/DIV&gt;&lt;DIV&gt;&lt;B&gt;&lt;BR /&gt;&lt;/B&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;B&gt;&lt;BR /&gt;&lt;/B&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;B&gt;&lt;IMG src="http://i.imgur.com/FEuGu.png" alt="Processor comparison" width="515" height="529" /&gt;&lt;BR /&gt;&lt;/B&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;B&gt;&lt;BR /&gt;&lt;/B&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;B&gt;&lt;BR /&gt;&lt;/B&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;B&gt;&lt;BR /&gt;&lt;/B&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;B&gt;&lt;BR /&gt;&lt;/B&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;&lt;B&gt;Results:&lt;/B&gt;&lt;BR /&gt;Surprisingly (to me), my program runs significantly faster on Computer #1 than on the Computer #2 (when running &lt;B&gt;either&lt;/B&gt; Linux or Windows). The latter runs at&lt;B&gt; 60%-75%&lt;/B&gt; of the speed as the former.&lt;BR /&gt;&lt;BR /&gt;I'm not quite understanding this as Computer #1 is 3 years old and has a slower clock speed and system bus than #2 (which I literally&lt;B&gt;just&lt;/B&gt;purchased.)&lt;BR /&gt;&lt;BR /&gt;&lt;B&gt;Experiments:&lt;/B&gt;&lt;BR /&gt;-tried testing with both Java 1.6u19 and a 1.7 beta on Ubuntu, saw improvements of up to ~10%&lt;BR /&gt;-disabled 2 cores in Windows 7 so that's it's duo vs. duo instead of duo vs. quad; no (significant) difference&lt;BR /&gt;-changed the Ubuntu processor setting to "Performance" instead of a power saving/efficiency mode, no difference&lt;BR /&gt;-tried -Xconcurrentio Java option, no difference&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I reckon I'll have to go into profiling the code to shed some more light on this, but thought I'd ask if this makes sense.&lt;/DIV&gt;&lt;DIV&gt;I'm not comparing apples and oranges, am I? Of course when the problem is more parallelized I should be able to get more performance out of the quad core, but I don't understand why it's this much slower now.&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/DIV&gt;&lt;DIV&gt;In the screenshot above, #1has a bus/core ratio of 11 while #2 has 7.5.&lt;BR /&gt;7.5/11 = 68%, just a coincidence?&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Any insight is appreciated, thanks!&lt;/DIV&gt;</description>
      <pubDate>Thu, 15 Apr 2010 16:59:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Intel-Duo-Core-vs-Quad-Core-performance-question/m-p/838555#M1638</guid>
      <dc:creator>jta23</dc:creator>
      <dc:date>2010-04-15T16:59:11Z</dc:date>
    </item>
    <item>
      <title>Intel Duo Core vs. Quad Core performance question</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Intel-Duo-Core-vs-Quad-Core-performance-question/m-p/838556#M1639</link>
      <description>&amp;gt; -disabled 2 cores in Windows 7 so that's it's duo vs. duo instead of duo
 vs. quad; no (significant) difference&lt;BR /&gt;&lt;BR /&gt;How did you do that? By setting up the parameter in boot.ini?&lt;BR /&gt;</description>
      <pubDate>Thu, 15 Apr 2010 18:21:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Intel-Duo-Core-vs-Quad-Core-performance-question/m-p/838556#M1639</guid>
      <dc:creator>Dmitry_Vyukov</dc:creator>
      <dc:date>2010-04-15T18:21:54Z</dc:date>
    </item>
    <item>
      <title>Intel Duo Core vs. Quad Core performance question</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Intel-Duo-Core-vs-Quad-Core-performance-question/m-p/838557#M1640</link>
      <description>This page explains:&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;META charset="utf-8" /&gt;&lt;A href="http://en.kioskea.net/faq/616-multicore-cpu-how-to-disable-a-core"&gt;http://en.kioskea.net/faq/616-multicore-cpu-how-to-disable-a-core&lt;/A&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Note that to switch back, you uncheck the checkbox and restart.&lt;/DIV&gt;</description>
      <pubDate>Thu, 15 Apr 2010 19:19:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Intel-Duo-Core-vs-Quad-Core-performance-question/m-p/838557#M1640</guid>
      <dc:creator>jta23</dc:creator>
      <dc:date>2010-04-15T19:19:18Z</dc:date>
    </item>
    <item>
      <title>Intel Duo Core vs. Quad Core performance question</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Intel-Duo-Core-vs-Quad-Core-performance-question/m-p/838558#M1641</link>
      <description>Then I have no guess. You have basically 2 dual-core systems, and one is "better by all parameters", and it turns out to be significantly slower...</description>
      <pubDate>Thu, 15 Apr 2010 19:47:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Intel-Duo-Core-vs-Quad-Core-performance-question/m-p/838558#M1641</guid>
      <dc:creator>Dmitry_Vyukov</dc:creator>
      <dc:date>2010-04-15T19:47:42Z</dc:date>
    </item>
    <item>
      <title>Intel Duo Core vs. Quad Core performance question</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Intel-Duo-Core-vs-Quad-Core-performance-question/m-p/838559#M1642</link>
      <description>If there will be no better suggestions, detailed comparation of profiles can help (as you already noted).</description>
      <pubDate>Thu, 15 Apr 2010 19:49:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Intel-Duo-Core-vs-Quad-Core-performance-question/m-p/838559#M1642</guid>
      <dc:creator>Dmitry_Vyukov</dc:creator>
      <dc:date>2010-04-15T19:49:10Z</dc:date>
    </item>
    <item>
      <title>Intel Duo Core vs. Quad Core performance question</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Intel-Duo-Core-vs-Quad-Core-performance-question/m-p/838560#M1643</link>
      <description>Humm... well, perhaps... AFAIK Q8300 is not a real quad-core processor, it's a kind of 2 dual-core processors located on a single die and connected by a FSB. So communication cost between cores 0&amp;lt;-&amp;gt;1 and 0&amp;lt;-&amp;gt;2 significantly differs (the former is intra-core communication, while the latter is FSB communication) (that's what I observe on my Q6600). I suspect that when you restrict Windows to 2 cores, it chooses cores 0 and 2. If it's so, the difference between the two systems is clear: T7500 uses intra-core communication, while Q8300 uses FSB communication.&lt;BR /&gt;I guess JVM must have a command-line parameter to restrict it's execution to a subset of cores. You may try to restrict it to cores 0,1 and then 0,2, and check as to whether it's the root cause or not.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 15 Apr 2010 19:56:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Intel-Duo-Core-vs-Quad-Core-performance-question/m-p/838560#M1643</guid>
      <dc:creator>Dmitry_Vyukov</dc:creator>
      <dc:date>2010-04-15T19:56:19Z</dc:date>
    </item>
    <item>
      <title>Intel Duo Core vs. Quad Core performance question</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Intel-Duo-Core-vs-Quad-Core-performance-question/m-p/838561#M1644</link>
      <description>Can't find such a parameter. Perhaps you can try the following. Insert some pause into beginning of your program (before timing starts), then start the program, then quickly restrict the process affinity via Windows Task Manager.&lt;BR /&gt;</description>
      <pubDate>Thu, 15 Apr 2010 20:06:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Intel-Duo-Core-vs-Quad-Core-performance-question/m-p/838561#M1644</guid>
      <dc:creator>Dmitry_Vyukov</dc:creator>
      <dc:date>2010-04-15T20:06:52Z</dc:date>
    </item>
    <item>
      <title>Intel Duo Core vs. Quad Core performance question</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Intel-Duo-Core-vs-Quad-Core-performance-question/m-p/838562#M1645</link>
      <description>I'll try this, but before that I ran tests with a single core on both machines (setting maxcpus=1 in Linux, using /Library/Application Support/CPUPalette.app in OS X) and it still runs at only 70% speed on the quad core PC.&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;&lt;BR /&gt;That's suggests that this isn't just a core communication issue, although I'm sure that has an effect as well when utilizing all 4 cores.&lt;/DIV&gt;</description>
      <pubDate>Thu, 15 Apr 2010 21:26:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Intel-Duo-Core-vs-Quad-Core-performance-question/m-p/838562#M1645</guid>
      <dc:creator>jta23</dc:creator>
      <dc:date>2010-04-15T21:26:38Z</dc:date>
    </item>
  </channel>
</rss>

