LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This 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


Reply
  Search this Thread
Old 04-30-2003, 12:17 AM   #1
jt1020
Member
 
Registered: Apr 2003
Location: root@localhost
Distribution: Fedora Core 5, Ubuntu, Debian
Posts: 537

Rep: Reputation: 30
Question Swap Partition - RAM??


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?
 
Old 04-30-2003, 12:24 AM   #2
bubba169
Member
 
Registered: May 2002
Distribution: Manjaro
Posts: 176

Rep: Reputation: 31
If you have more ram then Linux won't be using swap as much

Quote:
I want to upgrade my RAM to 512 Mb, I just want to know if this will affect my Linux or my swap partition??
Yes Linux will love you for it, I would just pop the ram in and boot into RedHat and you should see an improvement.

Bubba169
 
Old 04-30-2003, 12:28 AM   #3
jt1020
Member
 
Registered: Apr 2003
Location: root@localhost
Distribution: Fedora Core 5, Ubuntu, Debian
Posts: 537

Original Poster
Rep: Reputation: 30
thanx for d info bubba169, I'm a wiser person!


Last edited by jt1020; 04-30-2003 at 12:29 AM.
 
Old 04-30-2003, 12:40 AM   #4
nakkaya
LQ Guru
 
Registered: Jan 2003
Location: Turkey&USA
Distribution: Emacs and linux is its device driver(Slackware,redhat)
Posts: 1,398

Rep: Reputation: 45
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.
 
Old 04-30-2003, 12:45 AM   #5
jt1020
Member
 
Registered: Apr 2003
Location: root@localhost
Distribution: Fedora Core 5, Ubuntu, Debian
Posts: 537

Original Poster
Rep: Reputation: 30
So your saying that its ok to upgrade my RAM, and i dont have to upgrade may Swap partition right??
 
Old 04-30-2003, 02:19 AM   #6
zLinuxz
Senior Member
 
Registered: Feb 2002
Location: Shanghai, CHINA
Distribution: RH 5.0,5.1 6.0,6.1 7.0,7.1,7.2,7.3.,8.0,9.0, RH Enterprise, Fedora C1, C2
Posts: 1,216

Rep: Reputation: 45
what happens is the following jt1020,

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.

zLinuxz

Cheers!
 
Old 04-30-2003, 07:00 AM   #7
Artimus
Member
 
Registered: Feb 2003
Location: Wisconsin
Distribution: Slackware
Posts: 188

Rep: Reputation: 30
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...
 
Old 04-30-2003, 08:02 AM   #8
jt1020
Member
 
Registered: Apr 2003
Location: root@localhost
Distribution: Fedora Core 5, Ubuntu, Debian
Posts: 537

Original Poster
Rep: Reputation: 30
ok, I get the point, thnx for explaining zLinuxz

 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
2 GB of ram, do I need a swap partition? davesbedroom Linux - General 2 03-31-2005 11:43 AM
Use RAM as swap??? oneandoneis2 Linux - General 3 08-19-2004 04:48 AM
How to enter swap partition when installing suse8.2 with only 40mb ram cirelj Linux - Newbie 8 02-27-2004 06:06 PM
RAM and Swap shiny_spoon Linux - General 5 01-13-2004 02:27 PM
16 GB of RAM and Linux still uses over 1 GB of a 2 GB swap partition!? lumberjack77 Linux - Software 8 09-25-2003 01:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration