Re: Netgraph performance question

2005-02-11 Thread Gleb Smirnoff
On Fri, Feb 04, 2005 at 11:03:31AM -0600, Guy Helmer wrote: G> I'm wondering if bumping the recvspace should help, if changing the G> ngsocket hook to queue incoming data should help, if it would be best to G> replace ngsocket with a memory-mapped interface, or if anyone has any G> other ideas t

Re: Netgraph performance question

2005-02-04 Thread Julian Elischer
Guy Helmer wrote: A while back, Maxim Konovalov made a commit to usr.sbin/ngctl/main.c to increase its socket receive buffer size to help 'ngctl list' deal with a big number of nodes, and Ruslan Ermilov responded that setting sysctls net.graph.recvspace=20 and net.graph.maxdgram=20 was

Re: Netgraph performance question

2005-02-04 Thread Ruslan Ermilov
On Fri, Feb 04, 2005 at 03:43:35PM -0600, Guy Helmer wrote: > >I'm sorry, I mis-wrote. My ng_tee is actually modified to only passes >packets to the r2l/l2r hooks if they are connected, otherwise packets are >passed directly to the left/right hooks (so it's an optional divert), so >

Re: Netgraph performance question

2005-02-04 Thread Guy Helmer
Ruslan Ermilov wrote: Hi Guy, On Fri, Feb 04, 2005 at 11:03:31AM -0600, Guy Helmer wrote: A while back, Maxim Konovalov made a commit to usr.sbin/ngctl/main.c to increase its socket receive buffer size to help 'ngctl list' deal with a big number of nodes, and Ruslan Ermilov responded that sett

Re: Netgraph performance question

2005-02-04 Thread Ruslan Ermilov
Hi Guy, On Fri, Feb 04, 2005 at 11:03:31AM -0600, Guy Helmer wrote: > A while back, Maxim Konovalov made a commit to usr.sbin/ngctl/main.c to > increase its socket receive buffer size to help 'ngctl list' deal with a > big number of nodes, and Ruslan Ermilov responded that setting sysctls > net

Netgraph performance question

2005-02-04 Thread Guy Helmer
A while back, Maxim Konovalov made a commit to usr.sbin/ngctl/main.c to increase its socket receive buffer size to help 'ngctl list' deal with a big number of nodes, and Ruslan Ermilov responded that setting sysctls net.graph.recvspace=20 and net.graph.maxdgram=20 was a good idea on a s