FreeBSD 7.0-RC2 Available

Eygene Ryabinkin rea-fbsd at codelabs.ru
Wed Feb 13 08:12:01 UTC 2008


Ian,

Wed, Feb 13, 2008 at 09:59:09AM +0200, Ian FREISLICH wrote:
> I selected auto defaults for the slice editor.  The system I installed
> (amd64) on has 16GB of RAM yet it only assigned 4GB for swap.  I
> remember reading that on amd64 minidumps could corrupt neighbouring
> filesystems, so a full dump could be up to 16GB.  There won't be
> enough space for a full dump.  That said, 16GB is quite a *lot* to
> swap out and I'm not sure how the system would perform under that
> scenario.
> 
> What's the prevailing wisdom?  Is this a variable storage type bug
> in the installer - int in stead of an off_t or size_t?

It is the limitation in the code, introduced in revision 1.111:
  http://www.freebsd.org/cgi/cvsweb.cgi/src/usr.sbin/sysinstall/label.c.diff?r1=1.110;r2=1.111
----
+/*
+ * Swap size limit for auto-partitioning (4G).
+ */
+#define SWAP_AUTO_LIMIT_SIZE		4096
-----
-- 
Eygene


More information about the freebsd-current mailing list