From owner-freebsd-arch@FreeBSD.ORG Wed Jan 30 20:49:19 2013 Return-Path: Delivered-To: freebsd-arch@FreeBSD.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id DA51BC51 for ; Wed, 30 Jan 2013 20:49:19 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 2CF9663B for ; Wed, 30 Jan 2013 20:49:18 +0000 (UTC) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id WAA29687 for ; Wed, 30 Jan 2013 22:49:10 +0200 (EET) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1U0eak-000OOT-1Q for freebsd-arch@FreeBSD.org; Wed, 30 Jan 2013 22:49:10 +0200 Message-ID: <51098743.2050603@FreeBSD.org> Date: Wed, 30 Jan 2013 22:49:07 +0200 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130121 Thunderbird/17.0.2 MIME-Version: 1.0 To: freebsd-arch@FreeBSD.org Subject: Re: kva size on amd64 References: <507E7E59.8060201@FreeBSD.org> In-Reply-To: <507E7E59.8060201@FreeBSD.org> X-Enigmail-Version: 1.4.6 Content-Type: text/plain; charset=x-viet-vps Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Jan 2013 20:49:19 -0000 on 17/10/2012 12:46 Andriy Gapon said the following: > > What are the main benefits, if any, of limiting KVA space size - or in fact > tying it to physical memory size - on amd64? > This question is perhaps relevant to other platforms with "unlimited kva" too. I actually already have patch that auto-sets kmem_size to kmem_size_max on amd64. My primary motivation is that I from time to time still see reports about too small kmem_map on non-tuned amd64 systems. This is really ridiculous regardless of whether there is ZFS in use or not. Another motivation is that I really see no reason at all to artificially limit KVA. This creates no benefits, increases fragility and reduces flexibility. -- Andriy Gapon