From owner-freebsd-current@FreeBSD.ORG Wed Feb 13 08:34:14 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2EED216A418 for ; Wed, 13 Feb 2008 08:34:14 +0000 (UTC) (envelope-from ianf@clue.co.za) Received: from munchkin.clue.co.za (munchkin.clue.co.za [66.219.59.160]) by mx1.freebsd.org (Postfix) with ESMTP id EE8B513C46A for ; Wed, 13 Feb 2008 08:34:13 +0000 (UTC) (envelope-from ianf@clue.co.za) DomainKey-Signature: a=rsa-sha1; q=dns; c=simple; s=20070313; d=clue.co.za; h=Received:Received:Received:To:cc:From:Subject:In-Reply-To:X-Attribution:Date:Message-Id; b=Yd5aBtqd7/nv6b2eiVXSNQJqRxyhgx7dwo79m2Uw7PriX6D8iHYP/J/k8vqmYKJ7Q22vDVipoFh0ZjxTbqCz+6hNz7BtfFAi8GwDvBz52X/9g94eAsMJvfkf9XKmH1Ffms4LZy/BDe1wuKu13tbnsVqaQMkXVPuxCI3Al0fP7C7iUxBjMhDzmQTJTpzKJmOIwfrlfZYtm5deDvPJY8M+zL3YE8+6u9GExZK87bPCTrFC/esi3lBMPD1g3/kuQhxm; Received: from uucp by munchkin.clue.co.za with local-rmail (Exim 4.67) (envelope-from ) id 1JPD4B-0002CN-It; Wed, 13 Feb 2008 08:34:07 +0000 Received: from ianf.clue.co.za ([10.0.0.6] helo=clue.co.za) by urchin.clue.co.za with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.67) (envelope-from ) id 1JPD3m-0001kB-7p; Wed, 13 Feb 2008 08:33:42 +0000 Received: from localhost ([127.0.0.1] helo=clue.co.za) by clue.co.za with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1JPD3j-0000wk-6u; Wed, 13 Feb 2008 10:33:39 +0200 To: Eygene Ryabinkin From: Ian FREISLICH In-Reply-To: Message from Eygene Ryabinkin of "Wed, 13 Feb 2008 11:11:58 +0300." X-Attribution: BOFH Date: Wed, 13 Feb 2008 10:33:39 +0200 Message-Id: Cc: Ken Smith , freebsd-current@freebsd.org Subject: Re: FreeBSD 7.0-RC2 Available X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Feb 2008 08:34:14 -0000 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