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

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, how

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 addresses (+ dirty bit, etc ) ? No, any guest page

Re: Performance guarantees

2008-07-01 Thread Sukanto Ghosh
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 to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org

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

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 to [EMAIL

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 PROTECTED] More majordomo

Re: comparisons with VMware and Xen

2008-07-08 Thread Sukanto Ghosh
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 majordomo info at http://vger.kernel.org/majordomo

Re: KSM Algorithm

2008-07-10 Thread Sukanto Ghosh
) Thanks :) -- 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 ? when using kvm, mmu notifiers is a must for ksm, (mmu

Re: KSM Algorithm

2008-07-10 Thread Sukanto Ghosh
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

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/majordomo-info.html

Re: KSM Algorithm

2008-07-19 Thread Sukanto Ghosh
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) -- Thanks and Regards, Sukanto Ghosh -- To unsubscribe

mmu notifier spte pinning

2008-07-19 Thread Sukanto Ghosh
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 Regards, Sukanto Ghosh -- To unsubscribe

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: Device Paravirtualization

2008-07-28 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- From: Sukanto Ghosh [EMAIL

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 of the guest's native memory management algorithms

Automating Live Migration

2008-08-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: Automating Live Migration

2008-08-27 Thread Sukanto Ghosh
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 unsubscribe kvm in the body of a message to [EMAIL