From owner-freebsd-current@FreeBSD.ORG Wed Feb 13 08:12:01 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 93EAA16A46E for ; Wed, 13 Feb 2008 08:12:01 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) Received: from 0.mx.codelabs.ru (0.mx.codelabs.ru [144.206.177.45]) by mx1.freebsd.org (Postfix) with ESMTP id 46DD013C469 for ; Wed, 13 Feb 2008 08:12:01 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) DomainKey-Signature: a=rsa-sha1; q=dns; c=simple; s=one; d=codelabs.ru; h=Received:Date:From:To:Cc:Message-ID:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:Sender:X-Spam-Status:Subject; b=WhFl9zHmfjc4iFwtdyihO0DV/hbYYxt/UnNTA5X/1KtWfk9lx1PDHHz6BSuZQ6+QZF1bCZdpH8nJK3mCR3BjmgaqVXN0pFdJO4caOsSLVP+4k4rvb37aK+OiV52X7DPTRDUS2GexxQPwZGVWrqoCBTcgS+MGZy5IJYUNK4dhhUs=; Received: from void.codelabs.ru (void.codelabs.ru [144.206.177.25]) by 0.mx.codelabs.ru with esmtpsa (TLSv1:AES256-SHA:256) id 1JPCil-0005lu-Uz; Wed, 13 Feb 2008 11:12:00 +0300 Date: Wed, 13 Feb 2008 11:11:58 +0300 From: Eygene Ryabinkin To: Ian FREISLICH Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: Sender: rea-fbsd@codelabs.ru X-Spam-Status: No, score=-1.8 required=4.0 tests=ALL_TRUSTED,AWL,BAYES_50 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:12:01 -0000 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