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.
Hi and happy holidays!
I have 1G swap partition. But all I see is that only 6M of it is sometimes used. My computer is very old and I suppose it must use swap more intensively. Why there's a rule of doing the swap partition as big as two RAMs if it's nearly not needed at all? Should I edit some configs to make use of the swap more intensive? Or maybe there's something wrong with my computer?
If you have sufficient ram for running applications, then you will see that your swap will be hardly used. Making swap twice the ram is an old rule that does not necessarily apply these days when memory is so cheap and many computers ship with large amounts of ram.
Thank you! So, small usage of the swap may be a compliment to my OS .
I'm going to shrink my swap partition. What swap space may be sufficient for my PC (see the specs below)? I use it only as a desktop with KDE.
Yes, that old rule of making your swap partition double the size of your RAM is a bit outdated now. I'm running Slack 12 on a Plll 800 MHz IBM eServer with 768 MB RAM; I'm using a 800 MB swap partition.
My unit rarely goes into swap:-)
You will use swap when the kernel see the need. If you don't have sufficient amount of memory for an application(s) then that's when it will occur. But if your swap is not of sufficient amount and the kernel needs are greater than what you allocate then the system will become sluggish or slow until the task(s) are complete. If your HD space needs are that tight then you could or should look into increase either the HD or the RAM.
One reason to continue keeping swap partitions large is to use it as the device for hibernate. You can actually use non-swap partitions, but hell seems pretty cool to me just to keep it on the swap.
And on that notion I still keep my swap at least as large as my RAM + GRAM.
Just because a machine is older does not mean it will use more SWAP. At the end of the clock cycle it still directly related to how much ram you have vs what you are trying to load into that ram.
Funny enough for whatever reason on machines that have been running quite a while I usually notice that it puts 2m to 6m worth of stuff in swap at some point for some reason. Its nothing to worry about, if its in there and you got ram free it deserves to be there.