[kvm-devel] Paravirtualization

2007-10-02 Thread xeb
On official web site said: In progress: * Paravirtualized networking * Paravirtualized block device Where can find sources of that work, if it is possible ? - This SF.net email is sponsored by: Microsoft Defy all chal

Re: [kvm-devel] paravirtualization status

2007-05-13 Thread Avi Kivity
Omar Khan wrote: > hi, >What is the status of paravirtualization? It's basically stalled. However, I'd like to restart this, on a much bigger scale. Using paravirt_ops, one can use direct paging (like Xen) instead of shadow paging, and achieve better performance. In fact, it should be fa

[kvm-devel] paravirtualization status

2007-05-08 Thread Omar Khan
hi, What is the status of paravirtualization? Also when Ingo released his paravirtualization patch and some results Avi noted that : "Very impressive! The gain probably comes not only from avoiding the vmentry/vmexit, but also from avoiding the flushing of the global page tlb entries." [htt

Re: [kvm-devel] paravirtualization & cr3-cache feature

2007-02-20 Thread Dor Laor
>> >Why so many vm switches? First up, a typical I/O system maxes at >> >about 1Gb/s, right? That would be a gigabit NIC, or striped RAID, or >> >something like that. This suggests an average of only about 300 >> >bytes/transfer, to get >150k individual transfers per second? I >> >thought block

Re: [kvm-devel] paravirtualization structure

2007-02-20 Thread Arjan van de Ven
> > "This utilizes the cr3 filter capability of the hardware - if this works out > then no VM exit happens" > > NO VM-exits happen. h... maybe I need to go over the intel manuals more > thoroughly, however any hints will be most welcomed. Hi, I think you're confused a bit ;) the cr3 filt

Re: [kvm-devel] paravirtualization structure

2007-02-19 Thread Avi Kivity
Omar Khan wrote: > Dor Laor <[EMAIL PROTECTED]> writes: > > > >> Theoretically speaking the answer is yes, vmcall is a special >> instruction that it one and only purpose is the exit from the guest. >> While mov cr3 instruction might be bound to other actions of the >> processor and might have m

Re: [kvm-devel] paravirtualization structure

2007-02-19 Thread Omar Khan
Dor Laor <[EMAIL PROTECTED]> writes: > > Theoretically speaking the answer is yes, vmcall is a special > instruction that it one and only purpose is the exit from the guest. > While mov cr3 instruction might be bound to other actions of the > processor and might have more effects on the pipeline

Re: [kvm-devel] paravirtualization structure

2007-02-19 Thread Dor Laor
>> The hypercall sequence does not avoid a vmexit. The guest issues a >> vmcall instruction, which is trapped and processed by the host. >> > >Thanks for replying Avi. In your response > (http://article.gmane.org/gmane.linux.kernel/481457) to the announcement >of the > KVM paravirtualization patch

Re: [kvm-devel] paravirtualization structure

2007-02-19 Thread Omar Khan
Avi Kivity <[EMAIL PROTECTED]> writes: > The hypercall sequence does not avoid a vmexit. The guest issues a > vmcall instruction, which is trapped and processed by the host. > Thanks for replying Avi. In your response (http://article.gmane.org/gmane.linux.kernel/481457) to the announcement o

Re: [kvm-devel] paravirtualization structure

2007-02-19 Thread Avi Kivity
Omar Khan wrote: > hi, > >I have a couple of kvm/kernel newbie questions: > >1. What is the sequence of events for a paravirtualization hypercall? I > understand how VMX architecture works, but how does the paravirt fit in? When > we > make a paravirt sys call we avoid a VMexit, but which

[kvm-devel] paravirtualization structure

2007-02-19 Thread Omar Khan
hi, I have a couple of kvm/kernel newbie questions: 1. What is the sequence of events for a paravirtualization hypercall? I understand how VMX architecture works, but how does the paravirt fit in? When we make a paravirt sys call we avoid a VMexit, but which address space does the call go t

Re: [kvm-devel] paravirtualization & cr3-cache feature

2007-02-18 Thread [EMAIL PROTECTED]
> >Why so many vm switches? First up, a typical I/O system maxes at > >about 1Gb/s, right? That would be a gigabit NIC, or striped RAID, or > >something like that. This suggests an average of only about 300 > >bytes/transfer, to get >150k individual transfers per second? I > >thought block I/O

Re: [kvm-devel] paravirtualization & cr3-cache feature

2007-02-13 Thread Arjan van de Ven
> Great news. > Expecting to see the patch soon. there's still a wart or two on the host side but it's getting ready quickly.. give me a few days ;) > Do you base your code over the kernel's paravirt_ops and Ingo's KVM > hypercall? I'm using Ingo's KVM hypercall yes; I don't need paravirt_ops

Re: [kvm-devel] paravirtualization & cr3-cache feature

2007-02-12 Thread Dor Laor
> >> Second, we currently use Qemu's device emulation were the ne2k device >> does dozens of IO accesses per packet! The rtl8139 is better and does >> about 3 IO(MMIO) per packet. The current maximum throughput using the > >and this is where paravirtualized device drivers can help, like Ingo's >net

Re: [kvm-devel] paravirtualization & cr3-cache feature

2007-02-12 Thread Arjan van de Ven
> Second, we currently use Qemu's device emulation were the ne2k device > does dozens of IO accesses per packet! The rtl8139 is better and does > about 3 IO(MMIO) per packet. The current maximum throughput using the and this is where paravirtualized device drivers can help, like Ingo's network dr

Re: [kvm-devel] paravirtualization & cr3-cache feature

2007-02-12 Thread Dor Laor
>> > Intel is indeed slower than AMD with this one. >> > I didn't measure such roundtrip specifically. We usually see that the >> > VMETNRY/VMEXIT cycle limits our performance (for io/mmio,..) >> > On Intel core duo we cannot get more than 150k-200k VMEXITS per second >> > for regular guest doin

Re: [kvm-devel] paravirtualization & cr3-cache feature

2007-02-12 Thread [EMAIL PROTECTED]
> > Intel is indeed slower than AMD with this one. > > I didn't measure such roundtrip specifically. We usually see that the > > VMETNRY/VMEXIT cycle limits our performance (for io/mmio,..) > > On Intel core duo we cannot get more than 150k-200k VMEXITS per second > > for regular guest doing extens

Re: [kvm-devel] paravirtualization

2007-02-12 Thread [EMAIL PROTECTED]
On 2/12/07, Omar Khan <[EMAIL PROTECTED]> wrote: > The paravirtualization announcement by Ingo Molnar said that: > > - it provides an ad-hoc paravirtualization hypercall API between a Linux > guest and a Linux host. (this will be replaced with a proper > hypercall later on.) > > Is it possible

Re: [kvm-devel] paravirtualization & cr3-cache feature

2007-02-12 Thread Gregory Haskins
>>> On Mon, Feb 12, 2007 at 9:23 AM, in message <[EMAIL PROTECTED]>, "Dor Laor" <[EMAIL PROTECTED]> wrote: > > Thanks man, my mistake, I meant microsecond when wrote the 'ms'. FYI: The SI symbol for micro is the greek lower-case letter Mu. However, since that would be a pain in ASCII, the le

Re: [kvm-devel] paravirtualization & cr3-cache feature

2007-02-12 Thread Dor Laor
>On Mon, Feb 12, 2007 at 05:21:26AM -0800, Dor Laor wrote: >> >> >> >> >hi, >> >> >Can someone briefly explain what the cr3-cache feature on intel >> VT >> >> >processors is and how it is used to improve performance in >> >> >paravirtualization. >> >> >> >> In short, this is a unique Intel VT f

Re: [kvm-devel] paravirtualization & cr3-cache feature

2007-02-12 Thread Daniel Veillard
On Mon, Feb 12, 2007 at 05:21:26AM -0800, Dor Laor wrote: > >> > >> >hi, > >> >Can someone briefly explain what the cr3-cache feature on intel > VT > >> >processors is and how it is used to improve performance in > >> >paravirtualization. > >> > >> In short, this is a unique Intel VT feature th

Re: [kvm-devel] paravirtualization & cr3-cache feature

2007-02-12 Thread Dor Laor
>> >> >hi, >> >Can someone briefly explain what the cr3-cache feature on intel VT >> >processors is and how it is used to improve performance in >> >paravirtualization. >> >> In short, this is a unique Intel VT feature that supposed to save vmexit >> on cr3 switch. The vmexit operation is quite

Re: [kvm-devel] paravirtualization & cr3-cache feature

2007-02-12 Thread Joerg Roedel
On Sat, Feb 10, 2007 at 02:22:25PM -0800, Dor Laor wrote: > > >hi, > >Can someone briefly explain what the cr3-cache feature on intel VT > >processors is and how it is used to improve performance in > >paravirtualization. > > In short, this is a unique Intel VT feature that supposed to save v

[kvm-devel] paravirtualization

2007-02-12 Thread Omar Khan
The paravirtualization announcement by Ingo Molnar said that: - it provides an ad-hoc paravirtualization hypercall API between a Linux guest and a Linux host. (this will be replaced with a proper hypercall later on.) Is it possible to modify a non-linux guest to take advantage of this hyperc

Re: [kvm-devel] paravirtualization & cr3-cache feature

2007-02-12 Thread Omar Khan
Thanks Dor. Omar - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1

Re: [kvm-devel] paravirtualization & cr3-cache feature

2007-02-10 Thread Dor Laor
>hi, >Can someone briefly explain what the cr3-cache feature on intel VT >processors is and how it is used to improve performance in >paravirtualization. In short, this is a unique Intel VT feature that supposed to save vmexit on cr3 switch. The vmexit operation is quite expensive at the mome

[kvm-devel] paravirtualization & cr3-cache feature

2007-02-09 Thread Omar Khan
hi, Can someone briefly explain what the cr3-cache feature on intel VT processors is and how it is used to improve performance in paravirtualization. Thanks Omar - Using Tomcat but need to do more? Need to support we

Re: [kvm-devel] paravirtualization hypercall API

2007-01-31 Thread Avi Kivity
[EMAIL PROTECTED] wrote: > hi, > >Is there any documentation/information on the paravirtualization hypercall > API for the KVM paravirtualization for Linux announced by Ingo Molnar? > > It's documented in the source, which will be merged in a couple of days. -- Do not meddle in the inte

[kvm-devel] paravirtualization hypercall API

2007-01-31 Thread okhan
hi, Is there any documentation/information on the paravirtualization hypercall API for the KVM paravirtualization for Linux announced by Ingo Molnar? Omar Khan - Using Tomcat but need to do more? Need to support web serv