From owner-freebsd-hackers@FreeBSD.ORG Mon Mar 17 19:43:26 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1EFB5106564A for ; Mon, 17 Mar 2008 19:43:26 +0000 (UTC) (envelope-from pisymbol@gmail.com) Received: from ti-out-0910.google.com (ti-out-0910.google.com [209.85.142.189]) by mx1.freebsd.org (Postfix) with ESMTP id 989658FC23 for ; Mon, 17 Mar 2008 19:43:24 +0000 (UTC) (envelope-from pisymbol@gmail.com) Received: by ti-out-0910.google.com with SMTP id j2so1776451tid.3 for ; Mon, 17 Mar 2008 12:43:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=r9kk/Lqh9XFSExsRyZjJZLGCbfh9r4NY21mGb5i87Xs=; b=Y9oINIz5YU/i2umz/gNkLdyUvL8uhMlt7wbgiYu20U8KtKkh2aMX36uNZh+iZd2hNiB5NpACReDqE+zGU7WxD900Zs/jqzINgo2PGiZIQxe65e3wuQyKxvNiGXadoJ0xDUoE+4kMAttKxDgYibip9spsRs65MK40PTj2bRr3jFc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=kVihL6/pbpxeEB/jc7WRJ0hr7hH18uRoI2mbwPRJ4z2uFGJvbmXnaXlvVkrTI00aYAOnr05EgyA8sbTk0nN4k7O5H9R1mPaiPlgmfFKG6qmSjIKc0or+4hFi0yrlXXa6MyoB6EmZybCZqt5K9BKm18baLEh/a0+9ThiUTv57phs= Received: by 10.150.177.20 with SMTP id z20mr372384ybe.49.1205783002190; Mon, 17 Mar 2008 12:43:22 -0700 (PDT) Received: by 10.150.230.16 with HTTP; Mon, 17 Mar 2008 12:43:22 -0700 (PDT) Message-ID: <3c0b01820803171243k5eb6abd3y1e1c44694c6be0f6@mail.gmail.com> Date: Mon, 17 Mar 2008 15:43:22 -0400 From: "Alexander Sack" To: "Matthew Dillon" In-Reply-To: <200803162313.m2GNDbvl009550@apollo.backplane.com> MIME-Version: 1.0 References: <20080316122108.S44049@fledge.watson.org> <200803162313.m2GNDbvl009550@apollo.backplane.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: jgordeev@dir.bg, "Andrey V. Elsukov" , Robert Watson , freebsd-hackers@freebsd.org Subject: Re: Re[2]: vkernel & GSoC, some questions 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: Mon, 17 Mar 2008 19:43:26 -0000 On Sun, Mar 16, 2008 at 7:13 PM, Matthew Dillon wrote: > Basically DragonFly has a syscall API that allows a userland process > to create and completely control any number of VM spaces, including > the ability to pass execution control to a VM space and get it back, > and control memory mappings within that VM space (and in the virtual > kernel process itself) on a page-by-page basis, so only 'invalid' PTEs > are passed through to the virtual kernel by the real kernel and the > real kernel caches page mappings with real hardware pmaps. Any > exception that occurs within a running VM space is routed back to the > virtual kernel process by the real kernel. Any real signal (e.g. the > vkernel's 'clock' interrupt) or exception that occurs also forces > control > to return to the vkernel process. Matt, I'm sorry I'm not trying to hijack this thread but isn't the vkernel approach very similar to VMWare's hosted architecture products (such as Fusion for the Mac and Client Workstation for windows)? As I understand it, they have a regular process like vkernel called vmware-vmx which provides the management of different VM contexts running along side the host OS. It also does a passthrough for invalid PTEs to the real kernel and manages contexts in I believe the same fashion you just described. There is also an I/O subsystem a long side it to reuse the hosted drivers to managed the virtualized filesystem and devices - not sure what Dragon does. I realize that their claim to fame is as you said x86 binary code translations but I believe VMWare's product is very close to what you are describing with respect to vkernels (please correct me if I'm wrong). Its just that this thread has devolved slightly into a hypervisor vs. hosted architecture world and I believe their is room for both. Thanks! -aps -- "What lies behind us and what lies in front of us is of little concern to what lies within us." -Ralph Waldo Emerson