<?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: Problem with CPU? in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Problem-with-CPU/m-p/966997#M23130</link>
    <description>&lt;DIV&gt;Thank you for you quick reply. Could you advice me how can I shut off ASP?&lt;BR /&gt;Alex&lt;BR /&gt;&lt;/DIV&gt;</description>
    <pubDate>Tue, 25 Oct 2005 22:33:40 GMT</pubDate>
    <dc:creator>alex_borsen</dc:creator>
    <dc:date>2005-10-25T22:33:40Z</dc:date>
    <item>
      <title>Problem with CPU?</title>
      <link>https://community.intel.com/t5/Software-Archive/Problem-with-CPU/m-p/966995#M23128</link>
      <description>&lt;DIV&gt;This simple program below runs 10 times slower when I change PAR form 8 to 128:&lt;BR /&gt;&lt;BR /&gt;main ()&lt;BR /&gt;{&lt;/DIV&gt;
&lt;DIV&gt;#define PAR 128&lt;/DIV&gt;
&lt;DIV&gt;#define s 1024*1024*8 // array size&lt;BR /&gt;char *n=new char&lt;S&gt;;int i,j,m=0;&lt;BR /&gt;for(i=0;i&lt;S&gt;=(char)(i&amp;amp;0xFF);&lt;BR /&gt;// main loop&lt;BR /&gt;for(j=0;j&amp;lt;1000;j++)&lt;BR /&gt; for(i=0;i&amp;lt;10000000;i++)&lt;BR /&gt; m+= // + prevents compiler from optimization, it has no influence on test time&lt;BR /&gt; n[((i+j)*PAR+i)&amp;amp;(s-1)]; // there are only shifts and &amp;amp;s after compilation, no multiplications!&lt;BR /&gt;}&lt;/S&gt;&lt;/S&gt;&lt;/DIV&gt;
&lt;DIV&gt;My real problem is even more complicated because I can't predict index change. Help please!&lt;BR /&gt;I tried C-compilers under Windows and Linux and any optimizaton posible. &lt;BR /&gt;So it seems to be a problem with INTEL CPU.&lt;BR /&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 25 Oct 2005 21:54:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Problem-with-CPU/m-p/966995#M23128</guid>
      <dc:creator>alex_borsen</dc:creator>
      <dc:date>2005-10-25T21:54:32Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with CPU?</title>
      <link>https://community.intel.com/t5/Software-Archive/Problem-with-CPU/m-p/966996#M23129</link>
      <description>With your larger stride, you are using only 1 byte from each cache line, so the performance necessarily is degraded.  In fact, with Alternate Sector Prefetch in force, you are fetching 2 cache lines for each byte used, so you may recover some performance by shutting off ASP.</description>
      <pubDate>Tue, 25 Oct 2005 22:12:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Problem-with-CPU/m-p/966996#M23129</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2005-10-25T22:12:40Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with CPU?</title>
      <link>https://community.intel.com/t5/Software-Archive/Problem-with-CPU/m-p/966997#M23130</link>
      <description>&lt;DIV&gt;Thank you for you quick reply. Could you advice me how can I shut off ASP?&lt;BR /&gt;Alex&lt;BR /&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 25 Oct 2005 22:33:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Problem-with-CPU/m-p/966997#M23130</guid>
      <dc:creator>alex_borsen</dc:creator>
      <dc:date>2005-10-25T22:33:40Z</dc:date>
    </item>
  </channel>
</rss>

