From 0a0bc9567cc7b391cfce24e0911282e1351ab5e9 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Wed, 30 Jan 2013 21:27:43 +0000 Subject: [PATCH] deployment: use 50% of RAM size for swap The '5%-10G' sadly doesn't work as expected and 5% of the *disk* size is a bad default, so let's see whether XX% of RAM size makes a better choice. We might change the actual percentage value but we need some testing anyway.... From: Michael Prokop --- deployment.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deployment.sh b/deployment.sh index 7dc22e9..7a65216 100755 --- a/deployment.sh +++ b/deployment.sh @@ -770,7 +770,7 @@ primary - 4096- - - disk_config lvm vg ngcp ${DISK}1 ngcp-root / 95% ext3 rw -ngcp-swap swap 5% swap sw +ngcp-swap swap RAM:50% swap sw EOF # make sure setup-storage doesn't fail if LVM is already present