<?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>i.MX Processorsのトピックi.mx8: not reaching maximum memory bandwidth</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-mx8-not-reaching-maximum-memory-bandwidth/m-p/1258921#M172271</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;We've been doing some measurements of the memory bandwidth with the phoronix-test.suite in a i.MX8 QuadMax eval. kit (MEK) board. Most of the tests show results around 5-7 GB/s. However, our understanding is that the theoretical maximum bandwidth is around 25 GB/s (3200 MT/s, 64 bits). Is there a reason to not to reach that limit empirically? Can be some thing done in the internal bus configuration/QoS system?&lt;/P&gt;&lt;P&gt;Thanks in advanced,&lt;/P&gt;&lt;DIV class="lia-user-name lia-component-users-widget-profile-user-name"&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-Junior-Contributor-I"&gt;&lt;SPAN class="lia-link-navigation lia-page-link lia-link-disabled lia-user-name-link"&gt;&lt;SPAN class=""&gt;Ale&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;</description>
    <pubDate>Fri, 09 Apr 2021 06:17:21 GMT</pubDate>
    <dc:creator>asconcepcion</dc:creator>
    <dc:date>2021-04-09T06:17:21Z</dc:date>
    <item>
      <title>i.mx8: not reaching maximum memory bandwidth</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-mx8-not-reaching-maximum-memory-bandwidth/m-p/1258921#M172271</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;We've been doing some measurements of the memory bandwidth with the phoronix-test.suite in a i.MX8 QuadMax eval. kit (MEK) board. Most of the tests show results around 5-7 GB/s. However, our understanding is that the theoretical maximum bandwidth is around 25 GB/s (3200 MT/s, 64 bits). Is there a reason to not to reach that limit empirically? Can be some thing done in the internal bus configuration/QoS system?&lt;/P&gt;&lt;P&gt;Thanks in advanced,&lt;/P&gt;&lt;DIV class="lia-user-name lia-component-users-widget-profile-user-name"&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-Junior-Contributor-I"&gt;&lt;SPAN class="lia-link-navigation lia-page-link lia-link-disabled lia-user-name-link"&gt;&lt;SPAN class=""&gt;Ale&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 09 Apr 2021 06:17:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-mx8-not-reaching-maximum-memory-bandwidth/m-p/1258921#M172271</guid>
      <dc:creator>asconcepcion</dc:creator>
      <dc:date>2021-04-09T06:17:21Z</dc:date>
    </item>
    <item>
      <title>Re: i.mx8: not reaching maximum memory bandwidth</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-mx8-not-reaching-maximum-memory-bandwidth/m-p/1259188#M172296</link>
      <description>&lt;P&gt;Hi Alejandro&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;theoretical maximum bandwidth can not be achieved in real device due to internal&lt;/P&gt;
&lt;P&gt;buses and arbiters limitations. Just as example one can look at NIC301 arbiter description in AN4947&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/docs/en/application-note/AN4947.pdf" target="_blank"&gt;https://www.nxp.com/docs/en/application-note/AN4947.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Results around 5-7 GB/s are similar to internal nxp memory performance data.&lt;/P&gt;
&lt;P&gt;In general internal bus configuration/QoS can be changed but, sorry nxp does not support&lt;/P&gt;
&lt;P&gt;(provide documentation or examples) it. Default configuration/QoS provide optimal performance&lt;/P&gt;
&lt;P&gt;characteristics and any modification will most probably result in performance drop rather than in an improvements.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
      <pubDate>Fri, 09 Apr 2021 00:50:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-mx8-not-reaching-maximum-memory-bandwidth/m-p/1259188#M172296</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2021-04-09T00:50:24Z</dc:date>
    </item>
    <item>
      <title>Re: i.mx8: not reaching maximum memory bandwidth</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-mx8-not-reaching-maximum-memory-bandwidth/m-p/1259399#M172321</link>
      <description>&lt;P&gt;Hi Igor,&lt;/P&gt;&lt;P&gt;Thanks a lot for the reply.&lt;/P&gt;&lt;P&gt;We've been also monitoring the memory bandwidth using the perf counters as shown below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;root@imx8qmmek-b0:~# perf stat -a -M i.MX8QM_DDR_MON sleep 1

 Performance counter stats for 'system wide':

          15699996      imx8_ddr0/read-cycles/    # 251199936.0 imx8qm-ddr0-all-r   
             33825      imx8_ddr0/write-cycles/   # 541200.0 imx8qm-ddr0-all-w      
          15694800      imx8_ddr1/read-cycles/    # 251116800.0 imx8qm-ddr1-all-r   
             27415      imx8_ddr1/write-cycles/   # 438640.0 imx8qm-ddr1-all-w&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From this output, we understand that, in that specific situation, the total memory bandwidth in use (read+write) is about 480 MB/s ( (251199936 + 541200 + 251116800 + 438640) / 2^20 ≈ 480 MB/s), which would make sense as we associate it with the bandwidth used by the framebuffer being displayed.&lt;/P&gt;&lt;P&gt;However, we would like to know, could it be that the bandwidth read from the perf counters were higher than 5-7 GB/s if other subsystems inside the SoC came into play like GPUs or VPU? I.e, could it be the throughput between SoC and external DDR RAM actually higher than the value measured with phoronix? If so, do you have some measurements to know the maximum empirical number?&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;&lt;P&gt;Best regard,&lt;/P&gt;&lt;P&gt;Ale&lt;/P&gt;</description>
      <pubDate>Fri, 09 Apr 2021 06:57:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-mx8-not-reaching-maximum-memory-bandwidth/m-p/1259399#M172321</guid>
      <dc:creator>asconcepcion</dc:creator>
      <dc:date>2021-04-09T06:57:58Z</dc:date>
    </item>
  </channel>
</rss>

