Re: tuning for high connection rates



Mike Tancsa wrote:
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.

No problems with livelock, system is usable all the time.

What firewall (if any) are you using ? pf used to be a lot slower
than ipfw.

We use pf. Disabling it at all gives no noticable performance boost
because instead performance drops due to connections from networks we
currently filter. Maybe ipfw is faster, we could try that but would like
to use pf furthermore.

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.

Seems to be enabled by default on freebsd7, from our if_em.h:

/* Set FAST handling on by default */
#if __FreeBSD_version > 700000
#define EM_FAST_IRQ
#endif

greetings,
cryx


_______________________________________________
freebsd-performance@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-performance
To unsubscribe, send any mail to "freebsd-performance-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Burning CDs
    ... > I agree that it could be the brand of CDs you are using. ... see thats why I was leaning towards a bad burner. ... back in, I always get the "Disk in drive P may be damaged, retry or ... I can try further disabling of everything thats left ...
    (comp.sys.atari.st)
  • Re: FreeBSD 7.0 interrupt storm with irq0: clk
    ... you use Polling and the interrupt-rate is 1000HZ (your HZ-Option). ... Thats ok. ... The above options say "run my clock at 1000 hz and poll". ...
    (freebsd-stable)
  • Re: tuning for high connection rates
    ... Polling is helpful to prevent livelock. ... Not sure if thats happening to you. ... The Yandex driver is at ... Another thing to try is to turn back on Fast Interrupt handling. ...
    (freebsd-performance)
  • Re: Confused about synchronous communications
    ... For your i2c communication it seems like you don't you any interrupts or ... If thats the case then I shouldn't have any problem. ... I'm reading up on kernel mode drivers in windows at the moment I really ...
    (sci.electronics.design)
  • Re: FreeBSD 7.0 interrupt storm with irq0: clk
    ... Abdullah Ibn Hamad Al-Marri schrieb: ... you use Polling and the interrupt-rate is 1000HZ (your HZ-Option). ... Thats ok. ...
    (freebsd-stable)