All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gleb Natapov <gleb@redhat.com>
To: "Benoît Canet" <benoit.canet@irqsave.net>
Cc: qemu-devel@nongnu.org, pbonzini@redhat.com,
	"Eduardo Habkost" <ehabkost@redhat.com>,
	"Andreas Färber" <afaerber@suse.de>,
	"Igor Mammedov" <imammedo@redhat.com>
Subject: Re: [Qemu-devel] KVM guest cpu L3 cache and cpufreq
Date: Tue, 27 Aug 2013 16:39:54 +0300	[thread overview]
Message-ID: <20130827133953.GA29736@redhat.com> (raw)
In-Reply-To: <20130827133533.GB5436@irqsave.net>

On Tue, Aug 27, 2013 at 03:35:33PM +0200, Benoît Canet wrote:
> > > > If I understand correctly changing the CPUID L3 cache infos in QEMU will change
> > > > the value displayed in the guest /proc/cpuinfo but will not change the size of
> > > > the l3 cache used by the hardware. So I am chasing a cosmetic bug.
> > > > If it right ?
> > > > 
> > > Right.
> > > 
> > Well, actually not entirely. An application can query cache sizes and
> > adjust its algorithms accordingly in which case performance can be
> > suboptimal if information in a guest is not accurate.
> 
> So maybe what is missing is a CPUID passthrough mode triggered when -cpu host
> is used ?
> 
That is missing too, but it should not be default with other CPU models.

--
			Gleb.

  reply	other threads:[~2013-08-27 13:40 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-13 18:17 [Qemu-devel] KVM guest cpu L3 cache and cpufreq Benoît Canet
2013-08-26 12:40 ` Gleb Natapov
2013-08-26 12:49   ` Benoît Canet
2013-08-26 14:33     ` Gleb Natapov
2013-08-26 16:45       ` Benoît Canet
2013-08-26 20:47         ` Eduardo Habkost
2013-08-27 13:18           ` Benoît Canet
2013-08-27 13:17             ` Gleb Natapov
2013-08-27 13:20               ` Gleb Natapov
2013-08-27 13:35                 ` Benoît Canet
2013-08-27 13:39                   ` Gleb Natapov [this message]
2013-08-27 13:37             ` Eduardo Habkost

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=20130827133953.GA29736@redhat.com \
    --to=gleb@redhat.com \
    --cc=afaerber@suse.de \
    --cc=benoit.canet@irqsave.net \
    --cc=ehabkost@redhat.com \
    --cc=imammedo@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.