<?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 Lockfree_mpmc was updated .. in Intel® Moderncode for Parallel Architectures</title>
    <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Lockfree-mpmc-was-updated/m-p/836398#M1607</link>
    <description>&lt;P&gt;&lt;BR /&gt;Hello, &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I have been working all the night on the following problem:&lt;/P&gt;&lt;P&gt;'Sometimes' the producer threads of my Threadpool was hanging , &lt;BR /&gt;and i have finally discovered what is the problem...&lt;/P&gt;&lt;P&gt;In the push() method inside lockfree_mpmc.pas you will see that &lt;BR /&gt;it is using a repeat until , this tight loop around the CAS &lt;BR /&gt;was not working properly and was hanging the producer threads &lt;BR /&gt;from time to time, and the solution to this problem was to &lt;BR /&gt;add a sleep(0) in this tight loop. &lt;/P&gt;&lt;P&gt;Now Threadpool is working perfectly , and is perfectly stable&lt;BR /&gt;- i have tested it all the night ! - .&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Please download all my modules that contains lockfree_mpmc.pas&lt;BR /&gt;- like ParrallelQueue, Threadpool, Pthreadpool , Parallel compression ,&lt;BR /&gt;Parallel Quicksort etc. - &lt;/P&gt;&lt;P&gt;Welcome: &lt;A href="http://pages.videotron.com/aminer/"&gt;http://pages.videotron.com/aminer/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Amine Moulay Ramadne&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 21 Apr 2010 10:55:53 GMT</pubDate>
    <dc:creator>aminer10</dc:creator>
    <dc:date>2010-04-21T10:55:53Z</dc:date>
    <item>
      <title>Lockfree_mpmc was updated ..</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Lockfree-mpmc-was-updated/m-p/836398#M1607</link>
      <description>&lt;P&gt;&lt;BR /&gt;Hello, &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I have been working all the night on the following problem:&lt;/P&gt;&lt;P&gt;'Sometimes' the producer threads of my Threadpool was hanging , &lt;BR /&gt;and i have finally discovered what is the problem...&lt;/P&gt;&lt;P&gt;In the push() method inside lockfree_mpmc.pas you will see that &lt;BR /&gt;it is using a repeat until , this tight loop around the CAS &lt;BR /&gt;was not working properly and was hanging the producer threads &lt;BR /&gt;from time to time, and the solution to this problem was to &lt;BR /&gt;add a sleep(0) in this tight loop. &lt;/P&gt;&lt;P&gt;Now Threadpool is working perfectly , and is perfectly stable&lt;BR /&gt;- i have tested it all the night ! - .&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Please download all my modules that contains lockfree_mpmc.pas&lt;BR /&gt;- like ParrallelQueue, Threadpool, Pthreadpool , Parallel compression ,&lt;BR /&gt;Parallel Quicksort etc. - &lt;/P&gt;&lt;P&gt;Welcome: &lt;A href="http://pages.videotron.com/aminer/"&gt;http://pages.videotron.com/aminer/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Amine Moulay Ramadne&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Apr 2010 10:55:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Lockfree-mpmc-was-updated/m-p/836398#M1607</guid>
      <dc:creator>aminer10</dc:creator>
      <dc:date>2010-04-21T10:55:53Z</dc:date>
    </item>
    <item>
      <title>Lockfree_mpmc was updated ..</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Lockfree-mpmc-was-updated/m-p/836399#M1608</link>
      <description>&lt;P&gt;&lt;BR /&gt;Hello again,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I have retested my ParallelQueue algorithm , it's perfectly stable&lt;BR /&gt;and it is scoring the same in my benchmarks on an Intel Core &lt;BR /&gt;2 Quad Q6600:&lt;/P&gt;&lt;P&gt;17 millions of pop() transactions per second ! &lt;/P&gt;&lt;P&gt;and &lt;/P&gt;&lt;P&gt;3.4 millions of push() transactions per second ! &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;And i am using ParallelQueue inside my Thread Pool Engine.&lt;/P&gt;&lt;P&gt;&lt;A href="http://pages.videotron.com/aminer/parallelqueue/parallelqueue.htm"&gt;http://pages.videotron.com/aminer/parallelqueue/parallelqueue.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sincerely,&lt;BR /&gt;Amine Moulay Ramdane.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Apr 2010 11:10:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Lockfree-mpmc-was-updated/m-p/836399#M1608</guid>
      <dc:creator>aminer10</dc:creator>
      <dc:date>2010-04-21T11:10:32Z</dc:date>
    </item>
  </channel>
</rss>

