Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 05 Dec 2007 17:30:22 -0500
From:      Mike Tancsa <mike@sentex.net>
To:        Philipp Wuensche <cryx-freebsd@h3q.com>
Cc:        freebsd-performance@freebsd.org
Subject:   Re: tuning for high connection rates
Message-ID:  <200712052228.lB5MSJYA031170@lava.sentex.ca>
In-Reply-To: <475723FB.4020304@h3q.com>
References:  <4755ED57.6030603@h3q.com> <200712051616.lB5GGGvb029587@lava.sentex.ca> <4756DE7E.1000104@h3q.com> <200712051729.lB5HTAkn029896@lava.sentex.ca> <475723FB.4020304@h3q.com>

next in thread | previous in thread | raw e-mail | index | archive | help
At 05:19 PM 12/5/2007, Philipp Wuensche wrote:

>After switching to net.isr.direct=0 and 346609775 good packets later, RX
>overruns haven't increased by one! Thats nice. Still interrupt is using
>up the CPU. I'm not quite sure if polling would help now!?

Polling is helpful to prevent livelock. Not sure if thats happening 
to you.  What firewall (if any) are you using ?  pf used to be a lot 
slower than ipfw.

The Yandex driver is at
http://people.yandex-team.ru/~wawa/
but its against RELENG_6 only I think.


Another thing to try is to turn back on Fast Interrupt handling. I 
think its currently disabled.

In if_em.h, try adding

#define EM_FAST_IRQ 1

and then recompile the kernel or just driver.


>We will try disabling TSO to see if anything changes.

If you have TCP in your app, it seems thats the thing to do according 
to the Intel developer.

         ---Mike 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200712052228.lB5MSJYA031170>