From owner-freebsd-amd64@FreeBSD.ORG Mon May 2 07:42:29 2005 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EDCB516A4CE; Mon, 2 May 2005 07:42:29 +0000 (GMT) Received: from canning.wemm.org (canning.wemm.org [192.203.228.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id CF06F43D1D; Mon, 2 May 2005 07:42:29 +0000 (GMT) (envelope-from peter@wemm.org) Received: from fw.wemm.org (canning.wemm.org [192.203.228.65]) by canning.wemm.org (Postfix) with ESMTP id 8ED3A2A8DA; Mon, 2 May 2005 00:42:29 -0700 (PDT) (envelope-from peter@wemm.org) Received: from overcee.wemm.org (overcee.wemm.org [10.0.0.3]) by fw.wemm.org (Postfix) with ESMTP id 27E80E2B3; Mon, 2 May 2005 00:42:29 -0700 (PDT) (envelope-from peter@wemm.org) Received: from overcee.wemm.org (localhost [127.0.0.1]) by overcee.wemm.org (8.13.3/8.13.1) with ESMTP id j427gSGo014947; Mon, 2 May 2005 00:42:28 -0700 (PDT) (envelope-from peter@wemm.org) Received: from localhost (localhost [[UNIX: localhost]]) by overcee.wemm.org (8.13.3/8.13.1/Submit) id j427gMcW014946; Mon, 2 May 2005 00:42:22 -0700 (PDT) (envelope-from peter@wemm.org) X-Authentication-Warning: overcee.wemm.org: peter set sender to peter@wemm.org using -f From: Peter Wemm To: freebsd-amd64@freebsd.org Date: Mon, 2 May 2005 00:42:22 -0700 User-Agent: KMail/1.8 References: <20050501220614.GA50235@xor.obsecurity.org> In-Reply-To: <20050501220614.GA50235@xor.obsecurity.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200505020042.22898.peter@wemm.org> cc: amd64@freebsd.org cc: Kris Kennaway Subject: Re: 32GB/device swap limit on amd64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 May 2005 07:42:30 -0000 On Sunday 01 May 2005 03:06 pm, Kris Kennaway wrote: > Looks like amd64 has the following limit, which is the same as on > i386: > > WARNING: reducing size to maximum of 67108864 blocks per swap unit > > Can this be easily fixed on amd64? > > Kris This looks like its a subr_blist.c problem: /* * If we go beyond this, we get overflows in the radix * tree bitmap code. */ mblocks = 0x40000000 / BLIST_META_RADIX; if (nblks > mblocks) { printf("WARNING: reducing size to maximum of %lu blocks per swap unit\n", mblocks); nblks = mblocks; } sys/blist.h:#define BLIST_META_RADIX 16 -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5