[pkg-ntp-maintainers] Package merging
Anthony DeRobertis
anthony at derobert.net
Wed Jun 21 03:41:43 UTC 2006
Bdale Garbee wrote:
> On Tue, 2006-06-20 at 20:44 -0400, Anthony DeRobertis wrote:
>
>>
>> Is there some huge advantage of running the "simple" daemon over the
>> refclock one?
>>
>
> Memory consumption.
>
[I'm guessing that you meant to send this to the list, not just me
personally. My apologies if not.]
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 935 0.1 3.5 2228 2228 ? SL Mar02 231:37 /usr/sbin/ntpd
That's from an admittedly-outdated ntpd, compiled with (and using) a
refclock driver. NTPd doesn't use that much memory.
Doing a quick experiment with testing's ntpd:
root 17140 0.0 0.6 3412 3412 ? SLs 23:33 0:00 /usr/sbin/ntpd -p /var/run/ntpd.pid
root 17198 0.3 0.7 3872 3872 ? SLs 23:35 0:00 /usr/sbin/ntpd -p /var/run/ntpd.pid
The first one is ntp-simple; the second is ntp-refclock. It looks like
we're talking 460K of memory (ntp 1:4.2.0a+stable-2sarge1, on i386).
Considering the small savings, I suggest just dropping ntp-simple —
always build with the refclock drivers.
More information about the pkg-ntp-maintainers
mailing list