From owner-freebsd-xen@FreeBSD.ORG Sat Apr 5 14:13:40 2014 Return-Path: Delivered-To: freebsd-xen@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 532EFCCB for ; Sat, 5 Apr 2014 14:13:40 +0000 (UTC) Received: from mail-oa0-x234.google.com (mail-oa0-x234.google.com [IPv6:2607:f8b0:4003:c02::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1E9022CB for ; Sat, 5 Apr 2014 14:13:40 +0000 (UTC) Received: by mail-oa0-f52.google.com with SMTP id l6so4735697oag.25 for ; Sat, 05 Apr 2014 07:13:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=3xpDHJt/kUfjfwsox+MwkVuNoV9CM4dEeyHICq01yMo=; b=sOMqApsO02L10kb7vvYwAJsLDf8HNwGLStFE27rdwiM/ME7m/TZ5t8KBoc2mOyAWqU jAEHR2546TgOiJir07oFbzqxguJnx2f8ePDvHfEt2Y+/wcZG0kCRkVhef8o4xO5psMW/ ONPUdfjKXf6t9Mh1Z/ogVX2F9ehbrjdbR3xTTTnty0WAu8EHBMYeyWEiZoPPrLN+DLSH FQUPsiSti1rCwZQFEyrSGzeMGwJ/8xayEQblHNcQKUunCYXPayAxHNzPOSV3ULpAg5Rt edySgGewmZk0Ob7IiPPkNOygUvPqf5NZFgWVkUWRbROqYpsMtc0fFE1dZoxNVgKKecBM 5K9A== MIME-Version: 1.0 X-Received: by 10.60.54.228 with SMTP id m4mr24262231oep.29.1396703697019; Sat, 05 Apr 2014 06:14:57 -0700 (PDT) Received: by 10.182.134.231 with HTTP; Sat, 5 Apr 2014 06:14:56 -0700 (PDT) Date: Sat, 5 Apr 2014 13:14:56 +0000 Message-ID: Subject: Re: Status of 64 bit DomU PVs? From: "Cherry G. Mathew" To: Jonni Nakari , freebsd-xen@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Apr 2014 14:13:40 -0000 Hi Jonni, Date: Sat, 05 Apr 2014 00:39:24 +0300 > From: Jonni Nakari > To: freebsd-xen@freebsd.org > Subject: Status of 64 bit DomU PVs? > Message-ID: <533F268C.8040909@egarden.fi> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Hello, > what is the current status of 64 bit paravirtualized FreeBSD? The wiki > page Xen wiki page [1] states that only i386 kernels can be run in fully > paravirtualized mode. The wiki page hasn't been updated in a while. Has > anything changed since the last update? > > I would like to run FreeBSD as a DomU on a AMD 64 bit machine that does > not have hardware accelerated virtualization. That propably means that > it's not feasible to run a HVM based DomU on the machine? I would also > like the DomU to be 64 bit to provide more than 4 gigabytes of RAM to > the ZFS serving FreeBSD. > > I've been working on this for quite some time now (perhaps too long), and the bad news is that, no, it's not ready for use - the code on the branch does bring us up to single user mode, but I'm reworking the pmap module with the wisdom of hindsight. The good news is that it should be ready for testing "soon" (May, 2014). With PV on 64bit, you should be able to have a 64bit address space with support for 47bit RAM (in theory). > Or maybe I have misunderstood something. Is it possible to provide more > than 4 GB RAM for a 32 bit DomU so that it can use all of it for ZFS > caching? > > On 64bit PV, the DomU is 64bit (although there used to be support for 32bit PV on 64bit hypervisor until the 3.x hypervisors, iirc). So yes, you should in *theory*, be able to have more than 4GB ram for your 64bit DomU. You're welcome to try the amd64_xen_pv svn branch, although it's very very early days, and I doubt it would be useful in any way for you other than to track progress or help with dev. Many Thanks, -- ~Cherry (cherry@FreeBSD.org)