[lkml]   [2002]   [May]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: how to get per-socket stats on udp rx buffer overflow?
On Wed, 29 May 2002, Ben Greear wrote:

> Integer increments are usually pretty cheap. Considering
> accuracy is not absolutely needed (imho), then there is no
> need to lock or use special atomic increments.


> So, I view the performance issue as not that big of a deal. Space
> may be a bigger deal, and the /proc interface and/or IOCTLs to read
> the counters...

You could consider per-cpu interrupt/process context buckets
the way the current MIB counter increments are, if space isnt
an issue, although that might be overkill.

> If/when I do implement, I'll be sure to make it a selectable option
> in the kernel config process...

Cool :).

> Ben


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:26    [W:0.035 / U:1.228 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site