[ntp:questions] ntpd on embedded risc

Harlan Stenn stenn at ntp.org
Sat Feb 21 03:16:45 UTC 2009


>>> In article <871vtsy3ud.fsf at thumper.dhh.gt.org>, John Hasler <john at dhh.gt.org> writes:

John> You may want to use mlockall() to lock ntp into RAM and prevent it
John> from being swapped.  You may also need to use sched_setscheduler() to
John> make it a real-time process with a high priority.  These changes will
John> require a little hacking.

mlockall() and sched_setscheduler() should be discovered automatically by
the 'configure' step.  I think mlockall() is the default on many OSes that
provide it, and the -N option probably controls the priority setting.

-- 
Harlan Stenn <stenn at ntp.org>
http://ntpforum.isc.org  - be a member!




More information about the questions mailing list