Adrian Chadd wrote this message on Fri, Nov 06, 2015 at 11:15 -0800:
> 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
Isn't that what the precision argument in callout is for?
See
On Fri, 6 Nov 2015, Ian Lepore wrote:
On Fri, 2015-11-06 at 17:51 +0100, Hans Petter Selasky wrote:
On 11/06/15 17:43, Ian Lepore wrote:
On Fri, 2015-11-06 at 17:28 +0100, Hans Petter Selasky wrote:
Hi,
Do the test II results change with this setting?
sysctl kern.timecounter.allowedde
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.
Teaching powerd to flip on/off a sysctl for this isn't that t
On Fri, 2015-11-06 at 17:57 +0100, Hans Petter Selasky wrote:
> On 11/06/15 17:51, Hans Petter Selasky wrote:
> > On 11/06/15 17:43, Ian Lepore wrote:
> > > On Fri, 2015-11-06 at 17:28 +0100, Hans Petter Selasky wrote:
> > > > Hi,
> >
> > >
> > > Do the test II results change with this setting?
>
On Fri, 2015-11-06 at 17:51 +0100, Hans Petter Selasky wrote:
> On 11/06/15 17:43, Ian Lepore wrote:
> > On Fri, 2015-11-06 at 17:28 +0100, Hans Petter Selasky wrote:
> > > Hi,
>
> >
> > Do the test II results change with this setting?
> >
> >sysctl kern.timecounter.alloweddeviation=0
> >
>
On 11/06/15 17:51, Hans Petter Selasky wrote:
On 11/06/15 17:43, Ian Lepore wrote:
On Fri, 2015-11-06 at 17:28 +0100, Hans Petter Selasky wrote:
Hi,
Do the test II results change with this setting?
sysctl kern.timecounter.alloweddeviation=0
Yes, it looks much better:
debug.total: 10
On 11/06/15 17:43, Ian Lepore wrote:
On Fri, 2015-11-06 at 17:28 +0100, Hans Petter Selasky wrote:
Hi,
Do the test II results change with this setting?
sysctl kern.timecounter.alloweddeviation=0
Yes, it looks much better:
debug.total: 10013 -> 0
debug.total: 10013 -> 0
debug.total: 1
On Fri, 2015-11-06 at 17:28 +0100, Hans Petter Selasky wrote:
> Hi,
>
> I spent some time to write a test application to investigate this
> issue
> and I found some irregularities, that when
> kern.eventtimer.periodic=0,
> the timer appears to run very irregular.
>
> Test software:
> ==
Hi,
I spent some time to write a test application to investigate this issue
and I found some irregularities, that when kern.eventtimer.periodic=0,
the timer appears to run very irregular.
Test software:
==
fetch http://home.selasky.org:8192/privat/callout_test_dummynet.tar.gz
tar