<?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 Sorry, guys,I don't have a in Software Tuning, Performance Optimization &amp; Platform Monitoring</title>
    <link>https://community.intel.com/t5/Software-Tuning-Performance/PCM-can-not-work-with-suse11-sp1/m-p/975756#M2937</link>
    <description>&lt;P&gt;Sorry, guys,I don't have a nehalem-EP platform.&lt;/P&gt;
&lt;P&gt;I try PCM 2.5.1 on my nehalem-EX platform which have eight Xeon E6540 processors and westmere-EP platform which have two Intel E5620 processors, the PCM can work normally on both.&lt;/P&gt;</description>
    <pubDate>Fri, 16 Aug 2013 02:08:32 GMT</pubDate>
    <dc:creator>Tongliang_L_</dc:creator>
    <dc:date>2013-08-16T02:08:32Z</dc:date>
    <item>
      <title>PCM can not work with suse11 sp1</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/PCM-can-not-work-with-suse11-sp1/m-p/975750#M2931</link>
      <description>Hi all:

I have a server with E5504 processor and it's OS is Suse 11 sp1 customized,whitch with no graphic lib,and glibc version is lib-2.7.so.
I want to use PCM to get L1/L2 cache hit rate and IPC to performance system.

But after I installed PCM, I ececute the command ./pcm.x 1 -ns,  the screen is hang  and i can do nothing. Ctrl +c can not stop it. and CPU utilization of  core 0~2 become 99%.

when I use linux strace to follow  the system call, It's show this:

umask(0)                                = 022
statfs("/dev/shm", {f_type=0x858458f6, f_bsize=4096, f_blocks=0, f_bfree=0, f_bavail=0, f_files=0, f_ffree=0, f_fsid={0, 0}, f_namelen=255, f_frsize=4096}) = 0
brk(0)                                  = 0x62c000
brk(0x64d000)                           = 0x64d000
open("/proc/mounts", O_RDONLY)          = 4
fstat(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f0ece909000
read(4, "rootfs / rootfs rw 0 0\n/proc /pr"..., 1024) = 929
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0x7f0ece909000, 4096)            = 0
futex(0x7f0ece6f22b8, 0x81 /* FUTEX_??? */, 2147483647) = 0



It's looks like hang to this line futex(). I also get the log:

PCM::PCM() :
    UnsupportedMessage("Error: unsupported processor. Only Intel(R) processors are supported (Atom(R) and microarchitecture codename Nehalem, Westmere, Sandy Bridge and Ivy Bridge)."),
    cpu_family(-1),
    cpu_model(-1),
    threads_per_core(0),
    num_cores(0),
    num_sockets(0),
    core_gen_counter_num_max(0),
    core_gen_counter_num_used(0), // 0 means no core gen counters used
    core_gen_counter_width(0),
    core_fixed_counter_num_max(0),
    core_fixed_counter_num_used(0),
    core_fixed_counter_width(0),
    uncore_gen_counter_num_max(8),
    uncore_gen_counter_num_used(0),
    uncore_gen_counter_width(48),
    uncore_fixed_counter_num_max(1),
    uncore_fixed_counter_num_used(0),
    uncore_fixed_counter_width(48),
    perfmon_version(0),
    perfmon_config_anythread(1),
    nominal_frequency(0),
    qpi_speed(0),
    pkgThermalSpecPower(-1),
    pkgMinimumPower(-1), 
    pkgMaximumPower(-1),
    MSR(NULL),    
    jkt_uncore_pci(NULL),
    clientBW(NULL),
    clientImcReads(NULL),
    clientImcWrites(NULL),
    mode(INVALID_MODE),
    disable_JKT_workaround(false),
    canUsePerf(false)

I found file cpucounterstest.cpp , add print log to trace, finally found CPU stay on this code - PCM * m = PCM::getInstance();

so I want to know why PCM stay ? and how to let PCM work rightly.

thanks
Ruifeng.</description>
      <pubDate>Wed, 14 Aug 2013 08:17:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/PCM-can-not-work-with-suse11-sp1/m-p/975750#M2931</guid>
      <dc:creator>Wang_Ruifeng</dc:creator>
      <dc:date>2013-08-14T08:17:15Z</dc:date>
    </item>
    <item>
      <title>what's your PCM version?</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/PCM-can-not-work-with-suse11-sp1/m-p/975751#M2932</link>
      <description>&lt;P&gt;what's your PCM version?&lt;/P&gt;
&lt;P&gt;As the log , it seems that the PCM can not recognize your CPU. You can trace the code and print your CPU Model which PCM can found.&lt;/P&gt;
&lt;P&gt;In my PCM 2.5.1&amp;nbsp; I can find the reference codes in cpucounter.cpp from Line 356 to Line 357.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Aug 2013 08:58:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/PCM-can-not-work-with-suse11-sp1/m-p/975751#M2932</guid>
      <dc:creator>Tongliang_L_</dc:creator>
      <dc:date>2013-08-14T08:58:58Z</dc:date>
    </item>
    <item>
      <title>thank your reply Tongliang.</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/PCM-can-not-work-with-suse11-sp1/m-p/975752#M2933</link>
      <description>&lt;P&gt;thank your reply Tongliang.&lt;/P&gt;
&lt;P&gt;My PCM version is 2.4.&lt;/P&gt;
&lt;P&gt;As contrast, I installed PCM v2.4 on this server(processor is xeon E5504) but OS is standard Suse11 sp1, it can work rightly, so i wondered if the suse OS is the problem, but i can not know how to bypass this case and let my PCM run rightly on my coustomized suse11 sp1.&lt;/P&gt;
&lt;P&gt;Anybody meet the same issue?&lt;/P&gt;</description>
      <pubDate>Thu, 15 Aug 2013 03:39:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/PCM-can-not-work-with-suse11-sp1/m-p/975752#M2933</guid>
      <dc:creator>Wang_Ruifeng</dc:creator>
      <dc:date>2013-08-15T03:39:45Z</dc:date>
    </item>
    <item>
      <title>Hello Tongliang,</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/PCM-can-not-work-with-suse11-sp1/m-p/975753#M2934</link>
      <description>&lt;P&gt;Hello Tongliang,&lt;/P&gt;
&lt;P&gt;It looks like you have nehalem-EP which should be supported by PCM. Can you try the current version of PCM: version 2.5.1 ?&lt;/P&gt;
&lt;P&gt;Pat&lt;/P&gt;</description>
      <pubDate>Thu, 15 Aug 2013 04:00:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/PCM-can-not-work-with-suse11-sp1/m-p/975753#M2934</guid>
      <dc:creator>Patrick_F_Intel1</dc:creator>
      <dc:date>2013-08-15T04:00:04Z</dc:date>
    </item>
    <item>
      <title>Hello pat,</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/PCM-can-not-work-with-suse11-sp1/m-p/975754#M2935</link>
      <description>&lt;P&gt;Hello pat,&lt;/P&gt;
&lt;P&gt;I try the version 2.5.1,it's also hang this command when i input "./pcm.x 1 -ns", and i try the processor Xeon E5645, the same as E5504.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Aug 2013 08:22:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/PCM-can-not-work-with-suse11-sp1/m-p/975754#M2935</guid>
      <dc:creator>Wang_Ruifeng</dc:creator>
      <dc:date>2013-08-15T08:22:25Z</dc:date>
    </item>
    <item>
      <title>I'm not sure what is going on</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/PCM-can-not-work-with-suse11-sp1/m-p/975755#M2936</link>
      <description>&lt;P&gt;I'm not sure what is going on but I have a couple of questions.&lt;/P&gt;
&lt;P&gt;Are you running as root?&lt;/P&gt;
&lt;P&gt;Are you running under native Suse or are you running in a virtual machine?&lt;/P&gt;</description>
      <pubDate>Thu, 15 Aug 2013 13:17:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/PCM-can-not-work-with-suse11-sp1/m-p/975755#M2936</guid>
      <dc:creator>Patrick_F_Intel1</dc:creator>
      <dc:date>2013-08-15T13:17:57Z</dc:date>
    </item>
    <item>
      <title>Sorry, guys,I don't have a</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/PCM-can-not-work-with-suse11-sp1/m-p/975756#M2937</link>
      <description>&lt;P&gt;Sorry, guys,I don't have a nehalem-EP platform.&lt;/P&gt;
&lt;P&gt;I try PCM 2.5.1 on my nehalem-EX platform which have eight Xeon E6540 processors and westmere-EP platform which have two Intel E5620 processors, the PCM can work normally on both.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Aug 2013 02:08:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/PCM-can-not-work-with-suse11-sp1/m-p/975756#M2937</guid>
      <dc:creator>Tongliang_L_</dc:creator>
      <dc:date>2013-08-16T02:08:32Z</dc:date>
    </item>
    <item>
      <title>Hello Tongliang,</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/PCM-can-not-work-with-suse11-sp1/m-p/975757#M2938</link>
      <description>&lt;P&gt;Hello Tongliang,&lt;/P&gt;
&lt;P&gt;I'm sorry... I should have said that it looks like Wang has a Nehalem-EP.&lt;/P&gt;
&lt;P&gt;Pat&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Tongliang L. wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Sorry, guys,I don't have a nehalem-EP platform.&lt;/P&gt;
&lt;P&gt;I try PCM 2.5.1 on my nehalem-EX platform which have eight Xeon E6540 processors and westmere-EP platform which have two Intel E5620 processors, the PCM can work normally on both.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Aug 2013 02:19:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/PCM-can-not-work-with-suse11-sp1/m-p/975757#M2938</guid>
      <dc:creator>Patrick_F_Intel1</dc:creator>
      <dc:date>2013-08-16T02:19:16Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/PCM-can-not-work-with-suse11-sp1/m-p/975758#M2939</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I don't see any PCM output here. I only see source code (but you wanted to post log/output?).&lt;/P&gt;
&lt;P&gt;This reminds me this issue:&amp;nbsp;&lt;A href="http://software.intel.com/en-us/forums/topic/279776"&gt;http://software.intel.com/en-us/forums/topic/279776&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;It could happen because of an unclean shutdown of previous pcm run (if killed with -9 for example). The solution is a reboot or cleaning PCM semaphore state:&lt;/P&gt;
&lt;P&gt;1. press Ctrl-Z to send pcm.x into background&lt;BR /&gt;2. killall -9 pcm.x&lt;BR /&gt;3. rm -rf /dev/shm/sem.*Intel*&lt;/P&gt;
&lt;P&gt;Does it help?&lt;/P&gt;
&lt;P&gt;Roman&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2013 11:49:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/PCM-can-not-work-with-suse11-sp1/m-p/975758#M2939</guid>
      <dc:creator>Roman_D_Intel</dc:creator>
      <dc:date>2013-08-19T11:49:00Z</dc:date>
    </item>
    <item>
      <title>Hi, Roman, your solution is</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/PCM-can-not-work-with-suse11-sp1/m-p/975759#M2940</link>
      <description>&lt;P&gt;Hi, Roman, your solution is exactly useful for me&lt;/P&gt;
&lt;P&gt;Thank you very much.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Aug 2013 03:05:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/PCM-can-not-work-with-suse11-sp1/m-p/975759#M2940</guid>
      <dc:creator>Tongliang_L_</dc:creator>
      <dc:date>2013-08-21T03:05:22Z</dc:date>
    </item>
  </channel>
</rss>

