1 нояб. 2016 г. 13:12 пользователь "Alexander Sheiko" <[email protected]>
написал:
>
>
> В письме от Втр, 01 Ноя 2016, 07:01 Eugene Grosbein пишет:
>
> >>> Попробуй сделать sysctl kern.eventtimer.periodic=0, это отключает
> >>> описанную экономию.
> >
> > Опечатка, надо 1 ставить. Ноль там по дефолту нынче.
>
> У меня по умолчанию на Hetzner виртуалках - 0, на железном сервере - 1. На
> повышенный la эта величина ни как не влияет. Скорее всего умолчание просто
> зависит от чипа.
https://www.freebsd.org/cgi/man.cgi?query=eventtimers&apropos=0&sektion=0&manpath=FreeBSD+10.3-RELEASE+and+Ports&arch=default&format=html
kern.eventtimer.periodic allows to choose periodic and one-shot operation
mode. In periodic mode, periodic interrupts from timer hardware are taken
as the only source of time for time events. One-shot mode instead uses
currently selected time counter to precisely schedule all needed events and
programs event timer to generate interrupt exactly in specified time.
Default value depends of chosen timer capabilities, but one-shot mode is
preferred, until other is forced by user or hardware.

Ответить