SLUG Mailing List Archives
[SLUG] Memory usage in gateway system.
- To: slug@xxxxxxxxxxx
- Subject: [SLUG] Memory usage in gateway system.
- From: Keiran Sweet <keiranj@xxxxxxxxxxxxxxxx>
- Date: Fri Sep 21 11:16:02 2001
- Reply-to: keiranj@xxxxxxxxxxxxxxxx
I currently have a 133Mhz Pentium system with 64MB RAM acting as my home
network internet gateway, running RH 7.1 with the stock 2.4.2-2 Kernel
I have recompiled the kernel to disable modules, statically include the
network card drivers, and all other hardware drivers, plus include all
needed netfilter support.
All of this managed to get the kernel size down from about 2 megs(plus
modules) to about 722k. My question is why i am constantly noticing that
the systems memory is always
becoming highly used, upon boot it uses 17megs of the 64 availiable, and
i'll check back a day later to see it using about 62 megs of memory.
I have asked a few people about this, and they have advised me that its
due to HDD caching ect, ie, more writing/reading activity the more RAM
I have looked through a few books and havent been able to find much
information on how memory is used ect under linux systems, and am a bit
concerned that a basic system which does
packetfiltering and forwarding, and runs only sshd besides some other
system dependant daemons would use so much memory...
If anyone could shine a bit of light on this issue it would be great.
Thanks in advance.