<?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:How does Vtune Memory Consumption calculated? Why it is different than &amp;amp;quot;RES&amp;amp;quot; mem of top command in Analyzers</title>
    <link>https://community.intel.com/t5/Analyzers/How-does-Vtune-Memory-Consumption-calculated-Why-it-is-different/m-p/1215245#M19442</link>
    <description>&lt;P&gt;Hi Werk,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 16px; font-family: intel-clear, tahoma, Helvetica, helvetica, Arial, sans-serif;"&gt;During Memory Consumption analysis, the&amp;nbsp;VTune&amp;nbsp;Profiler&amp;nbsp;data collector intercepts memory allocation and deallocation events and captures a call sequence (stack) for each allocation event (for deallocation, only a function that released the memory is captured).&amp;nbsp;VTune&amp;nbsp;Profiler&amp;nbsp;stores the calling instruction pointer (IP) along with a call sequence in data collection files, and then analyzes and displays this data in a result tab. For more details please refer to the user guide - &lt;/SPAN&gt;&lt;A href="https://software.intel.com/content/www/us/en/develop/documentation/vtune-help/top/analyze-performance/algorithm-group/memory-consumption-analysis.html" target="_blank"&gt;https://software.intel.com/content/www/us/en/develop/documentation/vtune-help/top/analyze-performance/algorithm-group/memory-consumption-analysis.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Please note that top is showing the memory consumption at a given point in time for a particular process ID, while VTune is showing total memory consumption on a function basis (in the table that you are showing).&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;If you still think that there is a mismatch in the memory consumption numbers reported by VTune and other tools, please share a reproducer along with your vtune result folder and I will be happy to investigate further.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Amar    &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 06 Oct 2020 13:14:02 GMT</pubDate>
    <dc:creator>DrAmarpal_K_Intel</dc:creator>
    <dc:date>2020-10-06T13:14:02Z</dc:date>
    <item>
      <title>How does Vtune Memory Consumption calculated? Why it is different than "RES" mem of top command</title>
      <link>https://community.intel.com/t5/Analyzers/How-does-Vtune-Memory-Consumption-calculated-Why-it-is-different/m-p/1214141#M19420</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am wondering how does Vtune Memory Consumption calculated? From this plot in this link:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://software.intel.com/content/www/us/en/develop/documentation/vtune-help/top/analyze-performance/algorithm-group/memory-consumption-analysis/memory-consumption-and-allocations-view.html" target="_blank"&gt;https://software.intel.com/content/www/us/en/develop/documentation/vtune-help/top/analyze-performance/algorithm-group/memory-consumption-analysis/memory-consumption-and-allocations-view.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://software.intel.com/content/dam/dita/develop/vtune-help-2020-09-08-2/3307C45B-48B6-497D-856D-CE3E8197EDE2.png" border="0" /&gt;&lt;/P&gt;
&lt;P&gt;I think the memory consumption should be similar to PEAK mem. Am I correct on this?&lt;/P&gt;
&lt;P&gt;For my program, when it's running, I actively query the PID’s resident memory (RES) in “top” command, with a sampling interval of 10ms. Then I get a different number.&lt;/P&gt;
&lt;P&gt;In my case, the Vtune memory consumption reported is 91G, however the PEAK memory I got from top command is only 67G. Why there is a different? Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Thu, 01 Oct 2020 18:07:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/How-does-Vtune-Memory-Consumption-calculated-Why-it-is-different/m-p/1214141#M19420</guid>
      <dc:creator>werk</dc:creator>
      <dc:date>2020-10-01T18:07:33Z</dc:date>
    </item>
    <item>
      <title>Re:How does Vtune Memory Consumption calculated? Why it is different than &amp;quot;RES&amp;quot; mem of top command</title>
      <link>https://community.intel.com/t5/Analyzers/How-does-Vtune-Memory-Consumption-calculated-Why-it-is-different/m-p/1214817#M19436</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thank you for posting in Intel Forum.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;We are forwarding this case to the concerned team for much faster and adequate response.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Raeesa&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 05 Oct 2020 11:02:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/How-does-Vtune-Memory-Consumption-calculated-Why-it-is-different/m-p/1214817#M19436</guid>
      <dc:creator>RaeesaM_Intel</dc:creator>
      <dc:date>2020-10-05T11:02:02Z</dc:date>
    </item>
    <item>
      <title>Re:How does Vtune Memory Consumption calculated? Why it is different than &amp;quot;RES&amp;quot; mem of top command</title>
      <link>https://community.intel.com/t5/Analyzers/How-does-Vtune-Memory-Consumption-calculated-Why-it-is-different/m-p/1215245#M19442</link>
      <description>&lt;P&gt;Hi Werk,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 16px; font-family: intel-clear, tahoma, Helvetica, helvetica, Arial, sans-serif;"&gt;During Memory Consumption analysis, the&amp;nbsp;VTune&amp;nbsp;Profiler&amp;nbsp;data collector intercepts memory allocation and deallocation events and captures a call sequence (stack) for each allocation event (for deallocation, only a function that released the memory is captured).&amp;nbsp;VTune&amp;nbsp;Profiler&amp;nbsp;stores the calling instruction pointer (IP) along with a call sequence in data collection files, and then analyzes and displays this data in a result tab. For more details please refer to the user guide - &lt;/SPAN&gt;&lt;A href="https://software.intel.com/content/www/us/en/develop/documentation/vtune-help/top/analyze-performance/algorithm-group/memory-consumption-analysis.html" target="_blank"&gt;https://software.intel.com/content/www/us/en/develop/documentation/vtune-help/top/analyze-performance/algorithm-group/memory-consumption-analysis.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Please note that top is showing the memory consumption at a given point in time for a particular process ID, while VTune is showing total memory consumption on a function basis (in the table that you are showing).&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;If you still think that there is a mismatch in the memory consumption numbers reported by VTune and other tools, please share a reproducer along with your vtune result folder and I will be happy to investigate further.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Amar    &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 06 Oct 2020 13:14:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/How-does-Vtune-Memory-Consumption-calculated-Why-it-is-different/m-p/1215245#M19442</guid>
      <dc:creator>DrAmarpal_K_Intel</dc:creator>
      <dc:date>2020-10-06T13:14:02Z</dc:date>
    </item>
    <item>
      <title>Re:How does Vtune Memory Consumption calculated? Why it is different than &amp;quot;RES&amp;quot; mem of top command</title>
      <link>https://community.intel.com/t5/Analyzers/How-does-Vtune-Memory-Consumption-calculated-Why-it-is-different/m-p/1218316#M19522</link>
      <description>&lt;P&gt;Hi Liang,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Having not heard from you in a while, I am having to close this case.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;“&lt;I&gt;This issue has been assumed to be resolved and we will no longer respond to this thread.&amp;nbsp;If you require additional assistance from Intel, please start a new thread.&amp;nbsp;Any further interaction in this thread will be considered community only&lt;/I&gt;”.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Amar&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 16 Oct 2020 08:37:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/How-does-Vtune-Memory-Consumption-calculated-Why-it-is-different/m-p/1218316#M19522</guid>
      <dc:creator>DrAmarpal_K_Intel</dc:creator>
      <dc:date>2020-10-16T08:37:34Z</dc:date>
    </item>
  </channel>
</rss>

