From: Date: July 3 2008 9:43pm Subject: Re: mutex contention for the query cache List-Archive: http://lists.mysql.com/internals/35791 Message-Id: <20080703194345.GA386@janus.mylan> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hi! On Jul 03, MARK CALLAGHAN wrote: > > The hot spots are: > 1) global mutex on query cache > 2) global mutex on MyISAM key cache > 3) global mutex on InnoDB memory allocator > 4) inefficient rw-mutex in InnoDB > 5) contention on transaction log mutex in InnoDB ... > I would like to see SMP performance as the #1 priority for MySQL. It > may be now, but the fix is to give us new stuff (Maria, Falcon) rather > than to fix the old stuff. It's surely more of a priority than it was before. For example, I keep it in mind all the time as I code (whether it helps is yet to be seen :) As for the new vs. old stuff - we cannot fix key cache in 5.0, these scalability problems often require quite a bit of redesign to be fixed. Meaning, the fix cannot go in 5.0 or 5.1, we're talking about 6.x at the earliest. And query cache we will need to fix someday, as it's here to stay (at least for a while). MyISAM key cache is less of an issue, it is possible that Maria will replace MyISAM completely (it can work in MyISAM-compatible non-transactional mode). Regards / Mit vielen Grüssen, Sergei -- __ ___ ___ ____ __ / |/ /_ __/ __/ __ \/ / Sergei Golubchik / /|_/ / // /\ \/ /_/ / /__ Principal Software Engineer/Server Architect /_/ /_/\_, /___/\___\_\___/ Sun Microsystems GmbH, HRB München 161028 <___/ Sonnenallee 1, 85551 Kirchheim-Heimstetten Geschäftsführer: Thomas Schroeder, Wolfgang Engels, Dr. Roland Boemer Vorsitzender des Aufsichtsrates: Martin Häring