Mailinglist Archive: opensuse (4288 mails)

< Previous Next >
Re: [opensuse] 10.3 and swap question on 4-GB ram
  • From: Teruel de Campo MD <chusty@xxxxxxxxxxxxx>
  • Date: Sun, 28 Oct 2007 21:38:55 -0600
  • Message-id: <1193629135.18705.6.camel@xxxxxxxx>

On Sun, 2007-10-28 at 15:41 -0400, Nate Pearlstein wrote:
Robert Lewis wrote:
On 10/28/07, Thomas Hertweck <Thomas.Hertweck@xxxxxx> wrote:

Robert Lewis wrote:

I helped a friend install 10.3 64-bit on his Q6600
machine that has 4-GB of ram yesterday.
Wow was the installation fast.

SUSE setup a 2-GB swap space by default.

We over road that and made it 4-GB.

Why?

If you really need that much virtual memory, you should upgrade
your RAM. It doesn't make sense to have such huge swap partitions,
your system will be unusable if you need 4 GB swap (well, sort of
unusable). And if you really need it at some point, you can always
make a swap file which is almost as fast as a swap partition.

If you want to use suspend to disk, then of course your swap space
should be large enough.


Is this a bug/oversite or on purpose?

Why should it be a bug? The times when swap partitions had to be
as big (or bigger) as RAM size are long gone.


If on purpose what is the logic behind that?

There's no need for huge swap partitions unless you want to use
suspend to disk. And that's unlikely for a machine that seems to
be used as a server.

Th.
--

The reason both of us did this is we came from a world in Linux where
one always made swap the size of RAM or larger to allow for later
ram expansion. I agree swapping to a file is a good way to expand
swap down stream. How did SUSE decide to set it to 2-GB and why?

Is there any harm doing what we did?

Read what Russel Cocker has to say at this link:

http://etbe.coker.com.au/2007/09/28/swap-space/


OK,

1. If you have 2 or more GB o memory you do not need a RAM x 2 swapper
space

2. A swapper space of >2 GB is not need it.

3. If you want to use the swap for hibernation you need a swapper space
= RAM + video memory

These is all I got from this thread.

Q: how do you setup hibernation to use the swap space? I have a thinkpad
x40 and x61

Thank you.

-=terry=-

--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups