Re: [REVIEW/TEST] polling(4) changes

From: Luigi Rizzo (rizzo_at_icir.org)
Date: 09/30/05

  • Next message: Gleb Smirnoff: "Re: [REVIEW/TEST] polling(4) changes"
    Date: Fri, 30 Sep 2005 12:33:33 -0700
    To: Andre Oppermann <andre@freebsd.org>
    
    

    On Fri, Sep 30, 2005 at 08:29:43PM +0200, Andre Oppermann wrote:
    ...
    > > It adds a stub function call every tick. The function returns almost
    > > immediately if no interfaces do polling.
    >
    > If it does a FOREACH(interface) then it should stay as a kernel option.

    this wasn't the case when i first wrote it - the list of
    interfaces actually using polling was stored into an array and
    the count was in a variable, so the loop was something like

            for (i=0; i < actively_polling_interfaces; i++)
                    foo[i]->poll()

    so it's basically just an extra function call per tick if
    no interfaces are doing polling.

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


  • Next message: Gleb Smirnoff: "Re: [REVIEW/TEST] polling(4) changes"

    Relevant Pages

    • Re: [REVIEW/TEST] polling(4) changes
      ... >> It adds a stub function call every tick. ... >> immediately if no interfaces do polling. ...
      (freebsd-net)
    • Re: [REVIEW/TEST] polling(4) changes
      ... A>> It adds a stub function call every tick. ... A>> immediately if no interfaces do polling. ...
      (freebsd-net)
    • Re: [REVIEW/TEST] polling(4) changes
      ... A>> It adds a stub function call every tick. ... A>> immediately if no interfaces do polling. ...
      (freebsd-arch)
    • Re: kern.polling.lost_polls
      ... whether all 6 interfaces are done in one poll and so each task needs to be ... Normally, this should not happen, because polling handler should ... the task load by increasing the MTU and enable jumbo frames. ... Selecting an MTU larger than 1500 bytes with the ifconfigutility ...
      (freebsd-questions)
    • Re: kern.polling.lost_polls
      ... I've been experimenting with using device polling on a router with six ... interfaces that handles lots of traffic. ... If there are no lost polls, see if you can increase the frequency until ...
      (freebsd-questions)

  • Quantcast