Re: Automating Live Migration

2008-08-27 Thread Sukanto Ghosh
socket. > When you want to migrate that VM issue a migrate monitor command, and > checkout the result (info migration). > > Uri. > Just what I was looking for. Seems very flexible. Thanks :) -- Regards, Sukanto Ghosh -- To unsubscribe from this list: send the line "unsubscri

Automating Live Migration

2008-08-26 Thread Sukanto Ghosh
. -- Regards, Sukanto Ghosh -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: Ballooning Queries

2008-08-09 Thread Sukanto Ghosh
On Sat, Aug 9, 2008 at 2:31 PM, Anthony Liguori <[EMAIL PROTECTED]> wrote: > Sukanto Ghosh wrote: >> >> I understand the idea behind ballooning as " it effectively increases >> or decreases the amount of physical memory given to the guest, with >> the help o

Ballooning Queries

2008-08-09 Thread Sukanto Ghosh
s going to merge it, but can I have a look at it now (any patch) ? -- Thanks and Regards, Sukanto Ghosh -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: Device Paravirtualization

2008-07-27 Thread Sukanto Ghosh
Thanks Dave On Mon, Jul 28, 2008 at 12:04 PM, Dave Waters <[EMAIL PROTECTED]> wrote: > The second revision of PV NIC for Windows is on the KVM Source Forge site: > > http://sourceforge.net/project/showfiles.php?group_id=180599 > > Dave Waters > > -Original Message

Device Paravirtualization

2008-07-27 Thread Sukanto Ghosh
? -- Regards, Sukanto Ghosh -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: mmu notifier spte pinning

2008-07-23 Thread Sukanto Ghosh
Thanks Andrea, I think I got it this time. Regards, Sukanto -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

mmu notifier spte pinning

2008-07-19 Thread Sukanto Ghosh
o, why) ? do references to any page from a kernel data-structure (spte in this case) don't involve access though page table entries (hence try_to_unmap() can't unmap those references) ? which makes any page referenced through kernel structures unswappable ? -- Thanks and Regar

Re: KSM Algorithm

2008-07-18 Thread Sukanto Ghosh
y the list at hashtable[hashval] is like -> Q1 -> Q2 -> Q3 where Qn is the pfn of the pages having hash-value = 'hashval' , while comparing with the contents of a new page P, which of these Qn's will be used ? (I think the ans to prev ques will answer this) -- Thank

KVM IO performance

2008-07-14 Thread Sukanto Ghosh
. What would be the problems had the device emulation parts been moved totally to kernelspace ? -- Regards, Sukanto Ghosh -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org

KVM_SET_USER_MEMORY_REGION and KVM_SET_MEMORY_REGION

2008-07-13 Thread Sukanto Ghosh
Hi, What is the difference between these two ioctl requests : KVM_SET_USER_MEMORY_REGION and KVM_SET_MEMORY_REGION ? -- Regards, Sukanto Ghosh -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to [EMAIL PROTECTED] More majordomo inf

Re: KSM Algorithm

2008-07-10 Thread Sukanto Ghosh
nd Z separately. -- Regards, Sukanto Ghosh -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: KSM Algorithm

2008-07-10 Thread Sukanto Ghosh
got it. thanks On Fri, Jul 11, 2008 at 12:50 AM, Izik Eidus <[EMAIL PROTECTED]> wrote: > ציטוט Sukanto Ghosh: >>>> >>>> Doesn't KSM notifies KVM about the shared pages so that KVM can update >>>> its sptes accordingly or is it done by KSM itself

Re: KSM Algorithm

2008-07-10 Thread Sukanto Ghosh
an, but the overhead is about ~5% >>> for >>> common cases >>> >> >> Can I know the typical values of the parameters : sleep time, no. of >> pages to scan, which you used to arrive at the above mentioned >> overhead. >> > > i think it is

Re: KSM Algorithm

2008-07-10 Thread Sukanto Ghosh
guest's address-space (whose pages have been shared) ? >> How much is the overhead involved due to this ? >> > > depeand on the speed you tell it to scan, but the overhead is about ~5% for > common cases Can I know the typical values of the parameters : sleep

KSM Algorithm

2008-07-10 Thread Sukanto Ghosh
rhead involved due to this ? -- Regards, Sukanto Ghosh -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: comparisons with VMware and Xen

2008-07-08 Thread Sukanto Ghosh
R_MEMORY_REGION ? What are these for ? KSM_CREATE_SHARED_MEMORY_AREA and KSM_CREATE_SCAN ? How much is the overhead involved due to this ? -- Regards, Sukanto Ghosh -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to [EMAIL PROTECTED] More majo

comparisons with VMware and Xen

2008-07-07 Thread Sukanto Ghosh
ghtly different ones, 5. How much useful is a balloon driver for kvm, which doesn't makes any hard partitions of available physical memory between the guests ? Shouldn't the linux VM's knowledge be superior in this case than the guest-vm's ? 6. What is coalesced mmio ?

shadow roles

2008-07-04 Thread Sukanto Ghosh
Can anyone explain a situation where multiple operating modes need to co-exist, as facilitated by shadow roles ? (apart from differing quadrants) -- Regards, Sukanto Ghosh -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to [EMAIL PROTE

kvm_pio_request

2008-07-04 Thread Sukanto Ghosh
What do the following fields of struct kvm_pio_request mean ? i) cur_count ii) string iii) down iv) rep v) why does guest_pages field point to an array of two pages ? -- Regards, Sukanto Ghosh -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message

Re: Need advice on timed access to guest pages

2008-07-04 Thread Sukanto Ghosh
Hi Andrea, Thanks a lot :) -- Regards, Sukanto Ghosh -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: Need advice on timed access to guest pages

2008-07-03 Thread Sukanto Ghosh
t; by Andrea Arcangeli : KVM Forum 2008 ) -- Regards, Sukanto Ghosh -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Doubts regarding Userspace driver access / virtio devices

2008-07-03 Thread Sukanto Ghosh
Hi Amit, I am sending this mail to you directly as I got no response from the mailing list. Can you guide me as to how the kvm module passes/forwards the IO requests to userspace drivers ? I want to know where in the code do the userspace(QEMU) device-drivers register themselves with the kvm modu

Re: Balloon process in KVM

2008-07-03 Thread Sukanto Ghosh
> On Wed, 2008-07-02 at 18:26 +0530, Sukanto Ghosh wrote: >> Is there anything of the kind of a balloon process in KVM ? If it is >> there, how is it made to enter into the guest (in VMware, balloon >> process >> is a kernel-space process inside the guest) >> >&

Balloon process in KVM

2008-07-02 Thread Sukanto Ghosh
Is there anything of the kind of a balloon process in KVM ? If it is there, how is it made to enter into the guest (in VMware, balloon process is a kernel-space process inside the guest) Thanks and Regards, Sukanto -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body o

Doubts regarding Userspace driver access / virtio devices

2008-07-02 Thread Sukanto Ghosh
Can anyone guide me as to how the kvm module passes/forwards the IO requests to userspace drivers ? I want to know where in the code do the userspace(QEMU) device-drivers register themselves with the kvm module. Having looked at the kvm module code I saw that VMexits corresponding to EXIT_REASON_I

Re: Performance guarantees

2008-07-01 Thread Sukanto Ghosh
'hierarchical group scheduler', do you mean 'Fair CPU Scheduler for Linux' (http://fairsched.sourceforge.net/doc/fairsched.txt) Thanks and Regards, Sukanto Ghosh -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message

Re: Performance guarantees

2008-07-01 Thread Sukanto Ghosh
each guest iii) anything else ? Regards, Sukanto Ghosh -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Performance guarantees

2008-07-01 Thread Sukanto Ghosh
th my other course-works. And lastly, thanks to you all for answering my questions (which might be stupid sometimes) after taking out time from your busy schedules. Regards, Sukanto Ghosh -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to [EMAIL

Re: kvm_mmu doubts

2008-06-30 Thread Sukanto Ghosh
> Sukanto Ghosh wrote: >> >> I am calling the entire tree-like structure (including the page >> directories) as a page table. In the above statement are you referring >> to >> the same ? Or is it the last-level table that holds translated physical >> addresse

Re: kvm_mmu doubts

2008-06-30 Thread Sukanto Ghosh
> Sukanto Ghosh wrote: >> What do these refer to ? >> i) kvm_rmap_desc > > It's a reverse mapping listing all shadow ptes pointing to a given guest page. > Then what is the rmap field of the 'struct kvm_memory_slot' ? Is it the list of kvm_rmap_desc (one

kvm_mmu doubts

2008-06-30 Thread Sukanto Ghosh
What do these refer to ? i) kvm_rmap_desc ii) rmap_pde iii) kvm_mmu_page-> spt ??? ( i thought kvm_mmu_page itself refers to page of shadow PT, then what does spt points to ? ) Thanks and Regards Sukanto Ghosh -- To unsubscribe from this list: send the line "unsubscribe kvm

Re: Scheduling of VCPUs and allocation of Guest Physical Memory

2008-06-16 Thread Sukanto Ghosh
But what about the interrupts that need to be delivered immediately and while the VM is executing (assume interrupts are enabled in the guest). Is any kind of signal-based mechanism employed to force a VM-exit ? Sending a signal to a task that is executing guest code will force it to exit

Re: VT enabled in BIOS, still kvm says 'disabled by bios'

2008-06-12 Thread Sukanto Ghosh
, Sukanto Ghosh a écrit : Hi all, On my system: Processor: Intel Core 2 Duo 6300 1.86 GHz Motherboard: Intel DG965RY OS: Ubuntu 7.10 (Gutsy) Linux Kernel: 2.6.22-14-generic BIOS has VT technology 'enable/disable' feature. 'cat /proc/cpuinfo' shows 'vmx' flags

VT enabled in BIOS, still kvm says 'disabled by bios'

2008-06-12 Thread Sukanto Ghosh
s'. I am puzzled, please help me out. What's going wrong ? Thanks and Regards, Sukanto Ghosh -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: Doubts regarding Shadow Page Table Management in KVM

2008-06-10 Thread Sukanto Ghosh
I think I have cleared the issue regarding the reverse mapping. I missed the fact, that the write permission is associated with the PTE. I thought that it was associated only with the kernel structures maintaining the physical page-frame. But I want to confirm whether a shadowed guest page re

Doubts regarding Shadow Page Table Management in KVM

2008-06-10 Thread Sukanto Ghosh
2" ii) The host traps this as the page HPA1 is write-protected, and does the corresponding modification to the guest PT page and its corresponding shadow PT page. (where do we need to use a reverse mapping) I would be glad if you can point out where I am making the mistake. -- Thanks &

Re: Scheduling of VCPUs and allocation of Guest Physical Memory

2008-06-09 Thread Sukanto Ghosh
Anthony Liguori wrote: Sukanto Ghosh wrote: ii) Who does the allocation of host physical memory to the guest, is it KVM module or the associated QEmu process ? The QEMU process allocates the memory via malloc(). Doesn't the QEMU process and the guest have different address-spaces ? So

Re: Scheduling of VCPUs and allocation of Guest Physical Memory

2008-06-06 Thread Sukanto Ghosh
Anthony Liguori wrote: Sukanto Ghosh wrote: Hi all, I have two questions regarding KVM: i) Is a VCPU scheduled like a normal Linux process A normal process. or there is some mechanism by which performance guarantees can be provided to the VCPUs ? FWIW, there are various mechanisms to

Scheduling of VCPUs and allocation of Guest Physical Memory

2008-06-05 Thread Sukanto Ghosh
Hi all, I have two questions regarding KVM: i) Is a VCPU scheduled like a normal Linux process or there is some mechanism by which performance guarantees can be provided to the VCPUs ? ii) Who does the allocation of host physical memory to the guest, is it KVM module or the associated QEmu p