summaryrefslogtreecommitdiffstats
path: root/iutil.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2006-10-12 19:09:41 +0000
committerChris Lumens <clumens@redhat.com>2006-10-12 19:09:41 +0000
commitcb02ff310052eabe366f9d64eed2c6557d7a92b5 (patch)
treecef28a2ec19bf2f74e5b8f1eaeb9e6e112bd0ada /iutil.py
parent9e101e18e5071f075e365330f3fb8fb90203be83 (diff)
downloadanaconda-cb02ff310052eabe366f9d64eed2c6557d7a92b5.tar.gz
anaconda-cb02ff310052eabe366f9d64eed2c6557d7a92b5.tar.xz
anaconda-cb02ff310052eabe366f9d64eed2c6557d7a92b5.zip
Tweak min/max swap numbers for the low memory case (#189490).
Diffstat (limited to 'iutil.py')
-rw-r--r--iutil.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/iutil.py b/iutil.py
index 9e6b98a56..a7554fe86 100644
--- a/iutil.py
+++ b/iutil.py
@@ -126,9 +126,9 @@ def swapSuggestion(quiet=0):
if not quiet:
log.info("Detected %sM of memory", mem)
- if mem < 128:
- minswap = 96
- maxswap = 192
+ if mem <= 256:
+ minswap = 256
+ maxswap = 512
else:
if mem > 1000:
minswap = 1000