summaryrefslogtreecommitdiffstats
path: root/iutil.py
diff options
context:
space:
mode:
authorJoel Andres Granados <jgranado@redhat.com>2008-06-18 19:08:39 +0200
committerChris Lumens <clumens@redhat.com>2008-08-06 11:47:20 -0400
commit39b18fd359b374624316c5855149fdd5da1e3782 (patch)
treef2054f3b40130bb71e173a44b289e7e4475497ea /iutil.py
parentce5116e4c461a0a3e4d7af65654b334cf5bdc9f4 (diff)
downloadanaconda-39b18fd359b374624316c5855149fdd5da1e3782.tar.gz
anaconda-39b18fd359b374624316c5855149fdd5da1e3782.tar.xz
anaconda-39b18fd359b374624316c5855149fdd5da1e3782.zip
Change the maximum recommended swap size to "2000 + (current ram)".(#447372)
Diffstat (limited to 'iutil.py')
-rw-r--r--iutil.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/iutil.py b/iutil.py
index b71296006..88dc0b1ca 100644
--- a/iutil.py
+++ b/iutil.py
@@ -237,9 +237,9 @@ def swapSuggestion(quiet=0):
minswap = 256
maxswap = 512
else:
- if mem > 1000:
+ if mem > 2000:
minswap = 1000
- maxswap = 2000
+ maxswap = 2000 + mem
else:
minswap = mem
maxswap = 2*mem