linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: Xen is a feature
@ 2009-05-31 21:11 devzero
  0 siblings, 0 replies; 35+ messages in thread
From: devzero @ 2009-05-31 21:11 UTC (permalink / raw)
  To: linux-kernel

can we have dom0 support in mainline please?

NOW!

i`m really curious that companies spending millions on xen and even so mainline merge still remains such a neverending story.

 




List:       linux-kernel
Subject:    Re: Xen is a feature
From:       Tomasz Chmielewski <mangoo () wpkg ! org>
Date:       2009-05-29 11:48:59
Message-ID: 4A1FCBAB.2030100 () wpkg ! org
[Download message RAW]

Greg KH wrote:

> On Thu, May 28, 2009 at 05:45:34PM -0700, Jeremy Fitzhardinge wrote:
>> Mozilla and Debian are hosted on Xen systems.
> 
> A tiny data point about these domains.  They are hosted by osuosl.org,
> which uses xen systems running with the current dom0 patch set.  Because
> those patches are out-of-tree, they have a hard time updating kernel
> versions, and generally lag kernel.org releases by a lot, which is not
> always a good thing.
> 
> So getting the dom0 patches into mainline will make their lives much
> easier, and more secure.

I know at least a couple of mid-sized hosting companies migrating all or 
part of their infrastructure off Linux/Xen to a proprietary solution, 
because of this very reason (problems with keeping dom0 kernel up to 
date, problems with deploying it on new machines etc.).

-- 
Tomasz Chmielewski
http://wpkg.org



_______________________________________________________________________
Nur bis 31.05.: WEB.DE FreeDSL Komplettanschluss mit DSL 6.000 Flatrate
und Telefonanschluss für 17,95 Euro/mtl.! http://produkte.web.de/go/02/


^ permalink raw reply	[flat|nested] 35+ messages in thread
* Re: Xen is a feature
@ 2009-06-02 22:44 Sander Eikelenboom
  0 siblings, 0 replies; 35+ messages in thread
From: Sander Eikelenboom @ 2009-06-02 22:44 UTC (permalink / raw)
  To: linux-kernel

So the conclusion would be that for inclusion in mainline:
-The xen dom0 interface should be clean, and the code self contained
-Backwards compatibility of the hypervisor is no argument to include
anything in mainline (and if desired, should be realised in the hypervisor
by (temporarily) supporting the old abi for the current xen specific
kernels and one for the mainline kernel, and thus placing the maintenance
burden of that desire on Xen and not the Kernel)

--

Sander


^ permalink raw reply	[flat|nested] 35+ messages in thread
* Re: Xen is a feature
@ 2009-05-29 13:08 Sander Eikelenboom
  0 siblings, 0 replies; 35+ messages in thread
From: Sander Eikelenboom @ 2009-05-29 13:08 UTC (permalink / raw)
  To: linux-kernel

I have the feeling part of the problem is that the changes needed by Xen
for X86 are:
- a bit on the intrusive side compared to other patches to be in X86
- but too little to make it an arch on it's own (resulting in a lot of code
duplication.

I think it's some kind of special-case / sub-arch within X86, with which
the development of the kernel hasn't been confronted yet.

I must also add i'm looking forward to inclusion in mainline, and that KVM at the
moment isn't a real alternative to Xen for me.


Regards,

Samder


^ permalink raw reply	[flat|nested] 35+ messages in thread
* Re: Xen is a feature
@ 2009-05-29 11:48 Tomasz Chmielewski
  0 siblings, 0 replies; 35+ messages in thread
From: Tomasz Chmielewski @ 2009-05-29 11:48 UTC (permalink / raw)
  To: LKML; +Cc: gregkh, jeremy, davem, jaswinder

Greg KH wrote:

> On Thu, May 28, 2009 at 05:45:34PM -0700, Jeremy Fitzhardinge wrote:
>> Mozilla and Debian are hosted on Xen systems.
> 
> A tiny data point about these domains.  They are hosted by osuosl.org,
> which uses xen systems running with the current dom0 patch set.  Because
> those patches are out-of-tree, they have a hard time updating kernel
> versions, and generally lag kernel.org releases by a lot, which is not
> always a good thing.
> 
> So getting the dom0 patches into mainline will make their lives much
> easier, and more secure.

I know at least a couple of mid-sized hosting companies migrating all or 
part of their infrastructure off Linux/Xen to a proprietary solution, 
because of this very reason (problems with keeping dom0 kernel up to 
date, problems with deploying it on new machines etc.).

-- 
Tomasz Chmielewski
http://wpkg.org


^ permalink raw reply	[flat|nested] 35+ messages in thread
* Re: [Xen-devel] Re: [GIT PULL] Xen APIC hooks (with io_apic_ops)
@ 2009-05-26 18:26 Avi Kivity
  2009-05-26 19:18 ` Dan Magenheimer
  0 siblings, 1 reply; 35+ messages in thread
From: Avi Kivity @ 2009-05-26 18:26 UTC (permalink / raw)
  To: George Dunlap
  Cc: Ingo Molnar, Jeremy Fitzhardinge, Xen-devel,
	the arch/x86 maintainers, Linux Kernel Mailing List,
	Linus Torvalds, Keir Fraser

George Dunlap wrote:
> As a simple example, take scheduling.  I'm about to re-write the Xen
> scheduler, and in the process I took a good look at the scheduler you
> wrote.  I think it's got a lot of really good ideas, which I plan to
> steal. :-)  However, I'm going to have to make some key changes in
> order for it to function well as a hypervisor scheduler.  If KVM is
> used on a production server with 20 or 30 multi-vcpu VMs, I predict
> the current scheduler will do very poorly, because it wasn't designed
> with VMs in mind, but with processes.  Making changes so that VMs run
> better will fundamentally make things that make processes run less
> well.
>   

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.  
There are also multiple I/O schedulers, multiple allocators (perhaps a 
bad example), and multiple filesystems.

When the need can be demonstrated to be real, and the implementation can 
be clean, Linux can usually be adapted.

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.  It will also be 
interesting to see how far Xen can get along without real memory 
management (overcommit).

>> The whole Xen design is messed up really: you have taken off bits of
>> the Linux kernel you found interesting, turned them into a
>> micro-kernel in essence and renamed it to 'Xen'.
>>     
>
> That's how Xen started, and that's really the beauty of open-source.
> (After all, KVM has stolen some ideas from the Xen shadow code.)  But
> since then, basically all of the code has been replaced with
> Xen-written code.  I think if you did an SCO-style audit comparing
> Linux and Xen 3.4, you'd find a lot less in common than you think.
>   

A lot of the arch code is derived from Linux.

>> Xen isnt actually useful _at all_ without Linux/DOM0. Without Dom0
>> Xen is slow and native hardware support within Xen is virtually
>> non-existent, as you point out above.
>>     
>
> And qemu-kvm isn't useful _at_all_ without Linux either; and Linux-KVM
> isn't useful _at_all_ without qemu.  Your point?
>   

kvm is actually being used by other userspaces.

-- 
Do not meddle in the internals of kernels, for they are subtle and quick to panic.


^ permalink raw reply	[flat|nested] 35+ messages in thread

end of thread, other threads:[~2009-06-07 13:03 UTC | newest]

Thread overview: 35+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-31 21:11 Xen is a feature devzero
  -- strict thread matches above, loose matches on Subject: below --
2009-06-02 22:44 Sander Eikelenboom
2009-05-29 13:08 Sander Eikelenboom
2009-05-29 11:48 Tomasz Chmielewski
2009-05-26 18:26 [Xen-devel] Re: [GIT PULL] Xen APIC hooks (with io_apic_ops) Avi Kivity
2009-05-26 19:18 ` Dan Magenheimer
2009-05-28  0:13   ` Ingo Molnar
2009-05-29  0:45     ` Xen is a feature Jeremy Fitzhardinge
2009-05-29  1:27       ` Greg KH
2009-05-29  4:05       ` David Miller
2009-05-29  6:37         ` Jaswinder Singh Rajput
2009-05-29  6:51           ` David Miller
2009-05-29 12:01         ` George Dunlap
2009-05-29 14:14           ` Pasi Kärkkäinen
2009-05-29 21:29             ` David Miller
2009-06-02 15:23           ` Thomas Gleixner
2009-06-02 16:41             ` George Dunlap
2009-06-02 17:28               ` Chris Friesen
2009-06-02 17:46               ` Linus Torvalds
2009-06-02 18:02                 ` Linus Torvalds
2009-06-02 18:59                   ` Avi Kivity
2009-06-07  9:13                     ` Ingo Molnar
2009-06-07 10:01                       ` Avi Kivity
2009-06-07 10:35                         ` Ingo Molnar
2009-06-07 12:46                           ` Avi Kivity
2009-06-07 13:02                             ` Jaswinder Singh Rajput
2009-06-02 18:59               ` Thomas Gleixner
2009-06-03 19:49             ` Bill Davidsen
2009-06-03 20:20               ` Thomas Gleixner
2009-06-03 22:37                 ` Bill Davidsen
2009-06-03 23:29                   ` Frans Pop
2009-06-04 13:21                     ` George Dunlap
2009-06-04 15:10                       ` Theodore Tso
2009-06-04 15:31                       ` Chris Friesen
2009-06-05  4:14                     ` Bill Davidsen
2009-06-05  4:55                       ` Chris Friesen
2009-06-02 22:40           ` Steven Rostedt
2009-06-02 23:41             ` Thomas Gleixner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).