linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC 0/2] Increase accuracy and precision of sampled io_ticks
@ 2020-06-09  4:07 Josh Snyder
  2020-06-09  4:07 ` [RFC 1/2] Eliminate over- and under-counting of io_ticks Josh Snyder
  2020-06-09  4:07 ` [RFC 2/2] Track io_ticks at microsecond granularity Josh Snyder
  0 siblings, 2 replies; 7+ messages in thread
From: Josh Snyder @ 2020-06-09  4:07 UTC (permalink / raw)
  To: Jens Axboe, Mikulas Patocka, Mike Snitzer
  Cc: linux-block, linux-kernel, Josh Snyder

Commit 5b18b5a73760 ("block: delete part_round_stats and switch to less
precise counting") introduces a sampling technique for calculating
io_ticks. The sampling algorithm introduces bias in the calculation of
I/O utilization. In my production system, this bias means that a
workload which previously reported 10% I/O utilization now reports 80%.
Patch 1 of this series eliminates the bias.

The sampling technique is also subject to statistical noise. Because it
infers io_ticks based on only 100 samples per second, io_ticks becomes
imprecise, and subject to swings when measuring both random and
deterministic workloads. Patch 2 of this series provides increased
precision by raising the sampling rate.



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-06-10  7:26 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-09  4:07 [RFC 0/2] Increase accuracy and precision of sampled io_ticks Josh Snyder
2020-06-09  4:07 ` [RFC 1/2] Eliminate over- and under-counting of io_ticks Josh Snyder
2020-06-09  8:08   ` Ming Lei
2020-06-10  1:41   ` Hou Tao
2020-06-10  7:26     ` Josh Snyder
2020-06-09  4:07 ` [RFC 2/2] Track io_ticks at microsecond granularity Josh Snyder
2020-06-09  8:50   ` Ming Lei

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).