MySQL Query Latency with the DTrace pid Provider
In 2007 I wrote some DTrace MySQL onliners and scripts, including mysql_pid_etime.d, which used the DTrace pid provider. Derek Crudgington (now a fellow Joyeur) took this a little further and compiled...
View ArticleFile System Latency: part 1
When considering I/O performance from the perspective of applications, file systems can prove to be a better target for analysis than disks. With modern file systems using more DRAM-based cache and...
View ArticleFile System Latency: part 2
This is part 2 of File System Latency, a series on storage I/O performance from the application perspective. In the first part I explained why disk I/O is difficult to associate with an application,...
View ArticleFile System Latency: part 3
This is part 3 on file system latency, a series on storage I/O performance from the application perspective (see part 1 and part 2). Here I’ll show how to actually measure file system I/O latency – the...
View ArticleFile System Latency: part 4
This is part 4 on file system latency, a series on storage I/O performance from the application perspective (see part 1, part 2 and part 3). In the previous post I showed how to trace file system...
View ArticleFile System Latency: part 5
This is part 5 of File System Latency, a series on storage I/O performance from the application perspective (see parts 1, 2, 3 and 4). Previously I explained why disk I/O metrics may not reflect...
View ArticleMySQL performance schema and DTrace
For a series of blog posts on file system latency, I used MySQL as an example application to examine. I was doing so using DTrace, but as it turns out, MySQL 5.5 GA and later has the performance schema...
View ArticleBreaking Down MySQL/Percona Query Latency With DTrace
In May I spoke at PerconaLive 2011 in New York, giving a talk titled “Breaking Down MySQL/Percona Query Latency With DTrace”. It was a great conference, and I’d recommend attending the next one if you...
View ArticleOff-CPU Performance Analysis
I’ve been exercising a new approach for examining application performance, which involves measuring high resolution off-CPU time that is synchronous to the workload. This reveals which code-paths are...
View Article