<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/139451</link>
    <title>MATLAB Central Newsreader - matlab on a dual core</title>
    <description>Feed for thread: matlab on a dual core</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2012 by MathWorks, Inc.</copyright>
    <webmaster>webmaster@mathworks.com</webmaster>
    <generator>MATLAB Central Newsreader</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <ttl>60</ttl>
    <image>
      <title>MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Fri, 12 Jan 2007 18:21:44 -0500</pubDate>
      <title>matlab on a dual core</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/139451#351231</link>
      <author>Matt</author>
      <description>I have a strange phenomenon occurring when using Matlab on a dual&lt;br&gt;
core Dell laptop machine. If I run two Matlab programs with two&lt;br&gt;
Matlab windows open at the same time, each of them runs much faster&lt;br&gt;
(2x or 3x) than if I run a single program with only one Matlab window&lt;br&gt;
open (or, two Matlab windows open but one program being idle). Has&lt;br&gt;
anybody encountered a similar problem?</description>
    </item>
    <item>
      <pubDate>Mon, 22 Jan 2007 10:57:57 -0500</pubDate>
      <title>Re: matlab on a dual core</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/139451#352549</link>
      <author>Harmonic Software</author>
      <description>In article &amp;lt;ef4af5a.-1@webcrossing.raydaftYaTP&amp;gt;, iacoviel@bcnospam.edu &lt;br&gt;
says...&lt;br&gt;
&amp;gt; I have a strange phenomenon occurring when using Matlab on a dual&lt;br&gt;
&amp;gt; core Dell laptop machine. If I run two Matlab programs with two&lt;br&gt;
&amp;gt; Matlab windows open at the same time, each of them runs much faster&lt;br&gt;
&amp;gt; (2x or 3x) than if I run a single program with only one Matlab window&lt;br&gt;
&amp;gt; open (or, two Matlab windows open but one program being idle). Has&lt;br&gt;
&amp;gt; anybody encountered a similar problem?&lt;br&gt;
&amp;gt; &lt;br&gt;
You might be encountering some of the threading limitations of matlab.  &lt;br&gt;
You might look at O-Matrix, www.omatrix.com/bench.html, which will take &lt;br&gt;
full advantage of both cores in a single instance of the executable.</description>
    </item>
    <item>
      <pubDate>Mon, 22 Jan 2007 13:26:00 -0500</pubDate>
      <title>Re: matlab on a dual core</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/139451#352551</link>
      <author>per isakson</author>
      <description>Matt wrote:&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; I have a strange phenomenon occurring when using Matlab on a dual&lt;br&gt;
&amp;gt; core Dell laptop machine. If I run two Matlab programs with two&lt;br&gt;
&amp;gt; Matlab windows open at the same time, each of them runs much faster&lt;br&gt;
&amp;gt; (2x or 3x) than if I run a single program with only one Matlab&lt;br&gt;
&amp;gt; window&lt;br&gt;
&amp;gt; open (or, two Matlab windows open but one program being idle). Has&lt;br&gt;
&amp;gt; anybody encountered a similar problem?&lt;br&gt;
&amp;nbsp;&amp;nbsp;&lt;br&gt;
I cannot reproduce your result with my two processor (Xeon) Dell&lt;br&gt;
Workstation with WinXP + R2006b. On the contrary each process is&lt;br&gt;
about ten percent slower when the other is running.&lt;br&gt;
&lt;br&gt;
I used this code for the test:&lt;br&gt;
&lt;br&gt;
function cssm( N )&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;val = rand( 1e6, 1 );&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;while true&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;tic&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;for n = 1:N&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;s1 = sin(val);&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;end&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;toc&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;drawnow&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;end&lt;br&gt;
end&lt;br&gt;
&lt;br&gt;
/ per</description>
    </item>
    <item>
      <pubDate>Mon, 22 Jan 2007 13:32:58 -0500</pubDate>
      <title>Re: matlab on a dual core</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/139451#352552</link>
      <author>dave</author>
      <description>per isakson wrote:&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Matt wrote:&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; I have a strange phenomenon occurring when using Matlab on a&lt;br&gt;
dual&lt;br&gt;
&amp;gt;&amp;gt; core Dell laptop machine. If I run two Matlab programs with two&lt;br&gt;
&amp;gt;&amp;gt; Matlab windows open at the same time, each of them runs much&lt;br&gt;
&amp;gt; faster&lt;br&gt;
&amp;gt;&amp;gt; (2x or 3x) than if I run a single program with only one Matlab&lt;br&gt;
&amp;gt;&amp;gt; window&lt;br&gt;
&amp;gt;&amp;gt; open (or, two Matlab windows open but one program being idle).&lt;br&gt;
&amp;gt; Has&lt;br&gt;
&amp;gt;&amp;gt; anybody encountered a similar problem?&lt;br&gt;
&lt;br&gt;
i have seen strange results due to laptop power settings. newer&lt;br&gt;
laptops can dynamically change processor speed that can cause odd&lt;br&gt;
runtime speed changes. be sure to lock down the speed control on&lt;br&gt;
max, lock hds on so they don't got to sleep, etc, so you can get&lt;br&gt;
consistent speed results on a laptop.</description>
    </item>
    <item>
      <pubDate>Thu, 25 Jan 2007 13:18:47 -0500</pubDate>
      <title>Re: matlab on a dual core</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/139451#353136</link>
      <author>Matt</author>
      <description>Thanks. Do you know how in Windows I can lock down speed control?&lt;br&gt;
&lt;br&gt;
dave wrote:&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; per isakson wrote:&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; Matt wrote:&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt; I have a strange phenomenon occurring when using Matlab on&lt;br&gt;
a&lt;br&gt;
&amp;gt; dual&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt; core Dell laptop machine. If I run two Matlab programs with&lt;br&gt;
&amp;gt; two&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt; Matlab windows open at the same time, each of them runs&lt;br&gt;
much&lt;br&gt;
&amp;gt;&amp;gt; faster&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt; (2x or 3x) than if I run a single program with only one&lt;br&gt;
&amp;gt; Matlab&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt; window&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt; open (or, two Matlab windows open but one program being&lt;br&gt;
&amp;gt; idle).&lt;br&gt;
&amp;gt;&amp;gt; Has&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt; anybody encountered a similar problem?&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; i have seen strange results due to laptop power settings. newer&lt;br&gt;
&amp;gt; laptops can dynamically change processor speed that can cause odd&lt;br&gt;
&amp;gt; runtime speed changes. be sure to lock down the speed control on&lt;br&gt;
&amp;gt; max, lock hds on so they don't got to sleep, etc, so you can get&lt;br&gt;
&amp;gt; consistent speed results on a laptop.</description>
    </item>
    <item>
      <pubDate>Thu, 25 Jan 2007 18:31:38 -0500</pubDate>
      <title>Re: matlab on a dual core</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/139451#353141</link>
      <author>PB</author>
      <description>On Thu, 25 Jan 2007 13:18:47 -0500, Matt wrote:&lt;br&gt;
&amp;lt;TOP-posting repaired&amp;gt;&lt;br&gt;
&amp;gt; dave wrote:&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; per isakson wrote:&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt; Matt wrote:&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&amp;gt; I have a strange phenomenon occurring when using Matlab on&lt;br&gt;
&amp;gt; a&lt;br&gt;
&amp;gt;&amp;gt; dual&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&amp;gt; core Dell laptop machine. If I run two Matlab programs with&lt;br&gt;
&amp;gt;&amp;gt; two&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&amp;gt; Matlab windows open at the same time, each of them runs&lt;br&gt;
&amp;gt; much&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt; faster&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&amp;gt; (2x or 3x) than if I run a single program with only one&lt;br&gt;
&amp;gt;&amp;gt; Matlab&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&amp;gt; window&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&amp;gt; open (or, two Matlab windows open but one program being&lt;br&gt;
&amp;gt;&amp;gt; idle).&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt; Has&lt;br&gt;
&amp;gt;&amp;gt;&amp;gt;&amp;gt; anybody encountered a similar problem?&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; i have seen strange results due to laptop power settings. newer&lt;br&gt;
&amp;gt;&amp;gt; laptops can dynamically change processor speed that can cause odd&lt;br&gt;
&amp;gt;&amp;gt; runtime speed changes. be sure to lock down the speed control on&lt;br&gt;
&amp;gt;&amp;gt; max, lock hds on so they don't got to sleep, etc, so you can get&lt;br&gt;
&amp;gt;&amp;gt; consistent speed results on a laptop.&lt;br&gt;
&lt;br&gt;
&amp;gt; Thanks. Do you know how in Windows I can lock down speed control?&lt;br&gt;
&amp;gt; &lt;br&gt;
&lt;br&gt;
I would assume that this is a BIOS-setting.I think it's called&lt;br&gt;
speed-step technology for intel-based processors?&lt;br&gt;
&lt;br&gt;
/PB</description>
    </item>
  </channel>
</rss>

