Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 1 Oct 2002 12:56:54 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 1 Oct 2002 12:56:46 -0400 Received: from twilight.ucw.cz ([195.39.74.230]:62607 "EHLO twilight.ucw.cz") by vger.kernel.org with ESMTP id ; Tue, 1 Oct 2002 12:56:18 -0400 Date: Tue, 1 Oct 2002 19:01:30 +0200 From: Vojtech Pavlik To: Alexander Hoogerhuis Cc: Dave Jones , Alan Cox , linux-kernel@vger.kernel.org, marcelo@conectiva.com.br Subject: Re: CPU/cache detection wrong Message-ID: <20021001190130.A13811@ucw.cz> References: <1033403655.16933.20.camel@irongate.swansea.linux.org.uk> <20020930221536.GA6987@suse.de> <20021001110628.GA17865@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from alexh@ihatent.com on Tue, Oct 01, 2002 at 05:31:07PM +0200 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1313 Lines: 34 On Tue, Oct 01, 2002 at 05:31:07PM +0200, Alexander Hoogerhuis wrote: > Dave Jones writes: > > > On Tue, Oct 01, 2002 at 09:21:26AM +0200, Alexander Hoogerhuis wrote: > > > Here we go: > > > > > > CPU: Trace cache: 12K uops, L1 D cache: 8K > > > CPU: L2 cache: 512K > > > > > > But my BIOS still say I should have 8Kb/8Kb I/D L1 cache... oh > > > well. I'm sure Alan Cox would just write it up as marketing, since > > > thats about how reliable a BIOS is :) > > > > Hmm, can a P4 have a trace cache AND an L1 I cache ? > > I thought they were exclusive, which is why the code > > doesn't take this into account. Easily fixed if so though.. > > > > I don't know the gory details of it, but my BIOS claims I got 8/8, but > I'm deep enough in it now to start taking the 5th amendment on the > details here :) 12k of trace cache and 8k of I-cache are more or less equivalent - trace cache is less effective because it has decoded uops, while i-cache has encoded instructions, which take up less space. -- Vojtech Pavlik SuSE Labs - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/