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

From: Gleb Smirnoff (glebius_at_FreeBSD.org)
Date: 09/30/05


Date: Sat, 1 Oct 2005 01:17:16 +0400
To: Andre Oppermann <andre@FreeBSD.org>

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

It isn't. Just 'if (poll_handlers == 0) return;'.

Anyway, deoptionalizing polling would be a separate commit and
discussion.

-- 
Totus tuus, Glebius.
GLEBIUS-RIPN GLEB-RIPE
_______________________________________________
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"


Relevant Pages

  • Re: [REVIEW/TEST] polling(4) changes
    ... >> It adds a stub function call every tick. ... >> immediately if no interfaces do polling. ...
    (freebsd-arch)
  • 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: 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)