<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Arial; font-size: 12pt; color: #000000'>Yes, that info's available under /proc/cpuinfo:<br><br> processor ( id as seen by the kernel )<br> physical id (actual die this processor is on )<br> core id (actual core on the die this processor is on )<br> <br>For the Intel i3 processor on my laptop, I have:<br><br>processor : 0<br>physical id : 0<br>core id : 0<br><br>processor : 1<br>physical id : 0<br>core id : 0<br><br>So 2 processors on the same die/core - hyper-threading is enabled!<br><br>Since I've disabled HT on the MySQL servers, only the real cores are left. I've tried to balance out the CPU's between both physical dies, but I'm not sure if it made much difference. Another good test (once I get some time).<br><br><br>Regards,<br>Scott<br><hr id="zwchr"><b>From: </b>"Mike Williams" <knightperson@zuzax.com><br><b>To: </b>"Mailing List for LUG in greater Grand Rapids, MI area." <grlug@grlug.org><br><b>Sent: </b>Thursday, September 22, 2011 2:29:37 PM<br><b>Subject: </b>Re: [GRLUG] FYI - old mysql and new gear<br><br>
On 9/22/2011 2:20 PM, <a class="moz-txt-link-abbreviated" href="mailto:scott.tanner@comcast.net" target="_blank">scott.tanner@comcast.net</a> wrote:
<blockquote cite="mid:927280079.1789842.1316715651421.JavaMail.root@sz0161a.emeryville.ca.mail.comcast.net">
<style>p { margin: 0; }</style>
<div style="font-family: Arial; font-size: 12pt; color: rgb(0, 0, 0);">I'm
very familiar with nice, but its the taskset command I was
referring to, which takes affect at the scheduler:<br>
<br>
<a class="moz-txt-link-freetext" 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>
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>
<br>
<br>--
<br>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.
<br>_______________________________________________<br>grlug mailing list<br>grlug@grlug.org<br>http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug</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.
</body></html>