Petri Helenius wrote:
> >   There's probably a tightloop of frees going on somewhere.  It's tough
> >   for me to analyze this as I cannot reproduce it.  Have you tried
> >   running your tests over loopback to see if the same thing happens?
> 
> What is the definition of "tightloop"? The received packet mbufs are freed
> when the packets get processed/discarded which happens once for
> a packet. The received packet rate is 50000-150000 packets per second.
> >
> >   If so, and it does, can you please explain how to exactly replicate
> >   the test?
> 
> Mirror a port with ~300-800Mbps of IP traffic to an em port. Just enable
> promisc and monitor so it drops the packets after interrupt processing.
> The overhead beyond that is neglible compared to mb_free.

Ah.  You are receiver livelocked.  Try enabling polling; it will
help up to the first stall barrier (NETISR not getting a chance
to run protocol processing to completion because of interrupt
overhead); there are two other stall barriers after that, and
another in user space is possible depending on whether the
application layer is request/response.

-- Terry

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to