Date: Wed, 13 Feb 2008 10:33:39 +0200 From: Ian FREISLICH <ianf@clue.co.za> To: Eygene Ryabinkin <rea-fbsd@codelabs.ru> Cc: Ken Smith <kensmith@cse.Buffalo.EDU>, freebsd-current@freebsd.org Subject: Re: FreeBSD 7.0-RC2 Available Message-ID: <E1JPD3j-0000wk-6u@clue.co.za> In-Reply-To: Message from Eygene Ryabinkin <rea-fbsd@codelabs.ru> of "Wed, 13 Feb 2008 11:11:58 %2B0300." <HNc5KTwAOlChZd/l%2BN1vPPiVFRE@3SQePivZkcJXerr/O1l2SLu1NoU>
next in thread | previous in thread | raw e-mail | index | archive | help
Eygene Ryabinkin wrote: > 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 > ----- Thanks. That answers about half the question. Is there any sense in making the swap partition bigger than that? When I started using FreeBSD the rule of thumb was 2.1*physical RAM. I'm not sure that holds true any more. Ian -- Ian Freislich
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1JPD3j-0000wk-6u>