RE: [Xen-devel] Re: [GIT PULL] Xen APIC hooks (with io_apic_ops)
From: Dan Magenheimer
Date: Wed May 27 2009 - 23:49:58 EST
> * Dan Magenheimer <dan.magenheimer@xxxxxxxxxx> wrote:
> > > The Linux scheduler already supports multiple scheduling
> > > classes. If we find that none of them will fit our needs, we'll
> > > propose a new one. When the need can be demonstrated to be
> > > real, and the implementation can be clean, Linux can usually be
> > > adapted.
> > But that's exactly George and Jeremy's point. KVM will eventually
> > require changes that clutter Linux for purposes that are relevant
> > only to a hypervisor.
> That's wrong. Any such scheduler classes would also help: control
> groups, containers, vserver, UML and who knows what other isolation
> project. Many of such mechanisms are already implemented as well.
I think you are missing the point. Yes, certainly, generic
scheduler code can be written that applies to all of these
uses. But will that be the same code that is best for KVM to
succeed in an enterprise-class virtual data center?
I agree with George that it will not; generic code and optimal
code are rarely the same thing. What's best for an operating
system is not always what's best for a hypervisor.
But we are both speculating. I guess only time will tell.
> I also find it pretty telling that you cut out the most important
> point of Avi's reply:
> > > I think the Xen design has merit if it can truly make dom0 a
> > > guest -- that is, if it can survive dom0 failure. Until then,
> > > you're just taking a large interdependent codebase and splitting
> > > it at some random point, but you don't get any stability or
> > > security in return.
> that crucial question really has to be answered honestly and
I cut it out because I thought others would be more qualified
to answer, but since nobody else has, I will. Absolutely there
is work going on to survive failure of dom0 (or any domain)!
This is a must for enterprise-grade availability and security,
such as is needed for huge corporate data centers and "clouds".
However, the majority of users (individuals and small businesses)
will probably be most happy with their distro (and distro kernel)
as dom0 since it is convenient and familiar.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/