<?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 Vtune: Accuracy of measurements using Intel sampling drivers on a machine running other tasks in Analyzers</title>
    <link>https://community.intel.com/t5/Analyzers/Vtune-Accuracy-of-measurements-using-Intel-sampling-drivers-on-a/m-p/1287505#M20627</link>
    <description>&lt;P&gt;I have the latest coffeelake machine which is primarily used as a storage server. The average workload on each core (4 cores) is around 5-10% when running a storage server alone.&lt;/P&gt;
&lt;P&gt;I want to run vtune measurements of a workload on this machine using Intel Sampling drivers. However, I'm doubtful whether or not the measurements will be accurate given the storage server application is concurrently running.&lt;/P&gt;
&lt;P&gt;But as the intel's documents suggest, the sampling drivers get installed on the Linux kernel, so is it really the case that the measurements will be inaccurate if run concurrently with other applications? In other words, how exactly do the intel sampling drivers work? Are they able to distinguish between the workload process and other processes running on the system?&lt;/P&gt;</description>
    <pubDate>Sun, 06 Jun 2021 07:45:20 GMT</pubDate>
    <dc:creator>HarshVardhanKumar</dc:creator>
    <dc:date>2021-06-06T07:45:20Z</dc:date>
    <item>
      <title>Vtune: Accuracy of measurements using Intel sampling drivers on a machine running other tasks</title>
      <link>https://community.intel.com/t5/Analyzers/Vtune-Accuracy-of-measurements-using-Intel-sampling-drivers-on-a/m-p/1287505#M20627</link>
      <description>&lt;P&gt;I have the latest coffeelake machine which is primarily used as a storage server. The average workload on each core (4 cores) is around 5-10% when running a storage server alone.&lt;/P&gt;
&lt;P&gt;I want to run vtune measurements of a workload on this machine using Intel Sampling drivers. However, I'm doubtful whether or not the measurements will be accurate given the storage server application is concurrently running.&lt;/P&gt;
&lt;P&gt;But as the intel's documents suggest, the sampling drivers get installed on the Linux kernel, so is it really the case that the measurements will be inaccurate if run concurrently with other applications? In other words, how exactly do the intel sampling drivers work? Are they able to distinguish between the workload process and other processes running on the system?&lt;/P&gt;</description>
      <pubDate>Sun, 06 Jun 2021 07:45:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Vtune-Accuracy-of-measurements-using-Intel-sampling-drivers-on-a/m-p/1287505#M20627</guid>
      <dc:creator>HarshVardhanKumar</dc:creator>
      <dc:date>2021-06-06T07:45:20Z</dc:date>
    </item>
    <item>
      <title>Re: Vtune: Accuracy of measurements using Intel sampling drivers on a machine running other tasks</title>
      <link>https://community.intel.com/t5/Analyzers/Vtune-Accuracy-of-measurements-using-Intel-sampling-drivers-on-a/m-p/1287948#M20631</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for posting in Intel Forums. We're checking this further. We'll get back to you soon with an update.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Alekhya&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jun 2021 12:47:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Vtune-Accuracy-of-measurements-using-Intel-sampling-drivers-on-a/m-p/1287948#M20631</guid>
      <dc:creator>AlekhyaV_Intel</dc:creator>
      <dc:date>2021-06-08T12:47:25Z</dc:date>
    </item>
    <item>
      <title>Re: Vtune: Accuracy of measurements using Intel sampling drivers on a machine running other tasks</title>
      <link>https://community.intel.com/t5/Analyzers/Vtune-Accuracy-of-measurements-using-Intel-sampling-drivers-on-a/m-p/1288790#M20646</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;VTune uses Sampling drivers as part of Hardware event-based analysis to find the bottlenecks at CPU microarchitecture level. The sampling drivers use on-chip Performance Monitoring Units (PMUs) to collect the samples. A sample is a Hardware interruption that happens when a number of a certain hardware events counted. Each sample is associated with a task that is currently being executed by CPU and&amp;nbsp;has a context – thread/process IDs, instruction pointer and etc. VTune collects all samples independently of number of running processes, then shows them distributed among all processes (Profile System mode) or associated to a single process (Launch/Attach modes). That's how the sampling drivers work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;On the other hand, the Hardware event-based sampling mechanism is not accurate due to skid of the instruction pointer effect. By the time the hardware interrupt is issued and caught, the instruction pointer is likely to be changed (progressed) and thus give a slightly inaccurate location of the code that triggered the event. It can be mitigated by using PEBS on Intel processors.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, The accuracy of data collected by VTune does not vary with the number of applications running on the processor. However, when the processor is already loaded with other applications, they may interfere with each other and may affect the performance of the application. That's not caused by VTune. We have provided few links that would be helpful for you.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://software.intel.com/content/www/us/en/develop/documentation/vtune-help/top/analyze-performance/hardware-event-based-sampling-collection.html" target="_blank" rel="noopener"&gt;https://software.intel.com/content/www/us/en/develop/documentation/vtune-help/top/analyze-performance/hardware-event-based-sampling-collection.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Alekhya&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jun 2021 08:31:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Vtune-Accuracy-of-measurements-using-Intel-sampling-drivers-on-a/m-p/1288790#M20646</guid>
      <dc:creator>AlekhyaV_Intel</dc:creator>
      <dc:date>2021-06-21T08:31:40Z</dc:date>
    </item>
    <item>
      <title>Re:Vtune: Accuracy of measurements using Intel sampling drivers on a machine running other tasks</title>
      <link>https://community.intel.com/t5/Analyzers/Vtune-Accuracy-of-measurements-using-Intel-sampling-drivers-on-a/m-p/1290594#M20758</link>
      <description>&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Could you please give us an update regarding this issue?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Alekhya&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 17 Jun 2021 05:44:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Vtune-Accuracy-of-measurements-using-Intel-sampling-drivers-on-a/m-p/1290594#M20758</guid>
      <dc:creator>AlekhyaV_Intel</dc:creator>
      <dc:date>2021-06-17T05:44:20Z</dc:date>
    </item>
    <item>
      <title>Re: Vtune: Accuracy of measurements using Intel sampling drivers on a machine running other tasks</title>
      <link>https://community.intel.com/t5/Analyzers/Vtune-Accuracy-of-measurements-using-Intel-sampling-drivers-on-a/m-p/1291011#M20768</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;
&lt;P&gt;&lt;SPAN&gt;It can be mitigated by using PEBS on Intel processors.&lt;/SPAN&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;This part I did not fully understand. Can you provide some links or Intel tutorials on these? The rest of the answer was helpful. Thanks.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Harsh&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jun 2021 08:27:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Vtune-Accuracy-of-measurements-using-Intel-sampling-drivers-on-a/m-p/1291011#M20768</guid>
      <dc:creator>HarshVardhanKumar</dc:creator>
      <dc:date>2021-06-18T08:27:55Z</dc:date>
    </item>
    <item>
      <title>Re:Vtune: Accuracy of measurements using Intel sampling drivers on a machine running other tasks</title>
      <link>https://community.intel.com/t5/Analyzers/Vtune-Accuracy-of-measurements-using-Intel-sampling-drivers-on-a/m-p/1292815#M20804</link>
      <description>&lt;P&gt;&lt;SPAN style="font-size: 14px;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14px; font-family: Merriweather, Georgia, Times;"&gt;The problem with the&amp;nbsp;skids is possible to mitigate by having the processor itself to store the instruction pointer (along with other information) in a designated buffer in memory. No interrupts are issued for each sample and the instruction pointer is off only by a single instruction, at most. This needs to be supported by the hardware, and is typically available only for a subset of supported events. So this capability is called Processor Event-Based Sampling (PEBS) on Intel processors.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14px; font-family: Merriweather, Georgia, Times;"&gt;You can refer the following link for more information on PEBS on Intel Processors:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://easyperf.net/blog/2018/06/08/Advanced-profiling-topics-PEBS-and-LBR#processor-event-based-sampling-pebs" target="_blank"&gt;https://easyperf.net/blog/2018/06/08/Advanced-profiling-topics-PEBS-and-LBR#processor-event-based-sampling-pebs&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Alekhya&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 24 Jun 2021 07:33:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Vtune-Accuracy-of-measurements-using-Intel-sampling-drivers-on-a/m-p/1292815#M20804</guid>
      <dc:creator>AlekhyaV_Intel</dc:creator>
      <dc:date>2021-06-24T07:33:46Z</dc:date>
    </item>
    <item>
      <title>Re:Vtune: Accuracy of measurements using Intel sampling drivers on a machine running other tasks</title>
      <link>https://community.intel.com/t5/Analyzers/Vtune-Accuracy-of-measurements-using-Intel-sampling-drivers-on-a/m-p/1295034#M20874</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Is your issue resolved? Could you please give us an update?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Alekhya&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 01 Jul 2021 12:24:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Vtune-Accuracy-of-measurements-using-Intel-sampling-drivers-on-a/m-p/1295034#M20874</guid>
      <dc:creator>AlekhyaV_Intel</dc:creator>
      <dc:date>2021-07-01T12:24:20Z</dc:date>
    </item>
    <item>
      <title>Re:Vtune: Accuracy of measurements using Intel sampling drivers on a machine running other tasks</title>
      <link>https://community.intel.com/t5/Analyzers/Vtune-Accuracy-of-measurements-using-Intel-sampling-drivers-on-a/m-p/1295908#M20899</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thank you for accepting our solution. If you need any additional information, please submit a new question as this thread will no longer be monitored.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Alekhya&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 05 Jul 2021 07:30:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Vtune-Accuracy-of-measurements-using-Intel-sampling-drivers-on-a/m-p/1295908#M20899</guid>
      <dc:creator>AlekhyaV_Intel</dc:creator>
      <dc:date>2021-07-05T07:30:31Z</dc:date>
    </item>
  </channel>
</rss>

