From: Piavlo Subject: which -cpu to use Date: Thu, 26 Feb 2009 00:48:06 +0000 Message-ID: <49A5E6C6.5030907@cs.bgu.ac.il> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit To: kvm@vger.kernel.org Return-path: Received: from smtp2.bgu.ac.il ([132.72.126.39]:39331 "EHLO smtp2.bgu.ac.il" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756947AbZBYXTI (ORCPT ); Wed, 25 Feb 2009 18:19:08 -0500 Received: from smtp2.bgu.ac.il (localhost.localdomain [127.0.0.1]) by postfix.imss70 (Postfix) with ESMTP id 2AE2DAB875 for ; Thu, 26 Feb 2009 00:47:08 +0200 (IST) Received: from zopa.no-ip.org (unknown [194.90.37.49]) by smtp2.bgu.ac.il (Postfix) with ESMTP id E60F3AB871 for ; Thu, 26 Feb 2009 00:47:07 +0200 (IST) Sender: kvm-owner@vger.kernel.org List-ID: Hi, I'm new to KVM and have some questions regarding kvm cpu emulation, hope you can answer them. I have a kvm node with Dual-Core AMD Opteron(tm) Processor 2218 processors. 1)I was wondering choosing what cpu emulation for VM would give best performance? I get the following options # kvm -cpu ? x86 qemu64 x86 phenom x86 core2duo x86 qemu32 x86 coreduo x86 486 x86 pentium x86 pentium2 x86 pentium3 x86 athlon x86 n270 # I was thinking one of qemu64/phenom/athlon . Does It matter what 64bit cpu emulation i choose? What would be chosen if I omit the -cpu option? 2) I want to optimize/recompile a gentoo VM system packages for the chosen cpu - if that matters. Does rebuilding the VM packages to fine tuned for the emulated cpu give any advantages? 3) Do I have to boot a VM kernel with guest viritio drivers, to get a not emulated real cpu access - like I have in Xen? Thanks a lot. Alex