Affinity is something like tendency.<div>The scheduler will do what you ask</div><div>"as long as practical for performance</div><div>reasons."</div><div><br></div><div>Seems to me if that gets your job</div><div>
done, fine, but might just be a multi</div><div>core version of "nice," in that you get</div><div>a little more priority if possible - but no</div><div>guarantees.</div><div><br></div><div>Things like the old CDC 6600 OS </div>
<div>allowed things called "shot jobs,"</div><div>where you could have the entire</div><div>machine for a while, but the OS was</div><div>a long way from Linux.</div><div><br></div><div> -- Bob</div><div><br><br>
<div class="gmail_quote">On Thu, Sep 22, 2011 at 2:29 PM, Mike Williams <span dir="ltr"><<a href="mailto:knightperson@zuzax.com">knightperson@zuzax.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div bgcolor="#FFFFFF" text="#000000"><div class="im">
On 9/22/2011 2:20 PM, <a href="mailto:scott.tanner@comcast.net" target="_blank">scott.tanner@comcast.net</a> wrote:
<blockquote type="cite">
<div style="font-family:Arial;font-size:12pt;color:#000000">I'm
very familiar with nice, but its the taskset command I was
referring to, which takes affect at the scheduler:<br>
<br>
<a href="http://www.cyberciti.biz/tips/setting-processor-affinity-certain-task-or-process.html" target="_blank">http://www.cyberciti.biz/tips/setting-processor-affinity-certain-task-or-process.html</a><br>
<br>
<br>
Regards,<br>
Scott<br>
</div>
</blockquote></div>
That's good stuff to know for the day when I get to play with a box
that has more than2 actual cores. Regarding turning off
hyperthreading, I assume it's known which pairs of CPU's are
actually the same core? Maybe you could see if there's any
performance difference running it on 1, 3, 5, and 7 versus 1, 2, 3,
and 4 (assuming that 1 and 2 are core the first core, 2 and 3 are
the second, etc). <br><font color="#888888">
<br>
<br>--
<br></font><div class="im">This message has been scanned for viruses and
<br>dangerous content by
<a href="http://www.mailscanner.info/" target="_blank"><b>MailScanner</b></a>, and is
<br>believed to be clean.
</div></div>
<br>_______________________________________________<br>
grlug mailing list<br>
<a href="mailto:grlug@grlug.org">grlug@grlug.org</a><br>
<a href="http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug" target="_blank">http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug</a><br></blockquote></div><br></div>
<br />--
<br />This message has been scanned for viruses and
<br />dangerous content by
<a href="http://www.mailscanner.info/"><b>MailScanner</b></a>, and is
<br />believed to be clean.