Re: [chrony-dev] [PATCH] MacOS X - Increase priority of chronyd process

[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-dev Archives ]


> 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.


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/