<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Arial; font-size: 12pt; color: #000000'><font size="2">Just thought I'd share an interesting discovery with the group. This may be common knowledge to others, but it was a bit of a surprise to me. We're in the process of upgrading the servers which run our primary MySQL DB's (version 5.1):<br><br> Old Server New Server<br>---------------------------------------------------------<br> Sun X4200 Silicon Mechanics R516<br> 4 x 2.4GHz 12 x 3.2GHz (+ HT = 24 threads)<br> 16GB Ram 144GB Ram<br> 12 disks - SCSI 24 disks - SAS & SSD<br><br><br>After getting the new servers setup and our databases copied over, I ran sysbench to get some performance benchmarks of the new servers. Surprise - performance was nearly identical or slightly worse. I disabled HT, still no real improvement. After a bit of searching on the web, I found the older versions of MySQL had issues with multi-threading beyond 8 threads.</font><font size="2"> I setup an init script to hot-remove CPU's via sysfs, and voila - performance increased substantially. </font><font size="2">There are patches from Yahoo, Google, and Percona to correct this issue on the older MySQL versions, and the newer versions are supposedly better at handling 32+ threads. <br><br><br>Regards,<br>Scott<br></font></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>