public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Piavlo <piavka@cs.bgu.ac.il>
To: kvm@vger.kernel.org
Subject: which -cpu to use
Date: Thu, 26 Feb 2009 00:48:06 +0000	[thread overview]
Message-ID: <49A5E6C6.5030907@cs.bgu.ac.il> (raw)

 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

             reply	other threads:[~2009-02-25 23:19 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-26  0:48 Piavlo [this message]
2009-02-26  9:31 ` which -cpu to use Alexander Graf
2009-02-26 11:07   ` Piavlo
2009-02-26 12:07     ` Alexander Graf
2009-02-26 12:16     ` Javier Guerra Giraldez
2009-02-26 12:57       ` Piavlo
2009-02-26 15:22         ` Javier Guerra
2009-02-27  7:50       ` paolo pedaletti

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=49A5E6C6.5030907@cs.bgu.ac.il \
    --to=piavka@cs.bgu.ac.il \
    --cc=kvm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox