public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Marcelo Tosatti <marcelo-Bw31MaZKKs3YtjvyW6yDsg@public.gmane.org>
To: Anders <mail-e0wP/LNAh+3kORH8mtz0xlpr/1R2p/CL@public.gmane.org>
Cc: Marcelo Tosatti <marcelo-Bw31MaZKKs3YtjvyW6yDsg@public.gmane.org>,
	kvm-devel
	<kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
Subject: Re: [PATCH] report revision 3 of the ACPI/SMBus PIIX4 controller
Date: Sun, 13 Jan 2008 12:22:57 -0200	[thread overview]
Message-ID: <20080113142256.GB8166@dmt> (raw)
In-Reply-To: <87ve5yynuv.fsf-MhEMtRviUwpApvB0Y80ENH9LOBIZ5rWg@public.gmane.org>

On Sun, Jan 13, 2008 at 12:19:20PM +0100, Anders wrote:
> Marcelo Tosatti <marcelo-Bw31MaZKKs3YtjvyW6yDsg@public.gmane.org> writes:
> 
> > This reduces idle guest CPU consumption from 14% to 8% on 4-way KVM
> > guest.
> 
> How do you get that high consumption? What combination of clocks/hz on
> host/guest are you using?

CONFIG_HZ=250

4-way SMP guest, 8-way Intel host (without the VMX TSC sync patch posted
previously).

> I am cursious, since my idle KVM process is at less than 1%.

You have an UP guest right?

The problem is that the TSC synchronization check on boot is
only performed on SMP guests. Intel hosts usually have their TSC
synchronized, whereas AMD ones don't, so they fall back to use the ACPI
PM timer (until the HPET QEMU/KVM support is in place).

UP guests use TSC as a clocksource by default, and TSC reads won't cause
a VMExit.


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace

  parent reply	other threads:[~2008-01-13 14:22 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-11 21:26 [PATCH] report revision 3 of the ACPI/SMBus PIIX4 controller Marcelo Tosatti
2008-01-13 10:25 ` Avi Kivity
2008-01-13 11:19 ` Anders
     [not found]   ` <87ve5yynuv.fsf-MhEMtRviUwpApvB0Y80ENH9LOBIZ5rWg@public.gmane.org>
2008-01-13 14:22     ` Marcelo Tosatti [this message]
2008-01-13 15:49       ` Anders
     [not found]         ` <878x2tzpx4.fsf-MhEMtRviUwpApvB0Y80ENH9LOBIZ5rWg@public.gmane.org>
2008-01-14 13:24           ` Marcelo Tosatti

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=20080113142256.GB8166@dmt \
    --to=marcelo-bw31mazkks3ytjvyw6ydsg@public.gmane.org \
    --cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=mail-e0wP/LNAh+3kORH8mtz0xlpr/1R2p/CL@public.gmane.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