MySQL Forums
Forum List  »  Performance

Re: Extreme high load and low throughput using MySQL & Hybris on an HP DL380G5, quad-core Intel, 4GB RAM
Posted by: Rick James
Date: April 15, 2009 09:55AM

Thanks for the update.

One more thing to try... Turn completely off the Query Cache. Sounds strange? Well, there are some 'bugs' where the code does not play well with multi-core setups:

* InnoDB's memory allocation. (Not too bad with only 4 cores.)

* MyISAM's locks on the key_buffer.

* Query Cache contention -- This one is especially naughty because the QC is interrogated even before it realizes you should not check it. The only way to prevent the locks it to set query_cache_type = 0 (OFF); DEMAND won't do.

Also, if your CPU has HyperThreading, turn it off. HT is a CPU gimmick that works ok when the _same_ code is running in multiple cores, but degrades performance when _different_ code is running. (The HTs clobber each other's cached words.)

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Extreme high load and low throughput using MySQL & Hybris on an HP DL380G5, quad-core Intel, 4GB RAM
2747
April 15, 2009 09:55AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.