From owner-svn-src-head@FreeBSD.ORG Sun Aug 18 09:45:17 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 71A1D70A; Sun, 18 Aug 2013 09:45:17 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from zxy.spb.ru (zxy.spb.ru [195.70.199.98]) by mx1.freebsd.org (Postfix) with ESMTP id 31AA8283E; Sun, 18 Aug 2013 09:45:17 +0000 (UTC) Received: from slw by zxy.spb.ru with local (Exim 4.69 (FreeBSD)) (envelope-from ) id 1VAza0-000N1j-5l; Sun, 18 Aug 2013 13:47:24 +0400 Date: Sun, 18 Aug 2013 13:47:24 +0400 From: Slawa Olhovchenkov To: Neel Natu Subject: Re: svn commit: r254466 - in head/sys/amd64: amd64 include Message-ID: <20130818094724.GA88321@zxy.spb.ru> References: <201308171949.r7HJn8sR091046@svn.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201308171949.r7HJn8sR091046@svn.freebsd.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: slw@zxy.spb.ru X-SA-Exim-Scanned: No (on zxy.spb.ru); SAEximRunCond expanded to false Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Aug 2013 09:45:17 -0000 On Sat, Aug 17, 2013 at 07:49:08PM +0000, Neel Natu wrote: > Author: neel > Date: Sat Aug 17 19:49:08 2013 > New Revision: 254466 > URL: http://svnweb.freebsd.org/changeset/base/254466 > > Log: > Bump up the maximum addressable memory on amd64 systems from 1TB to 4TB. > Bump up the KVA size proportionally from 512GB to 2TB. > > The number of page table pages used by the direct map is now calculated at > run time based on 'Maxmem'. This means the small memory systems will not > see any additional tax in terms of page table pages for the direct map. > > However all amd64 systems, regardless of the memory size, will use 3 more > pages to accomodate the bump in the KVA size. > > More details available here: > http://lists.freebsd.org/pipermail/freebsd-hackers/2013-June/043015.html > http://lists.freebsd.org/pipermail/freebsd-current/2013-July/043143.html > > Tested with the following configurations: > - Sandybridge server with 64GB of memory. > - bhyve VM with 64MB of memory. > - bhyve VM with a 8GB of memory with the memory segment above 4GB cuddling > right up against the 4TB maximum memory limit. > > Discussed on: hackers@, current@ > Submitted by: Chris Torek (torek@torek.net) > > Modified: > head/sys/amd64/amd64/pmap.c > head/sys/amd64/include/pmap.h > head/sys/amd64/include/vmparam.h MFC planed?