From owner-freebsd-hackers@FreeBSD.ORG Sun Jun 8 06:02:35 2008 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2033A1065682 for ; Sun, 8 Jun 2008 06:02:35 +0000 (UTC) (envelope-from alc@cs.rice.edu) Received: from mail.cs.rice.edu (mail.cs.rice.edu [128.42.1.31]) by mx1.freebsd.org (Postfix) with ESMTP id 092128FC19 for ; Sun, 8 Jun 2008 06:02:34 +0000 (UTC) (envelope-from alc@cs.rice.edu) Received: from mail.cs.rice.edu (localhost.localdomain [127.0.0.1]) by mail.cs.rice.edu (Postfix) with ESMTP id 764A72C2B58; Sun, 8 Jun 2008 01:02:34 -0500 (CDT) X-Virus-Scanned: by amavis-2.4.0 at mail.cs.rice.edu Received: from mail.cs.rice.edu ([127.0.0.1]) by mail.cs.rice.edu (mail.cs.rice.edu [127.0.0.1]) (amavisd-new, port 10024) with LMTP id EnvTqtqdCVli; Sun, 8 Jun 2008 01:02:26 -0500 (CDT) Received: from [216.63.78.18] (adsl-216-63-78-18.dsl.hstntx.swbell.net [216.63.78.18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.cs.rice.edu (Postfix) with ESMTP id B35AC2C2ACE; Sun, 8 Jun 2008 01:02:26 -0500 (CDT) Message-ID: <484B75F1.6010505@cs.rice.edu> Date: Sun, 08 Jun 2008 01:02:25 -0500 From: Alan Cox User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.13) Gecko/20070805 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tz-Huan Huang References: <484B20E7.2040009@cs.rice.edu> <6a7033710806072132i5abe2368h3db3ba269951fac5@mail.gmail.com> In-Reply-To: <6a7033710806072132i5abe2368h3db3ba269951fac5@mail.gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: hackers@freebsd.org Subject: Re: Increasing KVM on amd64 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jun 2008 06:02:35 -0000 Tz-Huan Huang wrote: >On Sun, Jun 8, 2008 at 7:59 AM, Alan Cox wrote: > > >>You can download a patch from >>http://www.cs.rice.edu/~alc/amd64_kvm_6GB.patch that increases amd64's >>kernel virtual address space to 6GB. This patch also increases the default >>for the kmem map to almost 2GB. I believe that kernel loadable modules >>still work. However, I suspect that mini-dumps are broken. >> >>I don't plan on committing this patch in its current form. Some of the >>changes are done in a hackish way. I am, however, curious to hear whether >>or not it works for you. >> >> > >Thanks for the patch. I applied it on 7-stable but got failed on pmap.c. > > > [snip] >We have no machine running 8-current with more than 6G memory now... > > > Sorry, at this point the patch is only applicable to HEAD. That said, the failed chunk is probably easily applied by hand to RELENG_7. Thanks, Alan