<?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 Re:CPU inference, comparing old and new cpu in Intel® Distribution of OpenVINO™ Toolkit</title>
    <link>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/CPU-inference-comparing-old-and-new-cpu/m-p/1495177#M29567</link>
    <description>&lt;P&gt;&lt;SPAN style="font-size: 14px;"&gt;Hi Brian2,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14px;"&gt;Thanks for reaching out.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14px;"&gt;Yes, you may set the specific core type base on your requirement. However, the slow inference on an old CPU is expected based on the system configuration and hardware specifications. Before upgrading your hardware, I would advise you to refer to the&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://docs.openvino.ai/latest/openvino_docs_performance_benchmarks.html" rel="noopener noreferrer" target="_blank" style="font-size: 14px;"&gt;Intel® Distribution of OpenVINO™ toolkit Benchmark Results&lt;/A&gt;&lt;SPAN style="font-size: 14px;"&gt;&amp;nbsp;for the inference performance on a specified hardware configuration. Additionally, it also contains a thorough explanation of factors that affect IR model performance.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14px;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14px;"&gt;Aznie&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 13 Jun 2023 07:31:38 GMT</pubDate>
    <dc:creator>Aznie_Intel</dc:creator>
    <dc:date>2023-06-13T07:31:38Z</dc:date>
    <item>
      <title>CPU inference, comparing old and new cpu</title>
      <link>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/CPU-inference-comparing-old-and-new-cpu/m-p/1494877#M29562</link>
      <description>&lt;P&gt;Hi Forum&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm testing a production solution for inference on the edge.&lt;/P&gt;&lt;P&gt;(We have some simple CNN models which has been trained using TF2 and converted to&lt;/P&gt;&lt;P&gt;openvino via the model optimizer, mo.)&lt;/P&gt;&lt;P&gt;Everything works, and have been for long, but my assumption that a newer intel cpu would be faster has not satisified my hopes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On developer machine : i7-11700 inference result is 7ms.&lt;/P&gt;&lt;P&gt;On production machine : i5-13600K inference result is 9ms.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Results are mean results from many iterations of&lt;/P&gt;&lt;P&gt;&lt;EM&gt;request.set_input_tensor( wrapMat2Tensor( M ) );&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;request.start_async();&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;request.wait();&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On both machines the&lt;/P&gt;&lt;P&gt;&lt;EM&gt;/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;is set to performance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I naively thought that I would get a few milliseconds off of the inference time. (newer core, more GHz, more cache, more more more .. ).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What can I do/test/verify/change?&lt;/P&gt;&lt;P&gt;- is my version (i5 13-th gen) really slower for this kind of job as the older i7 11'th gen?&lt;/P&gt;&lt;P&gt;- must I buy a i7 or i9 to really see some performace boost?&lt;/P&gt;&lt;P&gt;- is openvino (2023) using the 'performance cores' pr default? If not could you direct me towards some API (C++) which will enable this?&lt;/P&gt;&lt;P&gt;- IF I need the extra performance (AND YES I DO!) what hardware should I be looking at?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope to get a few pointers, Have a Good one!&lt;/P&gt;&lt;P&gt;/Brian&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jun 2023 11:26:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/CPU-inference-comparing-old-and-new-cpu/m-p/1494877#M29562</guid>
      <dc:creator>brian2</dc:creator>
      <dc:date>2023-06-12T11:26:00Z</dc:date>
    </item>
    <item>
      <title>Re: CPU inference, comparing old and new cpu</title>
      <link>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/CPU-inference-comparing-old-and-new-cpu/m-p/1494896#M29563</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Regarding P-Cores and E-Cores:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I found the docu at : &lt;A href="https://docs.openvino.ai/2023.0/groupov_runtime_cpp_prop_api.html#detailed-documentation" target="_blank"&gt;https://docs.openvino.ai/2023.0/groupov_runtime_cpp_prop_api.html#detailed-documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Using&lt;/P&gt;&lt;P&gt;&lt;EM&gt;ov::CompiledModel compiled_model = core.compile_model(model, "CPU",&lt;/EM&gt;&lt;BR /&gt;&lt;EM&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;&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;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ov::hint::performance_mode(ov::hint::PerformanceMode::LATENCY),&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&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;&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;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ov::hint::scheduling_core_type(ov::hint::SchedulingCoreType::ECORE_ONLY));&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I get 19ms&lt;/P&gt;&lt;P&gt;and with&lt;/P&gt;&lt;P&gt;&lt;EM&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;&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;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ov::hint::scheduling_core_type(ov::hint::SchedulingCoreType::PCORE_ONLY));&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I get the 9ms.&lt;/P&gt;&lt;P&gt;Ie It is already utilizing the P-Cores in my default setup.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jun 2023 13:02:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/CPU-inference-comparing-old-and-new-cpu/m-p/1494896#M29563</guid>
      <dc:creator>brian2</dc:creator>
      <dc:date>2023-06-12T13:02:38Z</dc:date>
    </item>
    <item>
      <title>Re:CPU inference, comparing old and new cpu</title>
      <link>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/CPU-inference-comparing-old-and-new-cpu/m-p/1495177#M29567</link>
      <description>&lt;P&gt;&lt;SPAN style="font-size: 14px;"&gt;Hi Brian2,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14px;"&gt;Thanks for reaching out.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14px;"&gt;Yes, you may set the specific core type base on your requirement. However, the slow inference on an old CPU is expected based on the system configuration and hardware specifications. Before upgrading your hardware, I would advise you to refer to the&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://docs.openvino.ai/latest/openvino_docs_performance_benchmarks.html" rel="noopener noreferrer" target="_blank" style="font-size: 14px;"&gt;Intel® Distribution of OpenVINO™ toolkit Benchmark Results&lt;/A&gt;&lt;SPAN style="font-size: 14px;"&gt;&amp;nbsp;for the inference performance on a specified hardware configuration. Additionally, it also contains a thorough explanation of factors that affect IR model performance.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14px;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14px;"&gt;Aznie&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 13 Jun 2023 07:31:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/CPU-inference-comparing-old-and-new-cpu/m-p/1495177#M29567</guid>
      <dc:creator>Aznie_Intel</dc:creator>
      <dc:date>2023-06-13T07:31:38Z</dc:date>
    </item>
    <item>
      <title>Re: Re:CPU inference, comparing old and new cpu</title>
      <link>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/CPU-inference-comparing-old-and-new-cpu/m-p/1495187#M29568</link>
      <description>Hi Aznie&lt;BR /&gt;And Thanks for reaching out..&lt;BR /&gt;Yes I would also expect a slow inference on an old cpu.&lt;BR /&gt;&lt;BR /&gt;BUT my topic is the inverse.&lt;BR /&gt;&lt;BR /&gt;I did not expect a slower inference on a newer cpu. (11th gen i7 faster than 13th gen i5)&lt;BR /&gt;&lt;BR /&gt;I know that you can not investigate my topic in details without my system, BUT maybe you had some trick up your sleeve or some points to help me locate why I see these results ..&lt;BR /&gt;I aim at a simple production system with just a single cpu, but maybe I do need a top of the line for my purpose ..&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 13 Jun 2023 08:08:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/CPU-inference-comparing-old-and-new-cpu/m-p/1495187#M29568</guid>
      <dc:creator>brian2</dc:creator>
      <dc:date>2023-06-13T08:08:01Z</dc:date>
    </item>
    <item>
      <title>Re:CPU inference, comparing old and new cpu</title>
      <link>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/CPU-inference-comparing-old-and-new-cpu/m-p/1495542#M29571</link>
      <description>&lt;P&gt;&lt;SPAN style="font-size: 14px;"&gt;Hi Brian2,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14px;"&gt;Sorry for the misunderstanding. Model Optimizer can produce an IR with different precision. Which precision that you tested?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14px;"&gt;Generally, performance means how fast the model is in deployment with two key metrics as a measurement which are latency and throughput. You could try leveraging Throughput and latency by using OpenVINO performance hints.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14px;"&gt;ov&lt;/SPAN&gt;&lt;STRONG style="font-size: 14px;"&gt;::&lt;/STRONG&gt;&lt;SPAN style="font-size: 14px;"&gt;hint&lt;/SPAN&gt;&lt;STRONG style="font-size: 14px;"&gt;::&lt;/STRONG&gt;&lt;SPAN style="font-size: 14px;"&gt;performance_mode(ov&lt;/SPAN&gt;&lt;STRONG style="font-size: 14px;"&gt;::&lt;/STRONG&gt;&lt;SPAN style="font-size: 14px;"&gt;hint&lt;/SPAN&gt;&lt;STRONG style="font-size: 14px;"&gt;::&lt;/STRONG&gt;&lt;SPAN style="font-size: 14px;"&gt;PerformanceMode&lt;/SPAN&gt;&lt;STRONG style="font-size: 14px;"&gt;::&lt;/STRONG&gt;&lt;SPAN style="font-size: 14px;"&gt;THROUGHPUT));&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14px;"&gt;Refer to &lt;/SPAN&gt;&lt;A href="https://docs.openvino.ai/2023.0/openvino_docs_OV_UG_Performance_Hints.html#performance-hints-latency-and-throughput" rel="noopener noreferrer" target="_blank" style="font-size: 14px;"&gt;Performance Hints: Latency and Throughput&lt;/A&gt;&lt;SPAN style="font-size: 14px;"&gt; documentation.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14px;"&gt;Hope this helps.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14px;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14px;"&gt;Aznie&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 14 Jun 2023 02:48:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/CPU-inference-comparing-old-and-new-cpu/m-p/1495542#M29571</guid>
      <dc:creator>Aznie_Intel</dc:creator>
      <dc:date>2023-06-14T02:48:07Z</dc:date>
    </item>
    <item>
      <title>Re: Re:CPU inference, comparing old and new cpu</title>
      <link>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/CPU-inference-comparing-old-and-new-cpu/m-p/1495627#M29573</link>
      <description>Hi Aznie&lt;BR /&gt;Yeah I have tried different settings, and compared on both machines, and tried different designs where I perform single inference in sequence as well as constructing a set of requests and running them in parallel .. all same results.&lt;BR /&gt;&lt;BR /&gt;I have tried several different builds settings, building from source and installing the runtime via apt ..&lt;BR /&gt;&lt;BR /&gt;Anyway I have accepted your answer, it did point me to a resource which I had skipped ..&lt;BR /&gt;Thanks .. have a good one&lt;BR /&gt;/Brian</description>
      <pubDate>Wed, 14 Jun 2023 08:36:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/CPU-inference-comparing-old-and-new-cpu/m-p/1495627#M29573</guid>
      <dc:creator>brian2</dc:creator>
      <dc:date>2023-06-14T08:36:00Z</dc:date>
    </item>
    <item>
      <title>Re:CPU inference, comparing old and new cpu</title>
      <link>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/CPU-inference-comparing-old-and-new-cpu/m-p/1496028#M29575</link>
      <description>&lt;P&gt;Hi Brian2,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;This thread will no longer be monitored since this issue has been resolved.&amp;nbsp;If you need any additional information from Intel, please submit a new question.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Aznie&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 15 Jun 2023 05:37:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/CPU-inference-comparing-old-and-new-cpu/m-p/1496028#M29575</guid>
      <dc:creator>Aznie_Intel</dc:creator>
      <dc:date>2023-06-15T05:37:19Z</dc:date>
    </item>
  </channel>
</rss>

