MandrivaThis Forum is for the discussion of Mandriva (Mandrake) 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 friends. In newbie in Linux and having trouble with my swap partition selection. My question, i got confused with swap parititon's size ? I have Acer 5315 Nb and have 1.5 Gb Ram. there are lots of different comments about its size ? and finaly i find this one ;
"but depending on which kernel you are using, either qual or double your RAM would be a good rule of thumb."
what is my kernel how i can know (having updated my Mandriva; there were new menus in my Grub Menu related with Kernel?)? and how much i need to resize my Swap ? i dont want to use hibernate or suspend preferences. As a requirement and for a better performance how much ?
If you don't want to use hibernate or suspend functions or other very RAM-intensive applications such as virtual machines then you probably won't see any swap used ever. With 1.5 Gig of RAM setting aside another gig for swap just to be safe should be absolutely sufficient. My system has 768 MB of RAM and one GB of swap and swap is only very rarely used at all. The kernel version isn't of any importance for that.
You can find out the kernel version with the command uname -r.
Distribution: openSUSE 11.1 RC 1, Mandriva 2009 and Ubuntu 8.10
As a new Linux user, I am also curious. I do a lot of desktop publishing, which requires a lot of photo editing. With my 2GB RAM rig, should my swap file be 4GB? Should it be higher or lower with also using the suspend function of my pc? Does it matter which distro I use?
The old rule of thumb that swap should be twice as large as RAM is complete rubbish, dating from a time when you had 4 MB of RAM on a desktop system and 16 MB of RAM on a multimedia-capable system. You wouldn't do multimedia on the smaller one so 8 MB of swap space were sufficient for that, but you needed more swap to do multimedia. Today, when you want to do everything with a computer, RAM plus Swap must be a sufficient sum total.
Where's the logic in having a smaller amout of swap when you also have a smaller amount of RAM? Swap is there to complement RAM when there isn't enough free memory, so the more RAM you have the less swap you're going to need.
If your software has many undo steps to record, then you might have to use more swap - but I doubt you're going to have 4 GB of undo data in RAM and swap. If you want to use suspend functions utilizing RAM, then of course RAM must be sufficient for that. But for normal work 2 GB of RAM is far more than is necessary. It is more than I have RAM plus swap, and I have yet to manage to fill all of that with image editing.