lkml.org 
[lkml]   [2002]   [May]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
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.

Cool!

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

thanks,
Nivedita

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  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