[lkml]   [2003]   [Feb]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [patch] Make diskstats per-cpu using kmalloc_percpu
On Tue, Feb 25, 2003 at 12:28:05AM -0800, Rick Lindsley wrote:
> This version makes the disk stats on struct gendisk per-cpu.
> I am working on making the per partition stats per-cpu too (struct
> hd_struct).
> In general I'm in favor of this. It seems intuitive to me that counters
> of this type should be per-cpu. But the question is, do we actually
> see any gains? At the very least, are we sure we've not introduced any
> degradation? Has any of your testing so far been measuring performance or
> just checking for correctness?

Tests on this patch have been for correctness. However, we had done some
measurements sometime back (actually loong time back) to verify if we actually
saw any gains with similar statistics counters. The results are at
Since, we already know that per-cpu counters are good from our experiments
earlier, I did not bother doing it for this patch.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:33    [W:0.052 / U:1.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site