WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Same pv-ops kernel for dom0 and domU ?

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Same pv-ops kernel for dom0 and domU ?
From: Bruce Edge <bruce.edge@xxxxxxxxx>
Date: Fri, 11 Jun 2010 08:59:10 -0700
Delivery-date: Fri, 11 Jun 2010 09:02:52 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=I9wyuSEK7o3TMDa0SELITNS8JQGTrd0viHtKe2NcQ4g=; b=MJsCya9EOBvqp0C7jfLyorLcoeAUbAbyZ8g9TmRhRnU5HSkrkmMJFs8zcc0K+8WQtu SnmbLBolI85+blmWjvIzGWJi0bOyUKrRZ8QgGM6y6i/AE1LnWzhVyMtOlrUjKnvC0urC +QLadOEqEJzCVsl+SJfW6jodeX2cxPPFDeNa8=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=Gk/g4mVKy0QQmNwCxjNMtJN/fD0M9EXfh6/XVtb9pLIIhk6EklLAZGy3bO4P7WBUnH lDtax8cvWA33GVAHC1Rky4a56WrIu2VQ81BUuc5ubpqBYxTuiAjWIMEUa81sbcynC6cc PuZjK2BI9Zfr798sXMXl0DT6rXifKvm1d4V6I=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTik9wAHUMJ1NdcC3vCkgsCXFWzgzD3eKVfSG2Ug5@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <AANLkTinJ7ifpjcxnDf2jMrmHd6d1EJMuXyQwLRVQZi31@xxxxxxxxxxxxxx> <AANLkTik9wAHUMJ1NdcC3vCkgsCXFWzgzD3eKVfSG2Ug5@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thanks to all. This explicitly clarifies what is often assumed but
never actually stated. Once read it makes perfect sense, but until you
hear some one say it, there's always some doubt.

-Bruce



On Fri, Jun 11, 2010 at 5:31 AM, Fajar A. Nugraha <fajar@xxxxxxxxx> wrote:
> On Fri, Jun 11, 2010 at 1:40 AM, Bruce Edge <bruce.edge@xxxxxxxxx> wrote:
>> I read that this is one of the benefits of pv-ops,
>
> Actually, domU can use dom0's kernel whether it's -xen kernel or pv_ops 
> kernel.
> The different with pv_ops is that it can also be used to boot native
> (non-xen) or full-virtualization.
>
>> but is it really good
>> practice to use the same kernel options for both dom0 and domUs?
>
> Depends on what you need, and who you ask.
> As an illustration, Redhat uses the same kernel-xen rpm for both dom0
> and domU. The benefit is that you only have to maintain small number
> of kernel package (only kernel and kernel-xen).
>
> Ubuntu, on the other hand, have several different kernel package for
> different purposes. linux-image-server is the general kernel package
> suitable for common server purposes. However, there's also
> linux-image-virtual, which contains much fewer modules and suitable
> for domU/HVM kernel, thus can result to smaller installation size and
> (slightly) faster boot times (due to the smaller initrd).
>
>> If not, what options should differ between dom0 and domU pv-ops kernels?
>> I'm using jeremy's 2.6.32.x tree and dom0/domU are ubuntu 10.04.
>
> If you want to go with "smallest kernel possible for commonly used PV
> domU" then you could start by excluding most drivers (disk, network,
> multimedia, etc.). PV domU's hardware is pretty common, so you should
> only need drivers for Xen frontend disk, network, console, and
> (optionally) virtual frame buffer.
>
> If you want to reduce it even further, you can also remove some packet
> filtering support. I usually have dedicated firewall box or
> specialized domUs for firewall, so most of my domUs won't need packet
> filtering support. Same thing goes with raid (as I usually do raid in
> dom0 or hadware).
>
> Then you can also remove xen dom0 and backend support, although I'm
> not sure how big the size reduction would be for this one.
>
> --
> Fajar
>

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>