June 20, 2013

Post: How Innodb Contention may manifest itself

CPU usage being low with a lot of CPU being idle, increased compared to normal workload portion of system CPU and high number of context switches… time while you’re upgrading to Percona Server or newer MySQL version or doing application/architecture changes. Reducing number of competing…

Comment: How Percona diagnoses MySQL server stalls

… scheduler, and multiple cores (on different CPUs!) (AMD) MySQL would go (once a week) into a …deadlock the most evident OS parameter was the CPU context switches, from 10-20k to 300-400k and hundreds…is BAD, context swiches are much higher. Also creating one key cache for each high concurrency table …

Post: DROP TABLE and stalls: Lazy Drop Table in Percona Server and the new fixes in MySQL

… a high level picture of how Lazy Drop Table works and how the new DROP Table works in MySQL >= 5… Exit the buffer pool mutex Try to force a context switch by advising the os to give up remainder of…CPU with two cores, 8G of memory and a software RAID5 array consisting of 4 disks. The version of MySQL

Post: SHOW INNODB STATUS walk through

…used to ballance between wasting CPU time running spin locks and doing unneeded context switches. The next section …thread declared inside InnoDB 442 mysql tables in use 1, locked 0 MySQL thread id 8079, query … by calling fsync() for modified files. Constant high values for any of these variables is …

Comment: MySQL Performance on Memory Appliance

… to see that we are CPU bound, with high context switching and paging (not swap) activities. We are running multiple MySQL instances, so it is… PM 101676.65 Average: 101676.65 03:00:01 PM CPU %user %nice %system %iowait %steal %idle 03:01:01 PM… 24732.29 Average: sum 24732.29 03:00:01 PM CPU i000/s i001/s i003/s i008/s i009/s…