Re: device pooling and high interrupts

From: Mike Silbersack (silby_at_silby.com)
Date: 04/24/04

  • Next message: Mike Tancsa: "Re: FAST_IPSEC bug fix"
    Date: Sat, 24 Apr 2004 13:14:26 -0500 (CDT)
    To: GiZmen <gizmen@blurp.one.pl>
    
    

    On Sat, 24 Apr 2004, GiZmen wrote:

    > Hello,
    >
    > I am runnign freebsd 5.2.1 on 386 arch with two rl lan cards. My mainboard
    > is on VIA KT 266A with AMD athlon 1.1.
    > I read man polling and i have HZ=1000. My problem is that when i set up
    > sysctl variable kern.polling.enable=1 my interrupts greatly increase.
    > When my system is idle and indicate 0-1% interrupts with out polling.
    > and when i turn on polling interrupts goes up to about 20% on idle system.
    > Is it normal ? I never before use polling and i dont know that i have
    > something bad in my system ?
    >
    > Can somebody explain me this ?
    >
    > thx
    > --
    > Best Regards:
    > GiZmen

    Ruslan can probably jump in and give you a better explanation than I can,
    but I'll try to provide a quick answer. In short, the rl cards + driver
    are not well suited to polling and will not work well with it enabled.
    Support for polling on rl may in fact be removed as a result of this.

    Mike "Silby" Silbersack
    _______________________________________________
    freebsd-hackers@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
    To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"


  • Next message: Mike Tancsa: "Re: FAST_IPSEC bug fix"

    Relevant Pages

    • Re: Polling for ath driver
      ... TCP) livelock is not really an issue, as the the streams will slow their ... These are tradeoffs that one accepts when using polling. ... The interrupts are the RX and TX interrupts. ... ethernet driver, the hifn crypto card driver, and the ath driver. ...
      (freebsd-net)
    • RE: Polling For 100 mbps Connections? (Was Re: Freebsd Theme Song)
      ... >> Well, if polling does no good for fxp, due to ... >> hardware doing controlled interrupts, ... >drop packets instead of going into livelock. ...
      (freebsd-questions)
    • Re: Polling For 100 mbps Connections? (Was Re: Freebsd Theme Song)
      ... Polling For 100 mbps Connections? ... the hardware doing controlled interrupts, then why does the fxp driver even let you set it as an option? ... They haven't, freebsd accounting doesn't work ... regarding the fxp driver and hardware. ...
      (freebsd-questions)
    • Re: Polling For 100 mbps Connections? (Was Re: Freebsd Theme Song)
      ... Polling For 100 mbps Connections? ... the hardware doing controlled interrupts, then why does the fxp driver even let you set it as an option? ... They haven't, freebsd accounting doesn't work ... regarding the fxp driver and hardware. ...
      (freebsd-questions)
    • RE: Polling For 100 mbps Connections? (Was Re: Freebsd Theme Song)
      ... Polling For 100 mbps Connections? ... The disadvantage is that it will drop packets when you have momentary bursts that would harmlessly put the machine into livelock. ... You can process # interrupts X ring_size packets; ... it is you who are throwing around the numbers - or were in your prior post - regarding the fxp driver and hardware. ...
      (freebsd-questions)