Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 22.214.171.124, KDE 3.5.8 and KDE 4.0 beta, Plu
To me before wanting 6 gig swap space I add more ram. No idea what you are doing so can't say as to the needed size of swap. If you think it is twice the size of ram from something you read well that is old days when ram cost alot and ram in cpus were like 32meg. Now ram is cheap and you have way more than you one usually need. Just thought I ask before.
Unsure of the maximum size a swap partition can be but maybe create 3 - 2 gig swap partitions and then use that.
Yup. What I was afraid of...
2G was the swap partition limit for the 2.4 series of Linux kernels. There was no real point in allocating a 6G partition for it.
But you can (in theory) split it into three different swap partitions if you really want to.
Same still applies(*) in 2.6 last time I looked. Redhat had a patch to use larger than 2 Gig extents, but only for the EL kernels I think. I don't recall the mkswap code being different for 64-bit, but I wasn't specifically looking for that at the time I checked.
Was a while ago - maybe I should check again sometime.
(*) - you can make it as large as you like and mkswap will "format" it all, only 2 Gig will actually be used.
Last edited by syg00; 06-18-2009 at 07:48 PM.
Reason: Added footnote
That's talking about mkswap (code) - basically agreeing with what I said.
kswapd only uses 2 Gig (per extent) on x86; it [cs]hould be bigger on _64 but I have a feeling it's based on page size not addressing mode. As I said I'll need to go back into that code sometime.