From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58728) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VDwD3-0005jh-4C for qemu-devel@nongnu.org; Mon, 26 Aug 2013 08:47:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VDwCw-00044B-SV for qemu-devel@nongnu.org; Mon, 26 Aug 2013 08:47:53 -0400 Received: from nodalink.pck.nerim.net ([62.212.105.220]:60951 helo=paradis.irqsave.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VDwCw-00043W-Hg for qemu-devel@nongnu.org; Mon, 26 Aug 2013 08:47:46 -0400 Date: Mon, 26 Aug 2013 14:49:41 +0200 From: =?iso-8859-1?Q?Beno=EEt?= Canet Message-ID: <20130826124941.GA5418@irqsave.net> References: <20130813181713.GA5204@irqsave.net> <20130826124031.GB22977@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <20130826124031.GB22977@redhat.com> Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] KVM guest cpu L3 cache and cpufreq List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gleb Natapov Cc: =?iso-8859-1?Q?Beno=EEt?= Canet , pbonzini@redhat.com, qemu-devel@nongnu.org Hi, Thanks for the answer. > On Tue, Aug 13, 2013 at 08:17:13PM +0200, Beno=EEt Canet wrote: > >=20 > > Hi, > >=20 > > I noticed that the l3 cache size of a guest /proc/cpuinfo is not the = same as > > the l3 cache size of the host. > >=20 > > I did not found any references to this in the qemu and KVM code. > >=20 > > Is the size of the guest L3 cache fixed in hardware ? > >=20 > No, it is hardcoded somewhere in qemu cpuid code. >=20 > > Can a patch be written to set it ? > >=20 > Yes. Ok I'll try to do that. >=20 > > Similarly I noticed that the frequency in the guest was not reflectin= g the > > frequency scaling of the host. > >=20 > Not sure what you mean here. Frequency as seen where? The frequency seen in the host /proc/cpuinfo and the guest /proc/cpuinfo = differs when a governor kick the cpu frequency scaling: the guest still show the = maximum frequency of the cpu. Could this value be reflected dynamically ? Best regards Beno=EEt >=20 > > Could anything be done for this ?=20 > >=20 > > Best regards > >=20 > > Beno=EEt >=20 > -- > Gleb.