[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#696786: please adjust MFSROOT_LIMIT; adjust lowmem thresholds


Please use this amended patch for lowmem limits.  The other patches are

I found a reason to force lowmem mode:  ZFS.

If the partman-zfs module is loaded, there is a risk of ZFS exhausting
available memory, e.g. if an old ZFS volume is found on one of the
disks.  level2 lowmem mode would disable that udeb as standard.

Normally we'd need 512 MiB to 1 GiB RAM for ZFS to work at all, or at
least 4 GiB to work smoothly with ARC.  (This probably deserves a
separate mention in the installation-guide).

Also the low memory warnings are quite sensible anyway - we'd really
prefer that users provide more than 128 MiB memory - and once they get
to 224 MiB they'll get a GTK installer with the full set of languages.
That is what the level2=134 threshold corresponds with.

Steven Chamberlain
diff --git a/debian-installer-startup.d/S15lowmem b/debian-installer-startup.d/S15lowmem
index e53ad78..aa9ab8b 100644
--- a/debian-installer-startup.d/S15lowmem
+++ b/debian-installer-startup.d/S15lowmem
@@ -67,9 +67,9 @@ else
-			level1=64 # MT=66456, qemu: -m 146
-			level2=32 # MT=33688, qemu: -m 114
-			min=29    # MT=29592, qemu: -m 110
+			level1=134 # MT=138136, qemu: -m 224
+			level2=134 # MT=138136, qemu: -m 224
+			min=38     # MT=39444, qemu: -m 128
 			level1=64 # MT=66008, qemu: -m 121

Attachment: signature.asc
Description: OpenPGP digital signature

Reply to: