<?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 newbie question: using all Xeon cores in Intel® Distribution for Python*</title>
    <link>https://community.intel.com/t5/Intel-Distribution-for-Python/newbie-question-using-all-Xeon-cores/m-p/1137023#M904</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I am new to python and machine learning.&lt;/P&gt;

&lt;P&gt;I have a 2 CPU Xeon 2620 v3 (6 cores each). I am using it for ML projects. I have created a virtual environment using intel python v 3.6.&lt;/P&gt;

&lt;P&gt;I have 2 similar scripts script1.py and script2.py. Both files are in the attached zip file.&lt;/P&gt;

&lt;P&gt;The first script script1.py automatically takes all 12 cores and I see very good speed.&lt;/P&gt;

&lt;P&gt;Howerver script2.py never goes beyond 1 core.&lt;/P&gt;

&lt;P&gt;I don't use any complex equations in these scripts. Just usual pandas data frames. Can someone tell me why one script automatically executes on all 12 cores and the other one uses only one core. I would like to speed up the second script as well.&lt;/P&gt;

&lt;P&gt;Thanks and Regards&lt;/P&gt;

&lt;P&gt;--Ashish&lt;/P&gt;</description>
    <pubDate>Fri, 06 Oct 2017 15:06:18 GMT</pubDate>
    <dc:creator>Ashish_L_</dc:creator>
    <dc:date>2017-10-06T15:06:18Z</dc:date>
    <item>
      <title>newbie question: using all Xeon cores</title>
      <link>https://community.intel.com/t5/Intel-Distribution-for-Python/newbie-question-using-all-Xeon-cores/m-p/1137023#M904</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I am new to python and machine learning.&lt;/P&gt;

&lt;P&gt;I have a 2 CPU Xeon 2620 v3 (6 cores each). I am using it for ML projects. I have created a virtual environment using intel python v 3.6.&lt;/P&gt;

&lt;P&gt;I have 2 similar scripts script1.py and script2.py. Both files are in the attached zip file.&lt;/P&gt;

&lt;P&gt;The first script script1.py automatically takes all 12 cores and I see very good speed.&lt;/P&gt;

&lt;P&gt;Howerver script2.py never goes beyond 1 core.&lt;/P&gt;

&lt;P&gt;I don't use any complex equations in these scripts. Just usual pandas data frames. Can someone tell me why one script automatically executes on all 12 cores and the other one uses only one core. I would like to speed up the second script as well.&lt;/P&gt;

&lt;P&gt;Thanks and Regards&lt;/P&gt;

&lt;P&gt;--Ashish&lt;/P&gt;</description>
      <pubDate>Fri, 06 Oct 2017 15:06:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-for-Python/newbie-question-using-all-Xeon-cores/m-p/1137023#M904</guid>
      <dc:creator>Ashish_L_</dc:creator>
      <dc:date>2017-10-06T15:06:18Z</dc:date>
    </item>
  </channel>
</rss>

