[SuSE Linux] Memory allocation
Running SuSE Linux 5.2 with KDE upgrade to 1.0. After upgrading from 32M of ram to 96M I noticed the following happening after a boot. ... <4>Probing PCI hardware. <4>Calibrating delay loop.. ok - 53.25 BogoMIPS <4>Memory: 79328k/81920k available (776k kernel code, 384k reserved, 1432k data) <6>Swansea University Computer Society NET3.035 for Linux 2.0 <6>NET3: Unix domain sockets 0.13 for Linux NET3.035. ... At boot time it clearly shows 79328k of memory available for programs. But when I run free I get the following... total used free shared buffers cached Mem: 79328 77884 1444 54612 4900 16656 -/+ buffers/cache: 56328 23000 Swap: 104416 0 104416 As you can see I now only have 1440k of free memory. Is there some way to limit the amount of ram that the kernel grabs for its use and if so how can I incorporate it into my boot string? I do notice that when I start a program such as StarOffice it takes a long time to load and my machine starts to use swap which seems strange to me with the amount of ram installed. Any help would be appreciated on this. Ken Schneider kschneider@sprintmail.com - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archiv at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>
Run top... Look at which programs are using memory...it is easy to sort them using SHIFT-M .. It sounds like you have a rougue program using WAAAYY to much memory -- Nicholas Henke University of Pennsylvania Class of 2002 215-417-6418 ---------------- "To be sure of hitting the target, shoot first, and call whatever you hit the target" ---------------- - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archiv at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>
On Wed, 16 Dec 1998, Ken Schneider wrote:
Running SuSE Linux 5.2 with KDE upgrade to 1.0. After upgrading from 32M of ram to 96M I noticed the following happening after a boot. ... <4>Probing PCI hardware. <4>Calibrating delay loop.. ok - 53.25 BogoMIPS <4>Memory: 79328k/81920k available (776k kernel code, 384k reserved, 1432k data) <6>Swansea University Computer Society NET3.035 for Linux 2.0 <6>NET3: Unix domain sockets 0.13 for Linux NET3.035. ... At boot time it clearly shows 79328k of memory available for programs. But when I run free I get the following...
As you can see I now only have 1440k of free memory.
total used free shared buffers cached Mem: 79328 77884 1444 54612 4900 16656 -/+ buffers/cache: 56328 23000 Swap: 104416 0 104416
Everything looks normal to me. (course I'm probably wrong...) The way I understand it, Linux caches disk files in ram to speed access. Here's mine: stevep@Asimov:/etc > free total used free shared buffers cached Mem: 30824 30192 632 21528 4500 17100 -/+ buffers/cache: 8592 22232 Swap: 68540 752 67788 My 32mb box runs great, btw. Have not tried staroffice, but I hear it eats swap like mad. Steve. - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archiv at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>
participants (3)
-
henken@seas.upenn.edu
-
kschneider^@sprintmail.com
-
stevep@brokersys.com