All of lore.kernel.org
 help / color / mirror / Atom feed
* L1_CACHE_SHIFT value for P4 ?
@ 2002-11-21 13:25 Margit Schubert-While
  2002-11-21 13:30 ` Dave Jones
  0 siblings, 1 reply; 9+ messages in thread
From: Margit Schubert-While @ 2002-11-21 13:25 UTC (permalink / raw)
  To: linux-kernel

Andi,
L2 cache lines = L2 cache size ?
This P4 has got 512KB L2 cache.

processor         : 0
vendor_id          : GenuineIntel
cpu family          : 15
model                : 2
model name      : Intel(R) Pentium(R) 4 CPU 2.40GHz
stepping            : 4
cpu MHz            : 2400.143
cache size         : 512 KB
fdiv_bug            : no
hlt_bug              : no
f00f_bug           : no
coma_bug        : no
fpu                     : yes
fpu_exception   : yes
cpuid level         : 2
wp                      : yes
flags                  : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr 
pge mca cmov pat pse36
                             clflush dts acpi mmx fxsr sse sse2 ss ht tm
bogomips         : 4784.12


^ permalink raw reply	[flat|nested] 9+ messages in thread
* L1_CACHE_SHIFT value for P4 ?
@ 2002-11-21 14:39 Margit Schubert-While
  0 siblings, 0 replies; 9+ messages in thread
From: Margit Schubert-While @ 2002-11-21 14:39 UTC (permalink / raw)
  To: linux-kernel

Just for the record - my x86info

Instruction TLB: 4K, 2MB or 4MB pages, fully associative, 64 entries.
Data TLB: 4KB or 4MB pages, fully associative, 64 entries.
L1 Data cache:
         Size: 8KB       Sectored, 4-way associative.
         line size=64 bytes.
No L3 cache
Instruction trace cache:
         Size: 12K uOps  8-way associative.
L2 unified cache:
         Size: 512KB     Sectored, 8-way associative.
         line size=64 bytes.


^ permalink raw reply	[flat|nested] 9+ messages in thread
[parent not found: <4.3.2.7.2.20021121130236.00b15370@mail.dns-host.com.suse.lists.linux.kernel>]
* L1_CACHE_SHIFT value for P4 ?
@ 2002-11-21 12:13 Margit Schubert-While
  0 siblings, 0 replies; 9+ messages in thread
From: Margit Schubert-While @ 2002-11-21 12:13 UTC (permalink / raw)
  To: linux-kernel

What should be the value of L1_CACHE_SHIFT for a P4 ?
L1_CACHE_BYTES is set to 1<<L1_CACHE_SHIFT

In the .config , I notice that L1_CACHE_SHIFT is being set to 7 for the P4.
Surely that can't be right or ?


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2002-11-21 14:56 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-21 13:25 L1_CACHE_SHIFT value for P4 ? Margit Schubert-While
2002-11-21 13:30 ` Dave Jones
  -- strict thread matches above, loose matches on Subject: below --
2002-11-21 14:39 Margit Schubert-While
     [not found] <4.3.2.7.2.20021121130236.00b15370@mail.dns-host.com.suse.lists.linux.kernel>
2002-11-21 13:10 ` Andi Kleen
2002-11-21 13:23   ` Dave Jones
2002-11-21 13:42     ` Andi Kleen
2002-11-21 13:47       ` Dave Jones
2002-11-21 15:03     ` Mikael Pettersson
2002-11-21 12:13 Margit Schubert-While

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.