<?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 SPEC CPU, openmp, benchmarking in Intel® oneAPI DPC++/C++ Compiler</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/SPEC-CPU-openmp-benchmarking/m-p/1679181#M4388</link>
    <description>&lt;P&gt;Hi everyone, I'm not sure if I'm posting in the right thread (please let me know if I am) but tell me what I should do.&lt;/P&gt;&lt;P&gt;I am running a bunch of benchmarks from SPEC CPU2017. And I am getting 10-15% lower results on my system than on similar configurations. I started to run the benchmarks one by one and chose 607 (simply because it builds and runs fast enough).&lt;BR /&gt;The 607 benchmark shows a result +- 40% worse than the "benchmark". Thanks to "perf record -ag -F99" I was able to find out that this 40% time is spent on "_ZN11kmp_flag_64ILb0ELb1EE4waitEP8kmp_infoiPv". After a bit of googling I found out that it has something to do with openmp, C++ and multithreading. Maybe there are some special optimisation flags I don't know about?&lt;/P&gt;&lt;P&gt;Here are the build details:&lt;/P&gt;&lt;P&gt;icpx compiler: Intel(R) oneAPI DPC++\/C++ Compiler 2025.0.4 (2025.0.4.20241205)&lt;/P&gt;&lt;P&gt;icpx build line: -std=c++14 -std=c11 -Wl,-z,muldefs -xCORE-AVX512 -Ofast -ffast-math -flto -mfpmath=sse -funroll-loops -qopt-mem-layout-trans=4 -fiopenmp -DSPEC_OPENMP -Wno-implicit-int -L/home/user/jemalloc-5.3.0/lib&lt;/P&gt;&lt;P&gt;OS: Red Hat&lt;BR /&gt;Kernel: 5.14.0-503.34.1.el9_5.x86_64&lt;BR /&gt;I have a 2 CPU in system&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 31 Mar 2025 08:18:53 GMT</pubDate>
    <dc:creator>Fin_</dc:creator>
    <dc:date>2025-03-31T08:18:53Z</dc:date>
    <item>
      <title>SPEC CPU, openmp, benchmarking</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/SPEC-CPU-openmp-benchmarking/m-p/1679181#M4388</link>
      <description>&lt;P&gt;Hi everyone, I'm not sure if I'm posting in the right thread (please let me know if I am) but tell me what I should do.&lt;/P&gt;&lt;P&gt;I am running a bunch of benchmarks from SPEC CPU2017. And I am getting 10-15% lower results on my system than on similar configurations. I started to run the benchmarks one by one and chose 607 (simply because it builds and runs fast enough).&lt;BR /&gt;The 607 benchmark shows a result +- 40% worse than the "benchmark". Thanks to "perf record -ag -F99" I was able to find out that this 40% time is spent on "_ZN11kmp_flag_64ILb0ELb1EE4waitEP8kmp_infoiPv". After a bit of googling I found out that it has something to do with openmp, C++ and multithreading. Maybe there are some special optimisation flags I don't know about?&lt;/P&gt;&lt;P&gt;Here are the build details:&lt;/P&gt;&lt;P&gt;icpx compiler: Intel(R) oneAPI DPC++\/C++ Compiler 2025.0.4 (2025.0.4.20241205)&lt;/P&gt;&lt;P&gt;icpx build line: -std=c++14 -std=c11 -Wl,-z,muldefs -xCORE-AVX512 -Ofast -ffast-math -flto -mfpmath=sse -funroll-loops -qopt-mem-layout-trans=4 -fiopenmp -DSPEC_OPENMP -Wno-implicit-int -L/home/user/jemalloc-5.3.0/lib&lt;/P&gt;&lt;P&gt;OS: Red Hat&lt;BR /&gt;Kernel: 5.14.0-503.34.1.el9_5.x86_64&lt;BR /&gt;I have a 2 CPU in system&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Mar 2025 08:18:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/SPEC-CPU-openmp-benchmarking/m-p/1679181#M4388</guid>
      <dc:creator>Fin_</dc:creator>
      <dc:date>2025-03-31T08:18:53Z</dc:date>
    </item>
    <item>
      <title>Re: SPEC CPU, openmp, benchmarking</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/SPEC-CPU-openmp-benchmarking/m-p/1682363#M4412</link>
      <description>&lt;P&gt;We have published SPECspeed* 2017 &lt;A href="https://www.intel.com/content/www/us/en/developer/tools/oneapi/dpc-compiler.html#gs.ljly5d" target="_blank"&gt;https://www.intel.com/content/www/us/en/developer/tools/oneapi/dpc-compiler.html#gs.ljly5d&lt;/A&gt;&lt;BR /&gt;You can check "Configuration Details" and see if that helps your configuration.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Apr 2025 15:39:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/SPEC-CPU-openmp-benchmarking/m-p/1682363#M4412</guid>
      <dc:creator>Viet_H_Intel</dc:creator>
      <dc:date>2025-04-11T15:39:09Z</dc:date>
    </item>
  </channel>
</rss>

