scalability in KVM

2014-04-02 Thread Xin Tong
Would KVM have any scalability issues in comparison to a real system, e.g. if a KVM emulated 16 cores all of which get assign tasks 100% of the time. Would KVM scale just as well as a real system ? Trent -- To unsubscribe from this list: send the line unsubscribe kvm in the body of a message to

Re: Measuring KVM Performance using Hardware Performance Counters

2014-02-04 Thread Xin Tong
On Mon, Feb 3, 2014 at 9:31 PM, Paolo Bonzini pbonz...@redhat.com wrote: Il 03/02/2014 18:06, Xin Tong ha scritto: /.../qemu-system-x86_64 TID 2537 [TID 2537] (877 ticks/71.24%) This is the CPU thread (calls into the KVM modules). This is the thread that calls the int kvm_cpu_exec

Re: Measuring KVM Performance using Hardware Performance Counters

2014-02-03 Thread Xin Tong
1.31 skip_emulated_instruction 1 0.65 vmx_set_rflags 1 0.65 vmx_vcpu_load Thank you, Xin On Mon, Feb 3, 2014 at 2:11 AM, Paolo Bonzini pbonz...@redhat.com wrote: Il 02/02/2014 16:47, Xin Tong ha scritto: On Sun, Feb 2, 2014 at 5:37 AM, Paolo Bonzini pbonz

Re: Measuring KVM Performance using Hardware Performance Counters

2014-02-01 Thread Xin Tong
/lib/debug/boot/vmlinux-3.11.0-13-generic guest_exit 21 0.63 /usr/lib/debug/boot/vmlinux-3.11.0-13-generic native_load_gdt ... Thank you. On Wed, Jan 29, 2014 at 11:06 PM, Xin Tong xerox.time.t...@gmail.com wrote: Hi I would like to measure the performance of KVM

Measuring KVM Performance using Hardware Performance Counters

2014-01-29 Thread Xin Tong
Hi I would like to measure the performance of KVM by using hardware performance counters and I have some questions 1. if i want to get the amount of time spent in instruction and device emulation, should i use oprofile on the kvm process on the host machine ? 2. what about amount of time spent

Re: KVM VMExit

2011-11-14 Thread Xin Tong
, 2011 at 8:50 PM, 王永博 wangyongb...@gmail.com wrote: 2011/11/14 Xin Tong xerox.time.t...@gmail.com I would like to know how I can make a UD2 (Undefined Instruction) cause a vmexit in KVM ? Thanks Xin   what is UD2 ? -- To unsubscribe from this list: send the line unsubscribe kvm

kvm pio

2011-11-14 Thread Xin Tong
I am investigating how PIO is emulated in KVM and QEMU. when a PIO is encountered, it seems to me that its pio data is copied to vcpu-arch.pio_data and a fixed offset is assigned to vcpu-run-io.data_offset. static int emulator_pio_out_emulated(int size, unsigned short port, {...

Invalidate TLB

2011-11-13 Thread Xin Tong
I have 2 questions regard TLB and PageTable in KVM. 1. I do not really get how the TLB gets saved and restored on when the guest os vmexits and vmresumes. Or maybe the TLB is not saved at all ( TLB flushes when vmexit and vmenter happen). 2. Say i have multiple vCPUs and each of them running

KVM VMExit

2011-11-13 Thread Xin Tong
I would like to know how I can make a UD2 (Undefined Instruction) cause a vmexit in KVM ? Thanks Xin -- To unsubscribe from this list: send the line unsubscribe kvm in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html