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

Bug#696786: please adjust MFSROOT_LIMIT; adjust lowmem thresholds



Hi,

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

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.

Thanks,
Regards,
-- 
Steven Chamberlain
steven@pyro.eu.org
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
 			min=28
 		;;
 		kfreebsd-amd64)
-			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
 		;;
 		kfreebsd-i386)
 			level1=64 # MT=66008, qemu: -m 121

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: