Activity log for bug #872699

Date Who What changed Old value New value Message
2011-10-12 07:16:19 Aurimas Mikalauskas bug added bug
2011-11-01 16:49:07 Daniel Nichter description [In:<strong class="program">pt-diskstats</strong>] /proc/diskstats displays sectors read and sectors written in columns #6 and #10. Sectors are typically 512b units, however pt-diskstats assumes one sector = 1kb. Therefore, it would be best either to rename them to "rd_avsct" and "wr_avsct", or divide the number by 2 to display kilobytes. Here's a sample that clearly shows that numbers do not add up. I've written 1MB with dd using oflag=direct bs=131072 count=8: #ts device rd_s rd_avkb rd_mb_s rd_mrg rd_cnc rd_rt wr_s wr_avkb wr_mb_s wr_mrg wr_cnc wr_rt busy in_prg {1} sdb 0.0 0.0 0.0 0% 0.0 0.0 7.9 256.0 1.0 0% 0.0 0.0 0% 0 Thank you, Aurimas /proc/diskstats displays sectors read and sectors written in columns #6 and #10. Sectors are typically 512b units, however pt-diskstats assumes one sector = 1kb. Therefore, it would be best either to rename them to "rd_avsct" and "wr_avsct", or divide the number by 2 to display kilobytes. Here's a sample that clearly shows that numbers do not add up. I've written 1MB with dd using oflag=direct bs=131072 count=8:   #ts device rd_s rd_avkb rd_mb_s rd_mrg rd_cnc rd_rt wr_s wr_avkb wr_mb_s wr_mrg wr_cnc wr_rt busy in_prg   {1} sdb 0.0 0.0 0.0 0% 0.0 0.0 7.9 256.0 1.0 0% 0.0 0.0 0% 0 Thank you, Aurimas
2011-11-01 16:49:23 Daniel Nichter tags doc doc pt-diskstats
2011-11-01 16:57:15 Daniel Nichter tags doc pt-diskstats pt-diskstats wrong-value
2011-11-01 16:57:18 Daniel Nichter percona-toolkit: importance Undecided Medium
2011-11-01 16:57:20 Daniel Nichter percona-toolkit: milestone 2.0-beta2
2011-11-23 00:18:27 Baron Schwartz percona-toolkit: status New Confirmed
2011-12-16 16:00:11 Daniel Nichter tags pt-diskstats wrong-value pt-diskstats wrong-output
2012-01-09 16:47:22 Daniel Nichter percona-toolkit: assignee Brian Fraser (fraserbn)
2012-01-31 20:41:49 Brian Fraser branch linked lp:~percona-toolkit-dev/percona-toolkit/pt-diskstats-2.0
2012-01-31 20:41:55 Brian Fraser percona-toolkit: status Confirmed Fix Committed
2012-02-08 15:26:23 Daniel Nichter percona-toolkit: status Fix Committed Fix Released