<?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: Avoiding cache collisions between threads in Intel® Moderncode for Parallel Architectures</title>
    <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Avoiding-cache-collisions-between-threads/m-p/923100#M4901</link>
    <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;AnonymousC -&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Unfortunately, there is no way to do this on a Hyper-Threading enabled system. The caches are &lt;STRONG&gt;shared &lt;/STRONG&gt;resources on HT processors. Other parts of the processor architecture are &lt;STRONG&gt;split &lt;/STRONG&gt;between the logical processors when HT is enabled; all three levels of the cache resources are not. &lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;For more info on HT and the disposition of resources within an HT processor, see the Intel Technology Journal at &lt;A href="http://www.intel.com/technology/itj/2002/volume06issue01/art01_hyper/p01_abstract.htm" target="_blank"&gt;http://www.intel.com/technology/itj/2002/volume06issue01/art01_hyper/p01_abstract.htm&lt;/A&gt;.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;-- clay&lt;/DIV&gt;</description>
    <pubDate>Tue, 21 Dec 2004 05:04:20 GMT</pubDate>
    <dc:creator>ClayB</dc:creator>
    <dc:date>2004-12-21T05:04:20Z</dc:date>
    <item>
      <title>Avoiding cache collisions between threads</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Avoiding-cache-collisions-between-threads/m-p/923099#M4900</link>
      <description>On Intel processors with hyperthreading support, is there any way to avoid having one thread evict cache lines belonging to the other thread?  Ideally, I'd like to split the L1 data cache (and maybe other caches as well) in half, changing it from an 8kB 4-way associative cache to two 4kB 2-way associative cache.&lt;BR /&gt;&lt;BR /&gt;The only reference I've been able to find to controlling caching interaction with hyperthreading is bit 24 of IA32_MISC_ENABLE, which controls whether threads can access entries "owned" by the other thread; this does not satisfy my requirements.</description>
      <pubDate>Wed, 15 Dec 2004 14:20:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Avoiding-cache-collisions-between-threads/m-p/923099#M4900</guid>
      <dc:creator>anonymouscoward</dc:creator>
      <dc:date>2004-12-15T14:20:44Z</dc:date>
    </item>
    <item>
      <title>Re: Avoiding cache collisions between threads</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Avoiding-cache-collisions-between-threads/m-p/923100#M4901</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;AnonymousC -&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Unfortunately, there is no way to do this on a Hyper-Threading enabled system. The caches are &lt;STRONG&gt;shared &lt;/STRONG&gt;resources on HT processors. Other parts of the processor architecture are &lt;STRONG&gt;split &lt;/STRONG&gt;between the logical processors when HT is enabled; all three levels of the cache resources are not. &lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;For more info on HT and the disposition of resources within an HT processor, see the Intel Technology Journal at &lt;A href="http://www.intel.com/technology/itj/2002/volume06issue01/art01_hyper/p01_abstract.htm" target="_blank"&gt;http://www.intel.com/technology/itj/2002/volume06issue01/art01_hyper/p01_abstract.htm&lt;/A&gt;.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;-- clay&lt;/DIV&gt;</description>
      <pubDate>Tue, 21 Dec 2004 05:04:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Avoiding-cache-collisions-between-threads/m-p/923100#M4901</guid>
      <dc:creator>ClayB</dc:creator>
      <dc:date>2004-12-21T05:04:20Z</dc:date>
    </item>
    <item>
      <title>Re: Avoiding cache collisions between threads</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Avoiding-cache-collisions-between-threads/m-p/923101#M4902</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;ClayB wrote:&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;AnonymousC -&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;Unfortunately, there is no way to do this on a Hyper-Threading enabled system. &lt;/DIV&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;*sigh*&lt;BR /&gt;&lt;BR /&gt;I was hoping that there might be some way around this; I guess I'll just have to disable hyperthreading instead.&lt;BR /&gt;&lt;BR /&gt;If anyone knows of any undocumented solution (e.g., using a "reserved" MSR), please let me know...&lt;BR /&gt;&lt;BR /&gt;/me wouldn't mind hearing if this behaviour could be changed using a microcode patch, either.</description>
      <pubDate>Tue, 21 Dec 2004 13:54:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Avoiding-cache-collisions-between-threads/m-p/923101#M4902</guid>
      <dc:creator>anonymouscoward</dc:creator>
      <dc:date>2004-12-21T13:54:58Z</dc:date>
    </item>
  </channel>
</rss>

