[KLUG Programming] Shared libraries & memory usage.
Bruce Smith
programming@kalamazoolinux.org
14 Jul 2003 22:24:49 -0400
> I think the spirit of bruces question was along the lines of something more
> formal than demand paging.
Let me explain the reason behind my question, or what I'm really trying
to determine.
The Devil Linux developers are debating what we should run direct from
CD. Right now we have the option of loading binaries and libraries into
a RAM disk. Or run them, direct from the CD.
Command line binaries (vi, ls, ...) are a no-brainer. They are not used
often, so running them from CD saves a lot of memory usage (RAM disk)
with almost no downside.
It's the daemons we are worried about. We don't want the CD to cycle up
during the normal day of being a firewall. For example, if I'm running
a NTP (or snort, or sshd, or dhcpd, or cipe, or syslog-ng, or ..... )
daemon on my firewall, I don't want the CDROM to cycle up as part of the
normal UNATTENDED operation. That would slow things down and create a
potential point of failure.
So we are wondering about the binary itself, and the shared libraries
the daemon uses. Will those be loaded into memory, and STAY IN MEMORY,
when the daemon is initially started? Or will it need to go back to CD?
--------------------------------------------
Bruce Smith bruce@armintl.com
System Administrator / Network Administrator
Armstrong International, Inc.
Three Rivers, Michigan 49093 USA
http://www.armstrong-intl.com/
--------------------------------------------