Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm Currently dual booting Win XP and Red Hat 9 on my system, I know that the size of the swap partition is determined by the amount of RAM in my system, My RAM is 256 Mb and my swap partition is 510 Mb (I chose automatic partitioning when I installed Red Hat 9).
I want to upgrade my RAM to 512 Mb, I just want to know if this will affect my Linux or my swap partition??
or if it is posible that I might encounter problems with linux if I upgrade my RAM?
Distribution: Emacs and linux is its device driver(Slackware,redhat)
Posts: 1,398
Rep:
it is just a general rule i have 256 mb ram on my lap top unless i am compiling somthing linux never uses swap usualy usage if araound 100 mb you dont have to upgrade your swap.
Swap space is for Linux to use that disk space as virtual ram memory, meaning that if your RAM memory chip becomes close to being full, then it will start using that Sawp space as Ram as well. However, Swap space is only useful up to a point. For example...if you have 1 gig of RAM chips, it would be a complete waste of space to make a 2 gig Swap space partition, why?, because Linux will never use that much Swap.
As a rule of thumb, never go any bigger than 512megs of Swap space, cuz Linux will simply not use that much. You have your Swap space set at 510megs...that's more than you'll ever use for Swap. However, if you do want to get more real Ram memory, then I do suggest you get another 256chip. But leave your Swap the size it is...
my pc has 512 ram chips, and my swap is 520 megs....in the history of this computer.... I've only ever used 2% of my swap. And that is when I'm burning a CD, have about 35 Netscape windows open, I have Abi Word open, I have my TV tuner open, I have Gaim open, I have FTP open, I have tkturf open an some other applications. So...trust me, you don't need any more than that.
Even on my machine, I don't think I've ever used more then 100MB of swap(High stress times). For the most part, I don't touch swap. And I have 192megs of ram...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.