LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Zenwalk (https://www.linuxquestions.org/questions/zenwalk-75/)
-   -   How much swap space (https://www.linuxquestions.org/questions/zenwalk-75/how-much-swap-space-532002/)

bullinchinashop 02-24-2007 10:12 AM

How much swap space
 
This will probably sound like a silly question but...
How much swap space do I really need?
Does it help to have more two or three swap partitions?
Does it help to have one really large swap partition-say 10-20 GB?
I'm probably going to be using a 250 GB hard drive so space won't be an issue.

acid_kewpie 02-24-2007 10:55 AM

you don't need much swap really. only enough to cover any shortfall in physical ram. if you have 1gb and don't do massive amounts of memory intensive stuff like video gaming and such, you'll probably be fine with none at all. i would never bother giving more than 1gb of swap to a non-server box. additionally no benefit (from your angle at least) of spreading multiple swap partitions around and such.

bullinchinashop 02-24-2007 11:25 AM

Quote:

Originally Posted by acid_kewpie
you don't need much swap really. only enough to cover any shortfall in physical ram. if you have 1gb and don't do massive amounts of memory intensive stuff like video gaming and such, you'll probably be fine with none at all. i would never bother giving more than 1gb of swap to a non-server box. additionally no benefit (from your angle at least) of spreading multiple swap partitions around and such.

I've only got 512MB of RAM. My computer uses RIMBUS so I'm really not trying to increase it. I might use gimp & play games every once in a while

acid_kewpie 02-24-2007 11:33 AM

well you won't miss anotyher 512mb i expect, you'll seldom need it though.

tommcd 03-01-2007 03:15 AM

The general rule of thumb is to have a swap space 2X the amount of RAM, but generally anything over 1 GB swap is wasted space. So, in your case, with 512mb RAM i would set it at 1GB.

acid_kewpie 03-01-2007 03:22 AM

Quote:

Originally Posted by tommcd
The general rule of thumb is to have a swap space 2X the amount of RAM

Yeah totally right... if it's still 1992 and RAM costs more than children.

tommcd 03-02-2007 02:33 AM

Quote:

Originally Posted by acid_kewpie
Yeah totally right... if it's still 1992 and RAM costs more than children.

Well, I suppose it depends on how you use your machine. I have 1.5 GB RAM in my system, and I use the swap space sometimes, like now:
-------------------------------------------
tom[~]$ free
total used free shared buffers cached
Mem: 1555388 825912 729476 0 61172 476484
-/+ buffers/cache: 288256 1267132
Swap: 1951888 2432 1949456
tom[~]$
-------------------------------------------------
I do some gaming, video encoding, etc, which can use a lot of RAM. Granted, I never use 1 GB swap, but I would rather have more than not enough, unless I was short on hard drive space. But big hard drives are cheap nowadays.

sweetnsourbkr 06-01-2007 02:17 PM

I've got 2GB RAM and 512MB of swap. It's really a matter of choice, but I think swap shouldn't go past 512MB for a desktop system.


All times are GMT -5. The time now is 03:33 PM.