<?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 Question about cache consistency when using DDIO(DCA) in Software Tuning, Performance Optimization &amp; Platform Monitoring</title>
    <link>https://community.intel.com/t5/Software-Tuning-Performance/Question-about-cache-consistency-when-using-DDIO-DCA/m-p/1567382#M8303</link>
    <description>&lt;P class=""&gt;&lt;SPAN class=""&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;I perform some tests on DDIO and find the Page 8 in PPT (&lt;/SPAN&gt;&lt;A class="" href="https://www.dpdk.org/event/dpdk-summit-china-2018/roman-sudarikov-dpdk_prc_summit_sudarikov/" target="_blank" rel="nofollow noopener noreferrer"&gt;&lt;SPAN class=""&gt;https://www.dpdk.org/event/dpdk-summit-china-2018/roman-sudarikov-dpdk_prc_summit_sudarikov/&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN class=""&gt;) about controlling DDIO.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;I did observe performance changes by modifying the configurations of registers in the same way as Option 1, 2 and 3 in the PPT, so I feel these are correct.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;It shows that when set the&amp;nbsp;"Disable_all_allocating_flows" to "0" and&amp;nbsp;"NoSnoopOpWrEn" to 1,&amp;nbsp; it is possible to control the DDIO per PCI Transaction by changing "TLP NS Bit" (e.g. setting this Bit to "0" to enable DDIO). However, this approach turns off "Snoop" ("NoSnoopOpWrEn" to 1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;I wonder that, is this "Snoop" a snooping protocol to guarantee consistency between cache and DRAM? If so, accoding to Option 4 and 5 in the PPT, if I first write object using version One to LLC with "TLP NS bit" set to 0 (i.e., DDIO on), and then write the same object using version Two to DRAM with "TLP NS bit" set to 1 (i.e., DDIO off), will this cause the object in the DRAM to be newer than that in the LLC?&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Best Regrads&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 30 Jan 2024 07:39:40 GMT</pubDate>
    <dc:creator>Hoddy</dc:creator>
    <dc:date>2024-01-30T07:39:40Z</dc:date>
    <item>
      <title>Question about cache consistency when using DDIO(DCA)</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Question-about-cache-consistency-when-using-DDIO-DCA/m-p/1567382#M8303</link>
      <description>&lt;P class=""&gt;&lt;SPAN class=""&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;I perform some tests on DDIO and find the Page 8 in PPT (&lt;/SPAN&gt;&lt;A class="" href="https://www.dpdk.org/event/dpdk-summit-china-2018/roman-sudarikov-dpdk_prc_summit_sudarikov/" target="_blank" rel="nofollow noopener noreferrer"&gt;&lt;SPAN class=""&gt;https://www.dpdk.org/event/dpdk-summit-china-2018/roman-sudarikov-dpdk_prc_summit_sudarikov/&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN class=""&gt;) about controlling DDIO.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;I did observe performance changes by modifying the configurations of registers in the same way as Option 1, 2 and 3 in the PPT, so I feel these are correct.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;It shows that when set the&amp;nbsp;"Disable_all_allocating_flows" to "0" and&amp;nbsp;"NoSnoopOpWrEn" to 1,&amp;nbsp; it is possible to control the DDIO per PCI Transaction by changing "TLP NS Bit" (e.g. setting this Bit to "0" to enable DDIO). However, this approach turns off "Snoop" ("NoSnoopOpWrEn" to 1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;I wonder that, is this "Snoop" a snooping protocol to guarantee consistency between cache and DRAM? If so, accoding to Option 4 and 5 in the PPT, if I first write object using version One to LLC with "TLP NS bit" set to 0 (i.e., DDIO on), and then write the same object using version Two to DRAM with "TLP NS bit" set to 1 (i.e., DDIO off), will this cause the object in the DRAM to be newer than that in the LLC?&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Best Regrads&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2024 07:39:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Question-about-cache-consistency-when-using-DDIO-DCA/m-p/1567382#M8303</guid>
      <dc:creator>Hoddy</dc:creator>
      <dc:date>2024-01-30T07:39:40Z</dc:date>
    </item>
  </channel>
</rss>

