[ntp:questions] Re: Locking memory in ntp

Ulrich Windl Ulrich.Windl at RZ.Uni-Regensburg.DE
Wed Oct 1 15:15:04 UTC 2003


k_gopalakrishnan at hotmail.com (Gopal) writes:

> "David Schwartz" <davids at webmaster.com> wrote in message news:<bl1t5t$ii4$1 at nntp.webmaster.com>...
> > "Gopal" <k_gopalakrishnan at hotmail.com> wrote in message
> > news:f6b5173d.0309251325.2a1c99c3 at posting.google.com...
> > 
> > > Ntpd has a mlockall() function call which locks all the current and
> > > future memory.  Why do we need to lock the memory.
> > 
> >     The whole purpose of NTP is to keep time accurately. If you have
> > unpredictable delays as memory is faulted in, you can't do that.
> > 
> >     DS
> 
> So, If you dont do paging then you need not lock the memory.  Is that right?

Yes, but if you don't do paging, you don't have to worry about the RAM
ntpd needs as well, or did I miss something?

Regards,
Ulrich



More information about the questions mailing list