[ntp:questions] Re: Optimizing ntpd memory usage?

David Woolley david at djwhome.demon.co.uk
Mon May 16 19:51:55 UTC 2005

In article <m3acmvropb.fsf at bfnet.com>,
David Wuertele <dave-gnus at bfnet.com> wrote:

> Can anyone recommend steps I can take to reduce ntpd's memory
> requirement?

Reduce the size of libc by eliminating things that are not actually required
by your application.  ntpd locks itself into RAM and given the bloated size
of Red Hat's libc, this means locking a lot of library code into RAM.  The
2988 shared represents libc (and maybe some smaller shared libraries).

Not quite so good an alternative is to statically link ntpd.  That will
likely use more RAM than a libc that reflects the system's real needs.
Having a libc that does reflect true needs will mean that the shared
component of the footprint may actually not cost any RAM for ntpd.

More information about the questions mailing list