Hacker News new | ask | show | jobs
by TwistedWave 2991 days ago
I don't understand. In most of your samples, there is no bar in the first two bands. Does that mean that your samples are a multiple of 1 MB?

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?

1 comments

> 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.