From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Binh Q. Pham" Subject: Re: Performance counters in kvm? Date: Thu, 14 Nov 2013 12:04:50 -0500 Message-ID: <528502B2.8030605@cs.rutgers.edu> References: <5283AE31.1000303@cs.rutgers.edu> <20131113175409.GA2088@redhat.com> <5284420E.8070403@cs.rutgers.edu> <20131114071616.GK2008@redhat.com> <5284F7A0.2060700@cs.rutgers.edu> <20131114164630.GB2088@redhat.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------050605070204050008090609" Cc: kvm@vger.kernel.org To: Gleb Natapov Return-path: Received: from dragon.rutgers.edu ([128.6.4.3]:60524 "EHLO dragon.rutgers.edu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756406Ab3KNRE5 (ORCPT ); Thu, 14 Nov 2013 12:04:57 -0500 In-Reply-To: <20131114164630.GB2088@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: This is a multi-part message in MIME format. --------------050605070204050008090609 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cpuid output is attached. I didn't know that the kernel was not compiled with virtualization support as I was using a ready image from ubuntu website to install the VM. In the long run, are you suggesting me to recompile the kernel for the guest to make sure that it has virtualization support? Thanks, -Binh On 11/14/2013 11:46 AM, Gleb Natapov wrote: > On Thu, Nov 14, 2013 at 11:17:36AM -0500, Binh Q. Pham wrote: >> I am using: QEMU emulator version 1.5.0 (Debian >> 1.5.0+dfsg-3ubuntu5), Copyright (c) 2003-2008 Fabrice Bellard >> Attached files are output from cpuinfo and dmesg that you asked for. >> > What is the output of "cpuid" in the guest? BTW your guest kernel is not > compiled with virtualization support. Shouldn't matter for perf > counters, but other things may be slow or not work correctly. > > -- > Gleb. --------------050605070204050008090609 Content-Type: text/plain; charset=UTF-8; name="cpuid.out" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="cpuid.out" eax in eax ebx ecx edx 00000000 0000000d 756e6547 6c65746e 49656e69 00000001 000206a1 00000800 82982203 078bfbf9 00000002 00000001 00000000 00000000 002c307d 00000003 00000000 00000000 00000000 00000000 00000004 00000122 01c0003f 0000003f 00000001 00000005 00000000 00000000 00000003 00000000 00000006 00000000 00000000 00000000 00000000 00000007 00000000 00000000 00000000 00000000 00000008 00000000 00000000 00000000 00000000 00000009 00000000 00000000 00000000 00000000 0000000a 00000000 00000000 00000000 00000000 0000000b 00000000 00000000 00000000 00000000 0000000c 00000000 00000000 00000000 00000000 0000000d 00000000 00000000 00000000 00000000 80000000 8000000a 756e6547 6c65746e 49656e69 80000001 000206a1 00000000 00000001 28100800 80000002 65746e49 6558206c 45206e6f 78323133 80000003 53282078 79646e61 69724220 29656764 80000004 00000000 00000000 00000000 00000000 80000005 01ff01ff 01ff01ff 40020140 40020140 80000006 00000000 42004200 02008140 00000000 80000007 00000000 00000000 00000000 00000000 80000008 00003028 00000000 00000000 00000000 80000009 00000000 00000000 00000000 00000000 8000000a 00000000 00000000 00000000 00000000 Vendor ID: "GenuineIntel"; CPUID level 13 Intel-specific functions: Version 000206a1: Type 0 - Original OEM Family 6 - Pentium Pro Model 10 - Stepping 1 Reserved 8 Extended brand string: "Intel Xeon E312xx (Sandy Bridge)" CLFLUSH instruction cache line size: 8 Feature flags 078bfbf9: FPU Floating Point Unit PSE Page Size Extensions TSC Time Stamp Counter MSR Model Specific Registers PAE Physical Address Extension MCE Machine Check Exception CX8 COMPXCHG8B Instruction APIC On-chip Advanced Programmable Interrupt Controller present and enabled SEP Fast System Call MTRR Memory Type Range Registers PGE PTE Global Flag MCA Machine Check Architecture CMOV Conditional Move and Compare Instructions FGPAT Page Attribute Table PSE-36 36-bit Page Size Extension CLFSH CFLUSH instruction MMX MMX instruction set FXSR Fast FP/MMX Streaming SIMD Extensions save/restore SSE Streaming SIMD Extensions instruction set SSE2 SSE2 extensions TLB and cache info: 7d: unknown TLB/cache descriptor 30: unknown TLB/cache descriptor 2c: unknown TLB/cache descriptor Processor serial: 0002-06A1-0000-0000-0000-0000 --------------050605070204050008090609--