ntpd should run niced
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ntp (Ubuntu) |
Incomplete
|
Low
|
Unassigned |
Bug Description
Binary package hint: ntp
In ntp-4.2.4p4+dfsg debian/ntp.init starts ntpd with no special priority (I believe this is not new).
If the system is busy at all when ntpd polls the jitter goes way up, and ntpd gets nervous and drops the poll times (it's been a while since I saw anything but 1024; 64 or 128 weren't uncommon before).
I'm guessing the attached patch will measurably decrease the load on ntp.ubuntu.com, since I see that time synchronization installs ntpd.
Version commands output as requested:
jthill@
Description: Ubuntu 8.04
Release: 8.04
jthill@
ntp:
Installed: 1:4.2.4p4+
Candidate: 1:4.2.4p4+
Version table:
*** 1:4.2.4p4+
500 http://
100 /var/lib/
I have had some success doing something similar by running
renice -n-8 $(pidof ntpd)
in rc.local
(I'm at my employer's windoze machine right now, so I can't attach the actual code)