[lkml]   [2011]   [May]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [patch V3] percpu_counter: scalability works
On Tue, 17 May 2011, Tejun Heo wrote:

> Hello,
> On Tue, May 17, 2011 at 03:00:23PM +0200, Eric Dumazet wrote:
> > Absolutely not. Its slow path yes, but not super-slow.
> I was speaking in relative terms. We're talking about local only fast
> path vs. something which hits every percpu counter likely causing
> cache misses in many of them. It's bound to be multiple orders of
> magnitude heavier than fast path.

Well lets just adopt the system that vm statistics use. Bound the error by
time and batch and allow the user to change the batch if more accuracy is

The _sum function is optional and should it should be explained that the
result *could* be better but dont count on it.

 \ /
  Last update: 2011-05-17 15:57    [W:0.080 / U:3.028 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site