<?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 My current understanding is in Software Tuning, Performance Optimization &amp; Platform Monitoring</title>
    <link>https://community.intel.com/t5/Software-Tuning-Performance/pcm-memory-x-fails-to-read-memory-stats/m-p/1067741#M5264</link>
    <description>&lt;P&gt;My current understanding is that you have to rely on Integrated Memory Controller counters stated in&amp;nbsp;https://software.intel.com/en-us/articles/monitoring-integrated-memory-controller-requests-in-the-2nd-3rd-and-4th-generation-intel . Those are reported by pcm.x.&lt;/P&gt;</description>
    <pubDate>Fri, 31 Mar 2017 01:09:43 GMT</pubDate>
    <dc:creator>Somnath_M_</dc:creator>
    <dc:date>2017-03-31T01:09:43Z</dc:date>
    <item>
      <title>pcm-memory.x fails to read memory stats</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/pcm-memory-x-fails-to-read-memory-stats/m-p/1067740#M5263</link>
      <description>&lt;P&gt;Greetings,&lt;/P&gt;

&lt;P&gt;I built and ran the PCM code on Ubuntu 16.04 PC with Intel Core i7-4810MQ running at 2.8GHz. "&lt;STRONG&gt;pcm.x&lt;/STRONG&gt;" returns some memory stats but "&lt;STRONG&gt;pcm-memory.x&lt;/STRONG&gt;" fails. How can I resolve the issue?&lt;/P&gt;

&lt;P&gt;Output of &lt;STRONG&gt;pcm-memory.x&lt;/STRONG&gt;:&lt;/P&gt;

&lt;PRE class="brush:;"&gt;$ sudo ./pcm-memory.x

 Processor Counter Monitor: Memory Bandwidth Monitoring Utility  ($Format:%ci ID=%h$)

 This utility measures memory bandwidth per channel or per DIMM rank in real-time

Number of physical cores: 4
Number of logical cores: 8
Number of online logical cores: 8
Threads (logical cores) per physical core: 2
Num sockets: 1
Physical cores per socket: 4
Core PMU (perfmon) version: 3
Number of core PMU generic (programmable) counters: 4
Width of generic (programmable) counters: 48 bits
Number of core PMU fixed counters: 3
Width of fixed counters: 48 bits
Nominal core frequency: 2800000000 Hz
Package thermal spec power: 47 Watt; Package minimum power: 0 Watt; Package maximum power: 0 Watt; 
Access to Processor Counter Monitor has denied (&lt;STRONG&gt;no MSR or PCI CFG space access&lt;/STRONG&gt;).
Cleaning up
&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Parts of &lt;STRONG&gt;pcm.x&lt;/STRONG&gt; output:&lt;/P&gt;

&lt;PRE class="brush:;"&gt;$ sudo ./pcm.x 

 Processor Counter Monitor  ($Format:%ci ID=%h$)


Number of physical cores: 4
Number of logical cores: 8
Number of online logical cores: 8
Threads (logical cores) per physical core: 2
Num sockets: 1
Physical cores per socket: 4
Core PMU (perfmon) version: 3
Number of core PMU generic (programmable) counters: 4
Width of generic (programmable) counters: 48 bits
Number of core PMU fixed counters: 3
Width of fixed counters: 48 bits
Nominal core frequency: 2800000000 Hz
Package thermal spec power: 47 Watt; Package minimum power: 0 Watt; Package maximum power: 0 Watt; 

Detected Intel(R) Core(TM) i7-4810MQ CPU @ 2.80GHz "Intel(r) microarchitecture codename Haswell" stepping 3

&amp;lt;snip&amp;gt;
 Instructions retired:   27 M ; Active cycles:  124 M ; Time (TSC): 2794 Mticks ; C0 (active,non-halted) core residency: 0.59 %

 C1 core residency: 4.26 %; C3 core residency: 0.32 %; C6 core residency: 0.18 %; C7 core residency: 94.65 %;
 C2 package residency: 79.76 %; C3 package residency: 0.00 %; C6 package residency: 0.00 %; C7 package residency: 0.00 %;

 PHYSICAL CORE IPC                 : 0.45 =&amp;gt; corresponds to 11.18 % utilization for cores in active state
 Instructions per nominal CPU cycle: 0.00 =&amp;gt; corresponds to 0.06 % core utilization over time interval
---------------------------------------------------------------------------------------------------------------
MEM (GB)-&amp;gt;|  READ |  WRITE |   IO   | CPU energy |
---------------------------------------------------------------------------------------------------------------
 SKT   0     0.64     0.07     0.50       8.39     
---------------------------------------------------------------------------------------------------------------
&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Mar 2017 22:54:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/pcm-memory-x-fails-to-read-memory-stats/m-p/1067740#M5263</guid>
      <dc:creator>Somnath_M_</dc:creator>
      <dc:date>2017-03-27T22:54:23Z</dc:date>
    </item>
    <item>
      <title>My current understanding is</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/pcm-memory-x-fails-to-read-memory-stats/m-p/1067741#M5264</link>
      <description>&lt;P&gt;My current understanding is that you have to rely on Integrated Memory Controller counters stated in&amp;nbsp;https://software.intel.com/en-us/articles/monitoring-integrated-memory-controller-requests-in-the-2nd-3rd-and-4th-generation-intel . Those are reported by pcm.x.&lt;/P&gt;</description>
      <pubDate>Fri, 31 Mar 2017 01:09:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/pcm-memory-x-fails-to-read-memory-stats/m-p/1067741#M5264</guid>
      <dc:creator>Somnath_M_</dc:creator>
      <dc:date>2017-03-31T01:09:43Z</dc:date>
    </item>
  </channel>
</rss>

