dbbench
is a tool I've been working on for a while at MemSQL. It is an open source database workload driver engineers at MemSQL and I use for performance testing. One often-overlooked feature in dbbench
is the ability to replay query log files. Previously, this was a somewhat manual process …
Recent articles
Arena "leak" in glibc
I diagnose an unexpected behavior in the glibc malloc implementation manifesting as a slow memory "leak".
An informal survey of Linux dynamic tracers
I survey some dynamic tracers (e.g. perf, sysdig) available on Linux.
Dtrace isn't just a tool; it's a philosophy
I document some pain points from recent performance investigations and then speculate that such issues are endemic to the Linux community.
Using off-cpu flame graphs on Linux
I use off-cpu flame graphs to identify that repeated mmap calls are slowing my database.
TCP Keepalive is a lie
In the past few months, I’ve had to debug some gnarly issues related to TCP_KEEPALIVE. Through these issues, I’ve learned that it is harder than one might think to ensure that your sockets fail after a short time when the network is disconnected. This blog post is intended …