L2 cache

Ivo Panacek ivop na regionet.cz
Středa Březen 19 14:46:40 CET 2003


Ahoj,

narazili jsme na zajimavy problem (opakovatelny na vice strojich):

- distribuce je RedHat 7.2
- deska ASUS TUSL-2-M
- procesor Intel Pentium III 1133EB
  ma 512KB L2 cache

puvodni kernel (2.4.9-34) z distribuce psal v /proc/cpuinfo tohle:

processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 11
model name      : Intel(R) Pentium(R) III CPU family      1133MHz
stepping        : 1
cpu MHz         : 1139.042
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 sep mtrr pge mca cmov pat pse36 mmx fxsr sse
bogomips        : 2274.09

novy kernel z updatu (2.4.18-24.7.x) pise toto:

processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 11
model name      : Intel(R) Pentium(R) III CPU family      1133MHz
stepping        : 1
cpu MHz         : 1139.017
cache size      : 32 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 sep mtrr pge mca cmov pat pse36 mmx fxsr sse
bogomips        : 2266.60

A zda se, ze aplikace opravdu bezi pomaleji.
Nenapada nekoho, v cem by mohl byt problem?
Uz tam ke staremu jadru nemohu couvnout, ale
upgrade jsem cinil pres rpm -hvF <vsechno> a
vypis vypadal dle ocekavani, zadne potize.
Mezitim nenastaly zadne zmeny hw/bios/...

Mam jeste oba vypisy dmesg, zde je diff (neni cely, ale dal
to uz je asi irelevantni):

--- dmesg       Wed Mar 19 14:28:15 2003
+++ /root/v-Nextre-2/dmesg      Wed Mar 19 14:31:52 2003
@@ -1,4 +1,4 @@
-Linux version 2.4.9-34 (bhcompile na daffy.perf.redhat.com) (gcc version 2.96 20000731 (Red Hat Linux 7.2 2.96-108.1)) #1 Sat Jun 1 06:25:16 EDT 2002
+Linux version 2.4.18-24.7.x (bhcompile na sylvester.devel.redhat.com) (gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-112)) #1 Fri Jan 31 07:06:03 EST 2003
 BIOS-provided physical RAM map:
  BIOS-e820: 0000000000000000 - 00000000000a0000 (usable)
  BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
@@ -9,28 +9,31 @@ BIOS-provided physical RAM map:
  BIOS-e820: 00000000fec00000 - 00000000fec10000 (reserved)
  BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
  BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved)
-Scanning bios EBDA for MXT signature
+0MB HIGHMEM available.
+510MB LOWMEM available.
 On node 0 totalpages: 130795
 zone(0): 4096 pages.
 zone(1): 126699 pages.
 zone(2): 0 pages.
 Kernel command line: ro root=/dev/hda2
 Initializing CPU#0
-Detected 1139.042 MHz processor.
+Detected 1139.017 MHz processor.
+Speakup v-1.00 CVS: Tue Jun 11 14:22:53 EDT 2002 : initialized
 Console: colour VGA+ 80x25
-Calibrating delay loop... 2274.09 BogoMIPS
-Memory: 509208k/523180k available (1726k kernel code, 11524k reserved, 91k data, 224k init, 0k highmem)
-Dentry-cache hash table entries: 65536 (order: 7, 524288 bytes)
-Inode-cache hash table entries: 32768 (order: 6, 262144 bytes)
-Mount-cache hash table entries: 8192 (order: 4, 65536 bytes)
-Buffer-cache hash table entries: 32768 (order: 5, 131072 bytes)
-Page-cache hash table entries: 131072 (order: 8, 1048576 bytes)
+Calibrating delay loop... 2266.60 BogoMIPS
+Memory: 510620k/523180k available (1154k kernel code, 10000k reserved, 976k data, 160k init, 0k highmem)
+Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
+Inode cache hash table entries: 32768 (order: 6, 262144 bytes)
+Mount cache hash table entries: 8192 (order: 4, 65536 bytes)
+ramfs: mounted with options: <defaults>
+ramfs: max_pages=64099 max_file_pages=0 max_inodes=0 max_dentries=64099
+Buffer cache hash table entries: 32768 (order: 5, 131072 bytes)
+Page-cache hash table entries: 131072 (order: 7, 524288 bytes)
 CPU: Before vendor init, caps: 0383f9ff 00000000 00000000, vendor = 0
 CPU: L1 I cache: 16K, L1 D cache: 16K
-CPU: L2 cache: 512K
+CPU: After vendor init, caps: 0383f9ff 00000000 00000000 00000000
 Intel machine check architecture supported.
 Intel machine check reporting enabled on CPU#0.
-CPU: After vendor init, caps: 0383f9ff 00000000 00000000 00000000
 CPU:     After generic, caps: 0383f9ff 00000000 00000000 00000000
 CPU:             Common caps: 0383f9ff 00000000 00000000 00000000
 CPU: Intel(R) Pentium(R) III CPU family      1133MHz stepping 01
@@ -43,28 +46,27 @@ mtrr: detected mtrr type: Intel
 PCI: PCI BIOS revision 2.10 entry at 0xf0df0, last bus=1
 PCI: Using configuration type 1
 PCI: Probing PCI hardware
+Transparent bridge - Intel Corp. 82801BA/CA/DB PCI Bridge
 PCI: Discovered primary peer bus fe [IRQ]
 PCI: Using IRQ router PIIX [8086/2440] at 00:1f.0
 isapnp: Scanning for PnP cards...
 isapnp: No Plug & Play device found
+speakup:  initialized device: /dev/synth, node (MAJOR 10, MINOR 25)
 Linux NET4.0 for Linux 2.4
 Based upon Swansea University Computer Society NET3.039
 Initializing RT netlink socket
-Simple Boot Flag extension found and enabled.
-apm: BIOS version 1.2 Flags 0x03 (Driver version 1.14)
-mxt_scan_bios: enter
-Starting kswapd v1.8
+apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16)
+Starting kswapd
 VFS: Diskquotas version dquot_6.5.0 initialized
 Detected PS/2 Mouse Port.
 pty: 2048 Unix98 ptys configured
 Serial driver version 5.05c (2001-07-08) with MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI ISAPNP enabled
-ttyS00 at 0x03f8 (irq = 4) is a 16550A
-ttyS01 at 0x02f8 (irq = 3) is a 16550A
+ttyS0 at 0x03f8 (irq = 4) is a 16550A
+ttyS1 at 0x02f8 (irq = 3) is a 16550A
 Real Time Clock Driver v1.10e
-block: queued sectors max/low 338101kB/207029kB, 1024 slots per queue
-RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
+block: 992 slots per queue, batch=248
 Uniform Multi-Platform E-IDE driver Revision: 6.31
-ide: Assuming 33MHz PCI bus speed for PIO modes; override with idebus=xx
+ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
 PIIX4: IDE controller on PCI bus 00 dev f9
 PIIX4: chipset revision 5
 PIIX4: not 100% native mode: will probe irqs later

ivo



Další informace o konferenci Linux