Add new comment
|
Definitely that’s a step in the right direction. Unfortunately it’s still hard to tell who’s wasting most disk IO in too many situations. Suppose you have two processes - dd and mysqld. dd is doing massive linear IO and its throughput is 10MB/s. Let’s say dd reads from a slow USB drive and it’s limited to 10MB/s because of the slow reads from the USB. At the same time MySQL is doing a lot of very small but random IO. A modern SATA 7200 rpm disk drive is only capable of about 90 IO operations per second (IOPS). So ultimately most of the disk time would be occupied by the mysqld. Still iotop would show dd as the bigger IO user. Btw, there's also atop which is a good multi-purpose top like tool. It shows CPU, IO, Network load and more. There's also the atop kernel patch that adds some extra performance counters. – Teodor Milkov
Reply |



Recent comments
8 hours 39 min ago
18 hours 34 min ago
18 hours 43 min ago
20 hours 3 min ago
22 hours 10 min ago
1 day 35 min ago
1 day 8 hours ago
1 day 12 hours ago
1 day 12 hours ago
1 day 12 hours ago