-----Original Message-----
From: Lew Wolfgang
Reply-to: wolfgang@sweet-haven.com
To: OS-en
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@opensuse.org
To contact the owner, e-mail: opensuse+owner@opensuse.org