Hacker News new | ask | show | jobs
by apankrat 2991 days ago
> 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.