SlackwareThis Forum is for the discussion of Slackware Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Right after boot running top shows me a memory consumption of around 30mb
(still a lot more than what I get when adding the percentage of memory
consumption for every process [around 9%]) while running an x session the
consumption increases to around 60mb (using fluxbox with gnome or kde this
goes up to a fantastic 110 out of 114mb! [without any programs running]).
But now the miracle: after quitting x the used memory is not freed! still
top show ~60mb used memory, way more than the 9% you get when adding up...
In says in the slackware book (for version 8 though) that slackware runs
fine with 16mb ram.
i think it's because of the way linux manages memory using the slab allocator. it doesn't release the memory for objects simply because the program say free. the allocator keeps those objects around in case they will be needed again (and because these objects are not used by programs, they are not included in the 9% in your case). i guess that's why after logging out of kde, when i log back in, it loads probably 40% faster.
If you look at the output of "free" or do a "cat /proc/meminfo" you'll see a value for "cached". This is what rgiggs is referring to. This cached memory is actually available to the system when needed, so you can count it as "free" memory.