<?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 Hi Stanislav, in Software Tuning, Performance Optimization &amp; Platform Monitoring</title>
    <link>https://community.intel.com/t5/Software-Tuning-Performance/How-to-get-GPU-memory-usage/m-p/1105513#M5948</link>
    <description>&lt;P&gt;Hi Stanislav,&lt;/P&gt;

&lt;P&gt;Thank you for the info. I hope you will add this functionality to MediaSDK/PAL as this is very needed thing i believe :),&lt;/P&gt;

&lt;P&gt;BR,&lt;/P&gt;

&lt;P&gt;Artur.&lt;/P&gt;</description>
    <pubDate>Tue, 25 Oct 2016 09:09:54 GMT</pubDate>
    <dc:creator>Artur_M_</dc:creator>
    <dc:date>2016-10-25T09:09:54Z</dc:date>
    <item>
      <title>How to get GPU memory usage.</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/How-to-get-GPU-memory-usage/m-p/1105508#M5943</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Setup Info:&lt;BR /&gt;
	CPU: i7 4770K&lt;BR /&gt;
	OS: Windows 10&lt;BR /&gt;
	GPU: Intel HD 4600&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;I have been directed here to as question regardig&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px;"&gt;Intel® Metrics Framework (MF) and&amp;nbsp;Intel® Platform Analysis Library (PAL).&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px;"&gt;I have a service that needs to retrieve the intel GPU memory and usage numbers. In the MF we have found the property "com.intel.gpu.gpu_busy" but there seems not to be an equivalent for the memory. So here are my questions:&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px;"&gt;1 - Do i have to have the GM_Server component running on the system to be able to read the counters? Or can i obtain the numbers without external process.&lt;/SPAN&gt;&lt;BR /&gt;
	&lt;SPAN style="font-size: 12px;"&gt;2 - I have found the "com.intel.gpu.gpu_busy" property that gives the GPU usage, however i must run in Admin context before the numbers are correct. is this a must?&lt;/SPAN&gt;&lt;BR /&gt;
	&lt;SPAN style="font-size: 12px;"&gt;3 - I can not find any property that can give me the GPU memory usage number, is it possible to have this metric as well?&lt;BR /&gt;
	4 - If the memory usage is possible to get, is it possible to get the usage pr process or is it only system wide?&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="word-wrap: break-word; font-size: 12px;"&gt;Thank you,&lt;/P&gt;

&lt;P style="word-wrap: break-word; font-size: 12px;"&gt;BR,&lt;/P&gt;

&lt;P style="word-wrap: break-word; font-size: 12px;"&gt;Artur.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Oct 2016 06:34:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/How-to-get-GPU-memory-usage/m-p/1105508#M5943</guid>
      <dc:creator>Artur_M_</dc:creator>
      <dc:date>2016-10-07T06:34:39Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/How-to-get-GPU-memory-usage/m-p/1105509#M5944</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Is there any news on this topic?&lt;/P&gt;

&lt;P&gt;Br,&lt;/P&gt;

&lt;P&gt;Artur&lt;/P&gt;</description>
      <pubDate>Tue, 18 Oct 2016 07:30:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/How-to-get-GPU-memory-usage/m-p/1105509#M5944</guid>
      <dc:creator>Artur_M_</dc:creator>
      <dc:date>2016-10-18T07:30:27Z</dc:date>
    </item>
    <item>
      <title>Hi, Arthur</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/How-to-get-GPU-memory-usage/m-p/1105510#M5945</link>
      <description>&lt;P&gt;Hi, Arthur&lt;/P&gt;

&lt;P&gt;thank you for contacting us on Metrics Framework of Intel PAL library, answer to your questions:&lt;/P&gt;

&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size:11.0pt;font-family:&amp;quot;Arial&amp;quot;,sans-serif;
background:white"&gt;&lt;FONT color="#000000"&gt;1 - Do I have to have the GM_Server component running on the system to be able to read the counters? Or can i obtain the numbers without external process.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size:11.0pt;font-family:&amp;quot;Arial&amp;quot;,sans-serif;
color:#1F4E79;background:white"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size:11.0pt;font-family:&amp;quot;Arial&amp;quot;,sans-serif;
color:#1F4E79"&gt;Metrics can be obtained locally without running GM_Server by creating a consumer (or embedding one in an existing app) that loads the appropriate publisher and subscribes to the desired metrics.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;BR /&gt;
	&lt;SPAN style="font-size:11.0pt;font-family:&amp;quot;Arial&amp;quot;,sans-serif;background:
white"&gt;&lt;FONT color="#000000"&gt;2 - I have found the "com.intel.gpu.gpu_busy" property that gives the GPU usage, however i must run in Admin context before the numbers are correct. is this a must?&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size:11.0pt;font-family:&amp;quot;Arial&amp;quot;,sans-serif;
color:#1F4E79"&gt;Admin right should not be required. In GPA we run System View (which uses&amp;nbsp;GfxDrvSampledPublisher) in non-admin mode.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;BR /&gt;
	&lt;SPAN style="font-size:11.0pt;font-family:&amp;quot;Arial&amp;quot;,sans-serif;background:
white"&gt;&lt;FONT color="#000000"&gt;3 - I cannot find any property that can give me the GPU memory usage number, is it possible to have this metric as well?&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size:11.0pt;font-family:&amp;quot;Arial&amp;quot;,sans-serif;
color:#1F4E79;background:white"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size:11.0pt;font-family:&amp;quot;Arial&amp;quot;,sans-serif;
color:#1F4E79"&gt;% of GPU memory usage is not available, though memory GPU read/write bandwidth are here:&amp;nbsp;&amp;nbsp;GtiReadThroughput,&amp;nbsp;&amp;nbsp;GtiWriteThroughput.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;BR /&gt;
	&lt;SPAN style="font-size:11.0pt;font-family:&amp;quot;Arial&amp;quot;,sans-serif;background:
white"&gt;&lt;FONT color="#000000"&gt;4 - If the memory usage is possible to get, is it possible to get the usage process or is it only system wide?&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size:11.0pt;font-family:&amp;quot;Arial&amp;quot;,sans-serif;
color:#1F4E79"&gt;GfxDrvSampledPublisher provides system wide metrics.&amp;nbsp;GfxDrvInProcPublisher could provide per process metrics but it required target process instrumentation.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Please contact us if you have more questions.&lt;/P&gt;

&lt;P&gt;Thank you!&lt;/P&gt;

&lt;P&gt;-Wei&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;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Oct 2016 19:11:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/How-to-get-GPU-memory-usage/m-p/1105510#M5945</guid>
      <dc:creator>Wei_W_Intel</dc:creator>
      <dc:date>2016-10-18T19:11:25Z</dc:date>
    </item>
    <item>
      <title>Hello Wei,</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/How-to-get-GPU-memory-usage/m-p/1105511#M5946</link>
      <description>&lt;P&gt;Hello Wei,&lt;/P&gt;

&lt;P&gt;Sorry for late reply .. had some technical issues :D.&lt;/P&gt;

&lt;P&gt;Thank you for the replies, very useful.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;However can you elaborate a bit more on:&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px;"&gt;"% of GPU memory usage is not available, though memory GPU read/write bandwidth are here:&amp;nbsp;&amp;nbsp;GtiReadThroughput,&amp;nbsp;&amp;nbsp;GtiWriteThroughput."&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px;"&gt;Isn't this the current usage, meaning this second. and if so, assuming that we decode a constant amount this may be useful. However is there any way to find what is the total possible memory usage. And especially taking the CPU model and OS into consideration as for example Windows 10 allows GPU to use system memory (up to ½ of total). So even if i detect the throughput is 20 i still lack the 20 out of what. Hope i explained it well :)&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px;"&gt;BR,&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px;"&gt;Artur.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Oct 2016 13:25:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/How-to-get-GPU-memory-usage/m-p/1105511#M5946</guid>
      <dc:creator>Artur_M_</dc:creator>
      <dc:date>2016-10-24T13:25:43Z</dc:date>
    </item>
    <item>
      <title>Hi Artur,</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/How-to-get-GPU-memory-usage/m-p/1105512#M5947</link>
      <description>&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;Hi Artur,&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;Unfortunately there is no way to get number for peak throughput to calculate % of bandwidth usage.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;- Stas.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2016 08:53:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/How-to-get-GPU-memory-usage/m-p/1105512#M5947</guid>
      <dc:creator>STANISLAV_V_Intel</dc:creator>
      <dc:date>2016-10-25T08:53:29Z</dc:date>
    </item>
    <item>
      <title>Hi Stanislav,</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/How-to-get-GPU-memory-usage/m-p/1105513#M5948</link>
      <description>&lt;P&gt;Hi Stanislav,&lt;/P&gt;

&lt;P&gt;Thank you for the info. I hope you will add this functionality to MediaSDK/PAL as this is very needed thing i believe :),&lt;/P&gt;

&lt;P&gt;BR,&lt;/P&gt;

&lt;P&gt;Artur.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2016 09:09:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/How-to-get-GPU-memory-usage/m-p/1105513#M5948</guid>
      <dc:creator>Artur_M_</dc:creator>
      <dc:date>2016-10-25T09:09:54Z</dc:date>
    </item>
  </channel>
</rss>

