mysql and hyperthreading - Printable Version +- Linux-Noob Forums (https://www.linux-noob.com/forums) +-- Forum: Linux Server Administration (https://www.linux-noob.com/forums/forum-8.html) +--- Forum: LAMP (https://www.linux-noob.com/forums/forum-83.html) +--- Thread: mysql and hyperthreading (/thread-2039.html) |
mysql and hyperthreading - hijinks - 2006-04-07 We all know Intel hyped this hyperthreading BS.. now there are some application that actually get improved performance with it on.. most things really don't though.. and even are slower with it on. In all my tests.. mysql is one of them. I used mysql bench and the standard /etc/my.cnf that comes installed with the rpms HT on Code: alter-table: Total time: 11 wallclock secs ( 0.06 usr 0.03 sys + 0.00 cusr 0.00 csys = 0.09 CPU) HT off Code: alter-table: Total time: 11 wallclock secs ( 0.03 usr 0.01 sys + 0.00 cusr 0.00 csys = 0.04 CPU) doing the math.. we see that mysql with HT off performs almost 6-7% better. So if you are looking to run a high volume SQL server.. turn HT off! |