Re: device pooling and high interrupts

From: Dmitry Morozovsky (marck_at_rinet.ru)
Date: 04/24/04

  • Next message: Mike Silbersack: "Re: device pooling and high interrupts"
    Date: Sat, 24 Apr 2004 22:03:10 +0400 (MSD)
    To: GiZmen <gizmen@blurp.one.pl>
    
    

    On Sat, 24 Apr 2004, GiZmen wrote:

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

    It seems pretty normal under such low load. polling is worth turning on when
    you have interrupt load spikes more than, say, 40-50% (e.g. highly saturated
    100Mbps router with more than two interfaces and/or VLANs)

    Sincerely,
    D.Marck [DM5020, MCK-RIPE, DM3-RIPN]
    ------------------------------------------------------------------------
    *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru ***
    ------------------------------------------------------------------------
    _______________________________________________
    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 Silbersack: "Re: device pooling and high interrupts"

    Relevant Pages

    • 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)
    • RE: Why is em nic generating interrupts?
      ... I believe the issue is that polling doesn't start ... >> an increase in interrupts, ... the code is meant to do this polling only under heavy load. ... buffers) into the user buffers in user space, or run the code in user space ...
      (freebsd-current)