Re: [chrony-dev] [PATCH] MacOS X - Increase priority of chronyd process |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-dev Archives
]
- To: chrony-dev@xxxxxxxxxxxxxxxxxxxx
- Subject: Re: [chrony-dev] [PATCH] MacOS X - Increase priority of chronyd process
- From: Bryan Christianson <bryan@xxxxxxxxxxxxx>
- Date: Mon, 24 Aug 2015 20:00:56 +1200
- Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=smtpcorp.com; s=a0-2; h=Feedback-ID:X-Smtpcorp-Track:To:Message-Id:Date: From:Subject; bh=h2EPQHdX6hDaaZfgNi+1AFf0xxcwc0Mz1Cup9lm/T30=; b=12aRd891inls F8rhuCCob5dxf8ZIhP2mDhmD4i+Ski84sMHv2gAyaI4P/q5NLFwL8tIxR7KeRNGImtJsz9pFrKOF0 FKHD0B1fBcAIzo9B2IkjJWhyEv0cYryPu16lLE3ijyD8MdTnGk88+olvDQB04F8Iv1+VoneESMx7I KyMTFhJU2V3BjsOs5ntq8SrnlFNiCMHkhS7t61zIvkUI89kcqJGuY5lCRTEWzc/YQTysMDaPwwdm4 B+ai7zgE+r67sGTdrj2jxLT/jk1kj0oXoUHt/tQGqQHALA0BMkbZrhUHy79FFKRZlI6Inr8dc14GE 0kgFY/VT3SF+BCI5o+rblw==;
- Feedback-id: 149811m:149811acx33YQ:149811szkwWYF0rr:SMTPCORP
> On 24/08/2015, at 7:17 pm, Miroslav Lichvar <mlichvar@xxxxxxxxxx> wrote:
>
> On Mon, Aug 24, 2015 at 08:55:28AM +1200, Bryan Christianson wrote:
>> Run chronyd with a 'nice' value of -15. Also run chronyd as a near real time process to prevent pre-empting of timing calculations and adjustments. This patch has the effect of removing an observed 1usec bias from the mean 'System time' offset.
>
> Should this be enabled by default? I suspect most users won't care
> about 1us offset. How about making it configurable with the -P option?
> If there is no scale as with the Linux SCHED_FIFO priority, it could
> be just 0 for disabled and 1 enabled.
I guess I was thinking of a lab situation where precision timing between is required as being the use case
Yes - I had thought we would need to make it optional, just wasn't sure how it should be implemented. I don't think it needs scaling - the settings suggested in the Apple tech-note seem to work well and I don't think there is a need for a user setting that if configured inappropriately could be detrimental to the system as a whole.
I'll resubmit the patch so it uses -P
Regards
Bryan
--
Bryan Christianson
--
To unsubscribe email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "unsubscribe" in the subject.
For help email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "help" in the subject.
Trouble? Email listmaster@xxxxxxxxxxxxxxxxxxxx.