public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Nikola Ciprich <extmaillist@linuxbox.cz>
To: kvm-devel@lists.sourceforge.net
Subject: Re: performance tuning, problem with paravirtualized clock
Date: Sun, 06 Apr 2008 23:57:02 +0200	[thread overview]
Message-ID: <47F9472E.50602@linuxbox.cz> (raw)
In-Reply-To: <47F934BD.7000502@codemonkey.ws>

Hi Anthony!
Anthony Liguori wrote:
> I would think you should get about 70% of native with what you've done 
> about.  I've not seen instabilities with CONFIG_KVM_CLOCK myself.
>
> Setting up a hugetlbfs mount and using -mem-path may give you a bit of 
> a bump too but I'd be surprised if it was more than 5%
I've tried it now, and starting kvm with -mem-path pointing to hugetlbfs 
mounted dir immediately fails and I see following message in dmesg of host:
VM: killing process qemu-system-x86
pointing to tmpfs mounted dir seems to work, I'll measure performance 
gain...

>
> The next biggest win you're going to see is using NPT (available in 
> the recent AMD Barcelona/Phenom processors).   NPT + hugetblfs should 
> get you pretty close to native (I'd reckon 95-98%).
Yup, it seemed to me  that kvm performes WAY better on my phenom based 
home desktop! I'll check that later too
>
> On the Intel side of things, you'll have to wait until the Nehalem 
> which will support EPT (which is Intel's version of NPT).
>
> Can you be specific about your guest configurations?  Are you using 
> -smp 8?
yes, I'm using -smp 8
>
> Regards,
>
> Anthony Liguori





-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone

  reply	other threads:[~2008-04-06 21:57 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-06 19:56 performance tuning, problem with paravirtualized clock Nikola Ciprich
2008-04-06 20:38 ` Anthony Liguori
2008-04-06 21:57   ` Nikola Ciprich [this message]
2008-04-06 22:08     ` Anthony Liguori
2008-04-06 22:24       ` Nikola Ciprich
2008-04-06 22:33         ` Anthony Liguori
2008-04-06 20:49 ` Dor Laor
2008-04-06 22:25   ` Nikola Ciprich
2008-04-07  4:14 ` Avi Kivity
2008-04-07 15:41 ` Marcelo Tosatti
2008-04-07 20:47   ` Nikola Ciprich

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=47F9472E.50602@linuxbox.cz \
    --to=extmaillist@linuxbox.cz \
    --cc=kvm-devel@lists.sourceforge.net \
    /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