Re: FreeBSD 7.0-RC2 Available

From: Eygene Ryabinkin <rea-fbsd_at_codelabs.ru>
Date: Wed, 13 Feb 2008 11:11:58 +0300
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
Received on Wed Feb 13 2008 - 07:12:01 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:27 UTC