<?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 Is did of Device 5 Function 0 on v4 wrong? in Software Tuning, Performance Optimization &amp; Platform Monitoring</title>
    <link>https://community.intel.com/t5/Software-Tuning-Performance/Is-did-of-Device-5-Function-0-on-v4-wrong/m-p/1153377#M6870</link>
    <description>&lt;P&gt;I get did of Device 5 Function 0 on v4 from&amp;nbsp;xeon-e7-v4-datasheet-vol-2.pdf, that is 0x2F28. But I test cpu model 0x4F, that is 0x6F28.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 25 Jul 2017 08:37:31 GMT</pubDate>
    <dc:creator>GHui</dc:creator>
    <dc:date>2017-07-25T08:37:31Z</dc:date>
    <item>
      <title>Is did of Device 5 Function 0 on v4 wrong?</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Is-did-of-Device-5-Function-0-on-v4-wrong/m-p/1153377#M6870</link>
      <description>&lt;P&gt;I get did of Device 5 Function 0 on v4 from&amp;nbsp;xeon-e7-v4-datasheet-vol-2.pdf, that is 0x2F28. But I test cpu model 0x4F, that is 0x6F28.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jul 2017 08:37:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Is-did-of-Device-5-Function-0-on-v4-wrong/m-p/1153377#M6870</guid>
      <dc:creator>GHui</dc:creator>
      <dc:date>2017-07-25T08:37:31Z</dc:date>
    </item>
    <item>
      <title>I'm not sure about device 5</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Is-did-of-Device-5-Function-0-on-v4-wrong/m-p/1153378#M6871</link>
      <description>&lt;P&gt;I'm not sure about device 5 function 0, but all PCI-based performance monitoring units have a device number of 0x6Fxx for model 0x4F instead of 0x2Fxx like documented, so I assume your finding is right.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jul 2017 10:40:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Is-did-of-Device-5-Function-0-on-v4-wrong/m-p/1153378#M6871</guid>
      <dc:creator>Thomas_G_4</dc:creator>
      <dc:date>2017-07-25T10:40:00Z</dc:date>
    </item>
    <item>
      <title>The DID values for some of</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Is-did-of-Device-5-Function-0-on-v4-wrong/m-p/1153379#M6872</link>
      <description>&lt;P&gt;The DID values for some of the IMC units are also incorrect in the documentation for the Xeon E5 v3 processors.&amp;nbsp;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Here is what I found for Xeon E5 v3 processors with 2 Home Agents and for Xeon E5 v3 processors with 1 Home Agent (8-core and below).&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;Mem Chan PCI    Expect  Actual Actual
Ctrl            DID     2HA DID 1HA DID
 0   0  7f:14.0 0x2fb4  0x2fb0  0x2fb0
 0   1  7f:14.1 0x2fb5  0x2fb1  0x2fb1
 0   2  7f:15.0 0x2fb0  -N/A-   0x2fb4
 0   3  7f:15.1 0x2fb1  -N/A-   0x2fb5
 1   0  7f:17.0 0x2fd4  0x2fd0  0x2fd0
 1   1  7f:17.1 0x2fd5  0x2fd1  -N/A-
 1   2  7f:18.0 0x2fd0  -N/A-   -N/A-
 1   3  7f:18.1 0x2fd1  -N/A-   -N/A-&lt;/PRE&gt;

&lt;P&gt;"-N/A-" means that the PCI device was not present.&lt;/P&gt;

&lt;P&gt;I am not sure why the single-HA device has a PCI device for MC1 -- I did not look to see if it did anything....&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jul 2017 15:50:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Is-did-of-Device-5-Function-0-on-v4-wrong/m-p/1153379#M6872</guid>
      <dc:creator>McCalpinJohn</dc:creator>
      <dc:date>2017-07-25T15:50:23Z</dc:date>
    </item>
    <item>
      <title>Is that mean I need to sum</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Is-did-of-Device-5-Function-0-on-v4-wrong/m-p/1153380#M6873</link>
      <description>&lt;P&gt;Is that mean I need to sum Ctrl 0 Chan 0,1,2,3 and Ctrl 1 Chan 0 to calculate Memory Bandwidth with 1HA?&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2017 10:38:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Is-did-of-Device-5-Function-0-on-v4-wrong/m-p/1153380#M6873</guid>
      <dc:creator>GHui</dc:creator>
      <dc:date>2017-07-26T10:38:12Z</dc:date>
    </item>
    <item>
      <title>No, the HAs don't know about</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Is-did-of-Device-5-Function-0-on-v4-wrong/m-p/1153381#M6874</link>
      <description>&lt;P&gt;No, the HAs don't know about the channels of the memory controllers, so the HA events UNC_H_IMC_READS.NORMAL and UNC_H_IMC_WRITES.ALL cover all memory channels of the attached controller(s). It might be that you additionally have to measure the HA event UNC_H_BYPASS_IMC.TAKEN to get accurate numbers because bypasses are not counted by the other two events.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2017 11:29:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Is-did-of-Device-5-Function-0-on-v4-wrong/m-p/1153381#M6874</guid>
      <dc:creator>Thomas_G_4</dc:creator>
      <dc:date>2017-07-26T11:29:57Z</dc:date>
    </item>
    <item>
      <title>I use IMC Performance Monitor</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Is-did-of-Device-5-Function-0-on-v4-wrong/m-p/1153382#M6875</link>
      <description>&lt;P&gt;I use IMC Performance Monitor to get Memory Bandwidth.&lt;/P&gt;

&lt;P&gt;There is &amp;nbsp;&lt;SPAN style="font-size: 1em;"&gt;MEM_BW_TOTAL=&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em;"&gt;MEM_BW_READS + MEM_BW_WRITES&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; =&lt;/SPAN&gt;(CAS_COUNT.RD * 64)&amp;nbsp;+&amp;nbsp;(CAS_COUNT.WR * 64)&lt;/P&gt;

&lt;P&gt;On E5-2630 v4 platform (2 socket, 10 core), there are 7f:14.0, 7f:14.1, 7f:15.0, 7f:15.1, 7f:17.0 and f&lt;SPAN style="font-size: 13.008px;"&gt;f:14.0, ff:14.1, ff:15.0, ff:15.1, ff:17.0 Memory Controller Channel.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 13.008px;"&gt;But On E5-2680 v4 platform (2 socket, 14 core), there are 7f:14.0, 7f:14.1, 7f:17.0, 7f:17.1 and ff:14.0, ff:14.1, ff:17.0, ff:17.1 Memory Controller Channel.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Does E5-2630 sum all 10 Memory Controller Channel to caculate Memory Bandwidth?&lt;/P&gt;

&lt;P&gt;And E5-2680 sum all 8 Memory Controller Channel to caculate Memory Bandwidth?&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jul 2017 07:17:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Is-did-of-Device-5-Function-0-on-v4-wrong/m-p/1153382#M6875</guid>
      <dc:creator>GHui</dc:creator>
      <dc:date>2017-07-27T07:17:10Z</dc:date>
    </item>
    <item>
      <title>On some systems there are PCI</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Is-did-of-Device-5-Function-0-on-v4-wrong/m-p/1153383#M6876</link>
      <description>&lt;P&gt;On some systems there are PCI devices shown by "lspci" that do not correspond to hardware that is actually present.&amp;nbsp; It looks like that might be the case on your Xeon E5-2630 v4 platform.&lt;/P&gt;

&lt;P&gt;The Xeon E5-2630 v4 is probably a 10-core die, so it will have only one memory controller, and all four DRAM channels will be on that controller.&amp;nbsp; From my reading of the Xeon E5 v4 uncore performance monitoring guide, I expect those to be 7f:14.0, 7f:14.1, 7f:15.0, 7f:15.1 on the first socket.&amp;nbsp; These four devices are channels 0,1,2,3 on memory controller 0. &amp;nbsp; The 7f:17.0 device would correspond to memory controller 1, DRAM channel 0, but I don't think that exists on this system.&lt;/P&gt;

&lt;P&gt;Everything should be the same on the other socket, but with bus 7f replaced with bus ff.&lt;/P&gt;

&lt;P&gt;The Xeon E5-2680 v4 is based on the 15-core die, so it has two memory controllers with two DRAM channels each.&amp;nbsp; 14.0 and 14.0 correspond to DRAM channels 0 and 1 on memory controller 0.&amp;nbsp; The other 2 DRAM channels are on memory controller 1, using devices 17.0 and 17.1.&amp;nbsp;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;BR /&gt;
	&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jul 2017 17:47:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Is-did-of-Device-5-Function-0-on-v4-wrong/m-p/1153383#M6876</guid>
      <dc:creator>McCalpinJohn</dc:creator>
      <dc:date>2017-07-27T17:47:34Z</dc:date>
    </item>
  </channel>
</rss>

