Mailinglist Archive: opensuse (1239 mails)

< Previous Next >
Re: [opensuse] How Much Swap?
-----Original Message-----
From: Lew Wolfgang <wolfgang@xxxxxxxxxxxxxxx>
Reply-to: wolfgang@xxxxxxxxxxxxxxx
To: OS-en <opensuse@xxxxxxxxxxxx>
Subject: [opensuse] How Much Swap?
Date: Wed, 26 Jun 2013 07:12:53 -0700

Hi Folks,

Back in the '80s we configured swap space to be 1.5 x RAM
as a rule of thumb. But I'm configuring 6 boxes now that
contain 64-GB of RAM and I'm wondering if swap should be
anything close to 96-GB. The boxes have only 128-GB of
SSD for the operating system, so I'd like to minimize swap
as much as possible.

As background, these devices will be used as dedicated
data acquisition devices. They will pump data from
four Gig-E Ethernet ports and store it all in a 24-disk
RAID-6 array. Preliminary measurements show we should
be able to maintain continuous throughput until the RAID
is full.

So, any opinions on swap size in relation to RAM?

-----Original Message-----

Indeed Lew, that amount of swap would be rediculous.
However, still swap area should be considered as a "safety-lane"
So keep one of a couple a gigs and turn the "swappiness" of the system low (5).
Often it is "60", see: /proc/sys/vm/swappiness


--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
References