From owner-freebsd-virtualization@FreeBSD.ORG Thu Aug 22 22:55:44 2013 Return-Path: Delivered-To: freebsd-virtualization@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 ESMTP id 7A0F2BA8; Thu, 22 Aug 2013 22:55:44 +0000 (UTC) (envelope-from neelnatu@gmail.com) Received: from mail-vb0-x233.google.com (mail-vb0-x233.google.com [IPv6:2607:f8b0:400c:c02::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 030732C1B; Thu, 22 Aug 2013 22:55:43 +0000 (UTC) Received: by mail-vb0-f51.google.com with SMTP id x16so1805118vbf.10 for ; Thu, 22 Aug 2013 15:55:42 -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:cc:content-type; bh=99KK+z7ed2mcXfS+Rlp0vWje4ObHYbhsQ7QmO1idZHM=; b=winglIXsO5HYmdDbDwmFo95NyDx7LosfL0lOD0avQwJDoCDYG6v6nNrbU6gnOBMEGN 0DY966iRaStRuVNYEqCEArA7oDtF86iO7Zti4ZJVmftduU71LLUVt/ML5RZZhdEO3vbm qGrS1SZ6P+tbJ9R5lpLvo52bGME4LdszghEvfOWOzERcYK+70lgJI467CiW2ZKRetyE+ 0ejf+jGyEJ3/qLyfAR6FKuYNiyDmt+zPGxPNFMEJI6Gj8MFFba9K9HjAD1u6XMQoBnM2 m/aDpT/VC4awLyE3ETvbUdqduPMW2VuBJPJoh+Q5HZG+UVcQo6adaiOvaqE7+R58OAez J0LQ== MIME-Version: 1.0 X-Received: by 10.220.249.67 with SMTP id mj3mr4057006vcb.23.1377212142342; Thu, 22 Aug 2013 15:55:42 -0700 (PDT) Received: by 10.220.115.7 with HTTP; Thu, 22 Aug 2013 15:55:42 -0700 (PDT) Date: Thu, 22 Aug 2013 15:55:42 -0700 Message-ID: Subject: CFT: nested page table integration with amd64/pmap From: Neel Natu To: "freebsd-virtualization@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: alc@freebsd.org, Konstantin Belousov X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Aug 2013 22:55:44 -0000 Hi, The projects/bhyve_npt_pmap branch modifies the amd64/pmap to be able to deal with Intel EPT mappings in addition to the regular x86 page tables. This provides bhyve with the following features: 1. Memory overcommit Guest memory is now pageable and therefore virtual machines can allocate more memory than is physically available on the host. 2. Superpage mappings for guest memory Guest physical address mappings can be transparently promoted to superpages depending on memory locality and access patterns. 3. PCI passthru PCI passthru is not a new feature but we want to highlight that there haven't been any regressions in its functionality. The code is available here: http://svnweb.freebsd.org/base/projects/bhyve_npt_pmap Please give it a spin and let us know how it goes. best Neel