From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57276) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VDw68-0002Ni-6m for qemu-devel@nongnu.org; Mon, 26 Aug 2013 08:40:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VDw62-0001nC-7B for qemu-devel@nongnu.org; Mon, 26 Aug 2013 08:40:44 -0400 Received: from mx1.redhat.com ([209.132.183.28]:31652) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VDw61-0001n2-Oy for qemu-devel@nongnu.org; Mon, 26 Aug 2013 08:40:38 -0400 Date: Mon, 26 Aug 2013 15:40:31 +0300 From: Gleb Natapov Message-ID: <20130826124031.GB22977@redhat.com> References: <20130813181713.GA5204@irqsave.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <20130813181713.GA5204@irqsave.net> Subject: Re: [Qemu-devel] KVM guest cpu L3 cache and cpufreq List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?utf-8?Q?Beno=C3=AEt?= Canet Cc: pbonzini@redhat.com, qemu-devel@nongnu.org On Tue, Aug 13, 2013 at 08:17:13PM +0200, Beno=C3=AEt 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. > Can a patch be written to set it ? >=20 Yes. > Similarly I noticed that the frequency in the guest was not reflecting the > frequency scaling of the host. >=20 Not sure what you mean here. Frequency as seen where? > Could anything be done for this ?=20 >=20 > Best regards >=20 > Beno=C3=AEt -- Gleb.