On Sun, 2018-01-21 at 22:07 +0100, Hans Petter Selasky wrote: > On 01/21/18 21:45, Johannes Lundberg wrote: > > > > What does kern.eventtimer.periodic do? The sysctl description > > wasn't > > that elaborate... > It turns off re-programming the timer every time there is a new > callout > with earlier completion time. > > --HPS Well, it does more than that. It makes the system run "the old way" where there are periodic timer interrupts that happen whether they need to or not (bad for power saving), and there's no way to schedule anything to happen on intervals other than when the periodic ticks occur (so if kern.hz = 1000 and you ask to sleep for a microsecond you may actually sleep up to a millisecond). -- IanReceived on Sun Jan 21 2018 - 20:22:19 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:14 UTC