Re: Interrupts + Polling mode (similar to Linux's NAPI)

2009-03-27 Thread Luigi Rizzo
On Fri, Mar 27, 2009 at 12:47:45AM +, Andrew Brampton wrote: > Hi, > Linux has a feature called NAPI, which amongst other things has this > Interrupt initiated polling mode. Whilst the network traffic is quiet > the network interfaces use interrupts, however as soon as the load > becomes higher

Crash while disconnecting notebook from dock, network related

2009-03-27 Thread Vladimir Grebenschikov
Hi Recent 8-CURRENT kernel crashes on disconnection notebook from dock station. It happens sometimes. Most probably bug actually related to network stack, on dock disconnect following commands executed: /opt/bin/service netif stop em0; /opt/bin/service netif start ath0 (un-configure em0, confi

Re: Interrupts + Polling mode (similar to Linux's NAPI)

2009-03-27 Thread Andrew Brampton
2009/3/27 Luigi Rizzo : > The load of polling is pretty low (within 1% or so) even with > polling. The advantage of having interrupts is faster response > to incoming traffic, not CPU load. oh, I was under the impression that polling spun in a tight loop, thus using 100% of the processor. After a

Re: Interrupts + Polling mode (similar to Linux's NAPI)

2009-03-27 Thread Luigi Rizzo
On Fri, Mar 27, 2009 at 11:05:00AM +, Andrew Brampton wrote: > 2009/3/27 Luigi Rizzo : > > The load of polling is pretty low (within 1% or so) even with > > polling. The advantage of having interrupts is faster response > > to incoming traffic, not CPU load. > > oh, I was under the impression

Quagga adding routes via interface in FreenBSD

2009-03-27 Thread S.I
Hello, As of quagga-0.99.3_2 zebra doesn't add static routes via interface on any freebsd versions from 6-STABLE to FreeBSD 7.2-PRERELEASE #3: Wed Mar 25 11:38:45 EET 2009. quagga-0.99.3 is working but everything after that version including 0.99.11 is not working. Here is the example: #

Re: Quagga adding routes via interface in FreenBSD

2009-03-27 Thread Bjoern A. Zeeb
On Fri, 27 Mar 2009, S.I wrote: Hi, As of quagga-0.99.3_2 zebra doesn't add static routes via interface on any freebsd versions from 6-STABLE to FreeBSD 7.2-PRERELEASE #3: Wed Mar 25 11:38:45 EET 2009. quagga-0.99.3 is working but everything after that version including 0.99.11 is not working.

Re: FreeBSD Router Problem

2009-03-27 Thread Adrian Penisoara
Hi, On Thu, Mar 26, 2009 at 5:02 PM, Pierre Lamy wrote: > stateshard limit1 > > If I want to dos this box all I need to do is hold 10k tcp connections open > in established. > > A 1 day default timeout for established connections is retarded, since > virtually all client apps and

Re[2]: Interrupts + Polling mode (similar to Linux's NAPI)

2009-03-27 Thread Dmitriy
-Original Message- From: Luigi Rizzo To: Andrew Brampton Date: Fri, 27 Mar 2009 12:16:54 +0100 Subject: Re: Interrupts + Polling mode (similar to Linux's NAPI) > On Fri, Mar 27, 2009 at 11:05:00AM +, Andrew Brampton wrote: > > 2009/3/27 Luigi Rizzo : > > > The load of polling is pr

netgraph modules won't unload after use

2009-03-27 Thread Ash Gokhale
I'm developing a kernel module that will be doing inspection and needed access to raw network frames, But the module will never unload: ( but the UNLOAD and QUIESE event handlers are invoked) > #make unload:ro:~/tmp/ > food.ko:3:14:28:31 > /sbin/kldunloa

Re: Interrupts + Polling mode (similar to Linux's NAPI)

2009-03-27 Thread Sam Leffler
Andrew Brampton wrote: Hi, Linux has a feature called NAPI, which amongst other things has this Interrupt initiated polling mode. Whilst the network traffic is quiet the network interfaces use interrupts, however as soon as the load becomes higher polling kicks in and stays like that until the lo

Re: Quagga adding routes via interface in FreenBSD

2009-03-27 Thread S.I
On Fri, 27 Mar 2009 16:02:10 + (UTC) "Bjoern A. Zeeb" wrote: > On Fri, 27 Mar 2009, S.I wrote: > > 1) it's always good to show people in a problem report, especially > when showing other things. > 2) you could use rc.conf to install the route instead of doing it by > hand. By "hand"

Re: FreeBSD Router Problem

2009-03-27 Thread Peter Jeremy
On 2009-Mar-26 11:02:55 -0500, Pierre Lamy wrote: >A 1 day default timeout for established connections is retarded, since >virtually all client apps and OSs as well as intervening stateful >firewalls will lose state after 1 hour. With respect, this is nonsense. An app or OS should never "lose

Re: wds how-to?

2009-03-27 Thread David Cornejo
That brief description was a big help in itself, thank you. One question: should the BSSID in the legacy mode be the same as the MAC address of the main WDS node? Or can it be a random number? thanks, dave c On Wed, Mar 25, 2009 at 5:31 PM, Sam Leffler wrote: > David Cornejo wrote: >> >> Aloha

Re: wds how-to?

2009-03-27 Thread Sam Leffler
It must be the bssid of the peer; it is used to form the 4-address frames. Sam David Cornejo wrote: That brief description was a big help in itself, thank you. One question: should the BSSID in the legacy mode be the same as the MAC address of the main WDS node? Or can it be a random numbe