Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Feb 2008 11:11:58 +0300
From:      Eygene Ryabinkin <rea-fbsd@codelabs.ru>
To:        Ian FREISLICH <ianf@clue.co.za>
Cc:        Ken Smith <kensmith@cse.Buffalo.EDU>, freebsd-current@freebsd.org
Subject:   Re: FreeBSD 7.0-RC2 Available
Message-ID:  <HNc5KTwAOlChZd/l%2BN1vPPiVFRE@3SQePivZkcJXerr/O1l2SLu1NoU>
In-Reply-To: <E1JPCWL-0000pN-IF@clue.co.za>
References:  <E1JPCWL-0000pN-IF@clue.co.za>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?HNc5KTwAOlChZd/l%2BN1vPPiVFRE>