<?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: Help required to Multithread the product developed on Php  in Intel® Moderncode for Parallel Architectures</title>
    <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Help-required-to-Multithread-the-product-developed-on-Php/m-p/861713#M2440</link>
    <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/409655"&gt;Praveen Ramamurthy (Intel)&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;Hi!,&lt;BR /&gt;&lt;BR /&gt;We are developing a campus ERP solution that runs on the LAMP platform using Intel processors. I would like to know how you can help us in speeding up this application by helping us to make use of the Intel multi-core architecture. Our application typically runs on a quad core processor machine. A couple of ways I can think of and for which I would request more information from you are &lt;BR /&gt;&lt;BR /&gt;1) How can we write multi-threaded code in PHP , maybe by using any third part tools or any special Intel tools that let you do this.&lt;BR /&gt;&lt;BR /&gt;2) Help us in configuring the Linux installation to make use of the multi-core processor and then use Intel tools to monitor the benefits.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;For parallelization of PHP code you can use multiple processes, shared memory, semaphores and message queues:&lt;BR /&gt;&lt;A href="http://www.php.net/manual/en/book.sem.php" target="_blank"&gt;http://www.php.net/manual/en/book.sem.php&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://www.php.net/manual/en/book.exec.php" target="_blank"&gt;http://www.php.net/manual/en/book.exec.php&lt;/A&gt;&lt;BR /&gt;However probably PHP is not the best language for that...&lt;BR /&gt;</description>
    <pubDate>Tue, 27 Jan 2009 15:49:36 GMT</pubDate>
    <dc:creator>Dmitry_Vyukov</dc:creator>
    <dc:date>2009-01-27T15:49:36Z</dc:date>
    <item>
      <title>Help required to Multithread the product developed on Php</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Help-required-to-Multithread-the-product-developed-on-Php/m-p/861710#M2437</link>
      <description>Hi!,&lt;BR /&gt;&lt;BR /&gt;We are developing a campus ERP solution that runs on the LAMP platform using Intel processors. I would like to know how you can help us in speeding up this application by helping us to make use of the Intel multi-core architecture. Our application typically runs on a quad core processor machine. A couple of ways I can think of and for which I would request more information from you are &lt;BR /&gt;&lt;BR /&gt;1) How can we write multi-threaded code in PHP , maybe by using any third part tools or any special Intel tools that let you do this.&lt;BR /&gt;&lt;BR /&gt;2) Help us in configuring the Linux installation to make use of the multi-core processor and then use Intel tools to monitor the benefits.&lt;BR /&gt;&lt;BR /&gt;Please do the needful at the earliest.&lt;BR /&gt;&lt;BR /&gt;Cheers!&lt;BR /&gt;Praveen</description>
      <pubDate>Tue, 20 Jan 2009 05:50:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Help-required-to-Multithread-the-product-developed-on-Php/m-p/861710#M2437</guid>
      <dc:creator>PRAVEEN_R_Intel</dc:creator>
      <dc:date>2009-01-20T05:50:26Z</dc:date>
    </item>
    <item>
      <title>Re: Help required to Multithread the product developed on Php</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Help-required-to-Multithread-the-product-developed-on-Php/m-p/861711#M2438</link>
      <description>&lt;DIV style="margin:0px;"&gt;Praveen -&lt;BR /&gt;&lt;BR /&gt;While I'll be the first to admit I don't know everything (with my wife a close second :-), I don't really know if scripting languages are able to do any native concurrency. I think Python may have something that allows concurrent execution, but that's mostly just an unsubstantiated rumor AFAIK. You could run multiple scripts at the same time and each should get a different core, I suppose.&lt;BR /&gt;&lt;BR /&gt;In that same vein, I don't know of any tools, Intel or otherwise, that can help with threading PHP. The Intel tools that I'm aware of have been focused on C/C++ threading. The upcoming Parallel Studio will integrate with Visual Studio to assist in parallelizing C++ code.&lt;BR /&gt;&lt;BR /&gt;I'm sorry that I can't help you more than this. I hope that anyone with better knowledge on this topic will post to lend their assistance and to correct any misstatements that I've made.&lt;BR /&gt;&lt;BR /&gt;--clay&lt;/DIV&gt;
&lt;BR /&gt;</description>
      <pubDate>Fri, 23 Jan 2009 18:24:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Help-required-to-Multithread-the-product-developed-on-Php/m-p/861711#M2438</guid>
      <dc:creator>ClayB</dc:creator>
      <dc:date>2009-01-23T18:24:59Z</dc:date>
    </item>
    <item>
      <title>Re: Help required to Multithread the product developed on Php</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Help-required-to-Multithread-the-product-developed-on-Php/m-p/861712#M2439</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/409655"&gt;Praveen Ramamurthy (Intel)&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;Hi!,&lt;BR /&gt;&lt;BR /&gt;We are developing a campus ERP solution that runs on the LAMP platform using Intel processors. I would like to know how you can help us in speeding up this application by helping us to make use of the Intel multi-core architecture. Our application typically runs on a quad core processor machine. A couple of ways I can think of and for which I would request more information from you are &lt;BR /&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;Once again, isn't PHP code automatically "parallelized" by Apache with the "thread per request" approach? I think that it is enough for most web code.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 27 Jan 2009 15:40:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Help-required-to-Multithread-the-product-developed-on-Php/m-p/861712#M2439</guid>
      <dc:creator>Dmitry_Vyukov</dc:creator>
      <dc:date>2009-01-27T15:40:05Z</dc:date>
    </item>
    <item>
      <title>Re: Help required to Multithread the product developed on Php</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Help-required-to-Multithread-the-product-developed-on-Php/m-p/861713#M2440</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/409655"&gt;Praveen Ramamurthy (Intel)&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;Hi!,&lt;BR /&gt;&lt;BR /&gt;We are developing a campus ERP solution that runs on the LAMP platform using Intel processors. I would like to know how you can help us in speeding up this application by helping us to make use of the Intel multi-core architecture. Our application typically runs on a quad core processor machine. A couple of ways I can think of and for which I would request more information from you are &lt;BR /&gt;&lt;BR /&gt;1) How can we write multi-threaded code in PHP , maybe by using any third part tools or any special Intel tools that let you do this.&lt;BR /&gt;&lt;BR /&gt;2) Help us in configuring the Linux installation to make use of the multi-core processor and then use Intel tools to monitor the benefits.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;For parallelization of PHP code you can use multiple processes, shared memory, semaphores and message queues:&lt;BR /&gt;&lt;A href="http://www.php.net/manual/en/book.sem.php" target="_blank"&gt;http://www.php.net/manual/en/book.sem.php&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://www.php.net/manual/en/book.exec.php" target="_blank"&gt;http://www.php.net/manual/en/book.exec.php&lt;/A&gt;&lt;BR /&gt;However probably PHP is not the best language for that...&lt;BR /&gt;</description>
      <pubDate>Tue, 27 Jan 2009 15:49:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Help-required-to-Multithread-the-product-developed-on-Php/m-p/861713#M2440</guid>
      <dc:creator>Dmitry_Vyukov</dc:creator>
      <dc:date>2009-01-27T15:49:36Z</dc:date>
    </item>
    <item>
      <title>Re: Help required to Multithread the product developed on Php</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Help-required-to-Multithread-the-product-developed-on-Php/m-p/861714#M2441</link>
      <description>Here is an example of creation of "threads" in PHP and communication between them via message passing:&lt;BR /&gt;&lt;A href="http://www.alternateinterior.com/2007/05/multi-threading-strategies-in-php.html"&gt;http://www.alternateinterior.com/2007/05/multi-threading-strategies-in-php.html&lt;/A&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 04 Feb 2009 21:29:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Help-required-to-Multithread-the-product-developed-on-Php/m-p/861714#M2441</guid>
      <dc:creator>Dmitry_Vyukov</dc:creator>
      <dc:date>2009-02-04T21:29:11Z</dc:date>
    </item>
    <item>
      <title>Re: Help required to Multithread the product developed on Php</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Help-required-to-Multithread-the-product-developed-on-Php/m-p/861715#M2442</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="margin-top: 5px; width: 100%;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/347331"&gt;Dmitriy Vyukov&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;Here is an example of creation of "threads" in PHP and communication between them via message passing:&lt;BR /&gt;&lt;A href="http://www.alternateinterior.com/2007/05/multi-threading-strategies-in-php.html"&gt;http://www.alternateinterior.com/2007/05/multi-threading-strategies-in-php.html&lt;/A&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;Thank You Very Much.</description>
      <pubDate>Thu, 05 Feb 2009 03:31:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Help-required-to-Multithread-the-product-developed-on-Php/m-p/861715#M2442</guid>
      <dc:creator>infocom-solutions</dc:creator>
      <dc:date>2009-02-05T03:31:07Z</dc:date>
    </item>
  </channel>
</rss>

