<?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 Many questions about Threading for Data Sharing in Intel® Moderncode for Parallel Architectures</title>
    <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Many-questions-about-Threading-for-Data-Sharing/m-p/894791#M3946</link>
    <description>&lt;P&gt;1. is Multi-core and Multi-threading used for application on many process at the same time?&lt;/P&gt;
&lt;P&gt;2. We use Visual Studio 2003, can we use Multi-core &amp;amp; multi-thread, and how?&lt;/P&gt;
&lt;P&gt;3. In our case, we want to use the multi-threading technique for data sharing of a system to connect among computers from many locations through internet access (with fix IP address). Will there be any problem doing so especially through internet? Will it be useful to multi-thread while connecting on the internet?&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Thank so much,&lt;/P&gt;
&lt;P&gt;A.Ratchadaporn&lt;/P&gt;</description>
    <pubDate>Wed, 26 Nov 2008 08:26:33 GMT</pubDate>
    <dc:creator>Ratchadaporn_Adulwut</dc:creator>
    <dc:date>2008-11-26T08:26:33Z</dc:date>
    <item>
      <title>Many questions about Threading for Data Sharing</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Many-questions-about-Threading-for-Data-Sharing/m-p/894791#M3946</link>
      <description>&lt;P&gt;1. is Multi-core and Multi-threading used for application on many process at the same time?&lt;/P&gt;
&lt;P&gt;2. We use Visual Studio 2003, can we use Multi-core &amp;amp; multi-thread, and how?&lt;/P&gt;
&lt;P&gt;3. In our case, we want to use the multi-threading technique for data sharing of a system to connect among computers from many locations through internet access (with fix IP address). Will there be any problem doing so especially through internet? Will it be useful to multi-thread while connecting on the internet?&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Thank so much,&lt;/P&gt;
&lt;P&gt;A.Ratchadaporn&lt;/P&gt;</description>
      <pubDate>Wed, 26 Nov 2008 08:26:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Many-questions-about-Threading-for-Data-Sharing/m-p/894791#M3946</guid>
      <dc:creator>Ratchadaporn_Adulwut</dc:creator>
      <dc:date>2008-11-26T08:26:33Z</dc:date>
    </item>
    <item>
      <title>Re: Many questions about Threading for Data Sharing</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Many-questions-about-Threading-for-Data-Sharing/m-p/894792#M3947</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/408398"&gt;Ratchadaporn Adulwuttikornchai&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;
&lt;P&gt;1. is Multi-core and Multi-threading used for application on many process at the same time?&lt;/P&gt;
&lt;P&gt;2. We use Visual Studio 2003, can we use Multi-core &amp;amp; multi-thread, and how?&lt;/P&gt;
&lt;P&gt;3. In our case, we want to use the multi-threading technique for data sharing of a system to connect among computers from many locations through internet access (with fix IP address). Will there be any problem doing so especially through internet? Will it be useful to multi-thread while connecting on the internet?&lt;/P&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;1. This question looks ambiguous. In order to gain performance by threading when running multiple processes, it often is necessary to set affinities so as to avoid cache fragmentation. This might be accomplished by the KMP_AFFINITY facility of Intel OpenMP libraries.&lt;/P&gt;
&lt;P&gt;2. VS2003, as far as I know, has no OpenMP support for VC, as well as no support for 64-bit mode. OpenMP is available with Intel compilers, and Windows threads were already fairly popular, but newer VS versions afford additional useful opportunities to take advantage of threading.&lt;/P&gt;
&lt;P&gt;3. As long as the internet access does not become your sole performance bottleneck, multi-threading should be useful.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Nov 2008 13:23:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Many-questions-about-Threading-for-Data-Sharing/m-p/894792#M3947</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2008-11-26T13:23:17Z</dc:date>
    </item>
    <item>
      <title>Re: Many questions about Threading for Data Sharing</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Many-questions-about-Threading-for-Data-Sharing/m-p/894793#M3948</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/408398"&gt;Ratchadaporn Adulwuttikornchai&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;
&lt;P&gt;1. is Multi-core and Multi-threading used for application on many process at the same time?&lt;/P&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;It's difficult to give sensible answer given such broad statement of a question. Short answer is: yes, it is. Whether it makes sense in your context is another question.&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;
&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/408398"&gt;Ratchadaporn Adulwuttikornchai&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;2. We use Visual Studio 2003, can we use Multi-core &amp;amp; multi-thread, and how?&lt;EM&gt; &lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;Definitely, yes. The problem is that there are too many options. You can use explicit OS API threading, OpenMP, TBB, Cilk, .NET TPL, OS/.NET thread pools, libraries for agent-oriented programming, etc.&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;
&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/408398"&gt;Ratchadaporn Adulwuttikornchai&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;
&lt;P&gt;3. In our case, we want to use the multi-threading technique for data sharing of a system to connect among computers from many locations through internet access (with fix IP address). Will there be any problem doing so especially through internet? Will it be useful to multi-thread while connecting on the internet?&lt;/P&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;Yes, you can use threading to speed up CPU-bound processing (and possibly memory-bound processing), and/or you can use threading to simplify programming model (blocking calls instead of async/nonblocking calls).&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;I can suggest some basic reading about multi-threading, for example:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://en.wikipedia.org/wiki/Thread_(computer_science)"&gt;http://en.wikipedia.org/wiki/Thread_(computer_science)&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://software.intel.com/en-us/articles/getting-started-with-parallel-programming-for-multi-core"&gt;http://software.intel.com/en-us/articles/getting-started-with-parallel-programming-for-multi-core&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 29 Nov 2008 12:56:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Many-questions-about-Threading-for-Data-Sharing/m-p/894793#M3948</guid>
      <dc:creator>Dmitry_Vyukov</dc:creator>
      <dc:date>2008-11-29T12:56:49Z</dc:date>
    </item>
  </channel>
</rss>

