Timing issue with Dummynet on high kernel timer interrupt

Ian Lepore ian at freebsd.org
Fri Nov 6 20:58:33 UTC 2015


On Fri, 2015-11-06 at 11:15 -0800, Adrian Chadd wrote:
> Ideally there'd be both behaviours:
> 
> * You'd specify whether a timer/sleep needs to be exact or can
> withstand some jitter (which is what linux provides); and
> * You can communicate to the kernel its aggressiveness for coalescing
> wakeups.
> 

We already implement exactly both of these things (the former in args
to scheduling callouts, the latter in the form of the sysctl I
referenced earlier which lets you set the "agressivness for
coalescing").

The problem with the former is very little code actually uses the
flavor of callout scheduling that lets you specify precision.  The
problem with the latter is that its default value is to allow enough
deviation that people think the system is misbehaving.

-- Ian


More information about the freebsd-net mailing list