[ntp:hackers] Ntpd Processor Affinity
Martin Burnicki
martin.burnicki at meinberg.de
Thu Sep 7 12:24:32 UTC 2006
Ajit,
Ajit Aranha wrote:
> Hi Martin,
>
> >>> Is it sufficient to have the ntpd thread bound to a single
>
> processor??
>
> >>Maybe it would be sufficient to bind only the clock interpolation
> >>thread to a
> >>single CPU, not the whole ntpd process. I haven't tried this, though.
>
> Could you let me know where in the source code,this interpolation
> thread is launched??
StartClockThread() in ports/winnt/ntpd/nt_clockstuff.c
Maybe you should try to move the call to SetThreadAffinityMask() to the top of
the ClockThread() function to be sure only that thread is bound to the
specific CPU.
> I will make the changes and put it on a time server i have for test.
> I plan just to check if the offset(s) indicated by ntpd -qn remains
> reasonable.Is there anything else you could suggest i check??
I think it's OK to check that way.
Regards,
Martin
--
Martin Burnicki
Meinberg Funkuhren
Bad Pyrmont
Germany
More information about the hackers
mailing list