Re: swap size for 2gb 2 processors?
- From: floyd@xxxxxxxxxx (Floyd L. Davidson)
- Date: Thu, 21 Dec 2006 04:58:21 -0900
General Schvantzkoph <schvantzkoph@xxxxxxxxx> wrote:
On Thu, 21 Dec 2006 11:22:22 +0000, Ron Hardin wrote:
How big should I partition swap for 2gb ram 2 processors? Planning
out a partition magic run on a 120 gb disk, sharing with windows XP.
The rule of thumb is 2 * RAM size, in your case that would be 4G. This is
There is no such rule of thumb for Linux, and *never* has been.
Use Google and learn something about it before you post false
statements.
Think for a bit what you are suggesting... If he has only 512 Mb
of RAM then he needs 1 Gb of swap? with 1 Gb of RAM he needs 2 Gb
of swap?? and with 2 Gb of RAM he needs 4 Gb of swap???
That's nonsense, because with 512Mb of RAM he has 1.5 Gb of
virtual memory, but with 2 Gb of RAM he has 6 Gb of virtual
memory! But in fact the *less* RAM one has, the *more* swap one
needs (for any given required virtual memory).
What if he *needs* a minimum of 3 Gb of virtual memory? That is
determined by what they system is *doing*, and has *nothing* to
do with how much RAM is equipped.
The way to determine how much swap should be used is to simply
subtract the size of physical RAM from the needed virtual
memory. Physical RAM used to be determined mostly by what could
be afforded, but today it is more a matter of what the
motherboard can hold. Note that swap may not be needed at all!
not a hard and fast rule but given how cheap disk space is there isn't
much reason to use less. BTW If I were you I'd get a second disk rather
than repartition your tiny 120G drive. Newegg is selling 320G Seagates for
$94.
--
Floyd L. Davidson <http://www.apaflo.com/floyd_davidson>
Ukpeagvik (Barrow, Alaska) floyd@xxxxxxxxxx
.
- Follow-Ups:
- Re: swap size for 2gb 2 processors?
- From: ray
- Re: swap size for 2gb 2 processors?
- From: Justice
- Re: swap size for 2gb 2 processors?
- References:
- swap size for 2gb 2 processors?
- From: Ron Hardin
- Re: swap size for 2gb 2 processors?
- From: General Schvantzkoph
- swap size for 2gb 2 processors?
- Prev by Date: anyone can help me with my alsa sound
- Next by Date: Re: swap size for 2gb 2 processors?
- Previous by thread: Re: swap size for 2gb 2 processors?
- Next by thread: Re: swap size for 2gb 2 processors?
- Index(es):
Relevant Pages
|