Re:Show HN: Visualizing disk IO activity using log-scale ban...
by apankrat on Wednesday April 11, 2018 @04:30PM
(#16815262)
> Does that mean that your samples are a multiple of 1 MB?
No my samples, but the buffer sizes in read/write requests are multiples of 1 MB.
Consider when a disk driver would update its read/write counters - it happens when a request is completed, so even if a request takes longer than a sampling interval to complete, the byte counter will still go up in buffer size, atomically.
If your read/write rate is not constant, such as in the non-optimized file copy and you display the rate mod 1024 in the first band, I expect to see seemingly random bars that would not show any meaningful information. What am I missing?