Andi Kleen wrote:
On Mon, Jul 11, 2005 at 11:46:03AM -0600, Mark Chernault wrote:
With acpi, both increase fine for 5 seconds, then there is a 1 second pause, with the second increased by 1 and the timer interrupts by 1000. Then both increase fine for 5 seconds, then there is a 1 second pause, with the second increased by 2 and the timer interrupts by 1000. This cycle repeats.
Time Timer 1 1000 2 2000 3 3000 4 4000 5 5000 Pause for 1 second 6 6000 7 7000 8 8000 9 9000 10 10000 Pause for 1 second 12 11000
What happens when you boot with acpi_skip_timer_override ? (in 9.3)
And can you supply /var/log/boot.msg for the ACPI case and lspci?
-Andi
I grep'd the timer and added the values for dual proc. I see the pauses
like Mark, but I'm not sure what the count and time are doing. It almost
looks like the count/time function ok -- both continue to increment as
expected -- except after a short pause i'd expect the date to have
changed more than 1s.
while(true);do cat /proc/interrupts |grep timer |perl -ane
'$t=$F[1]+$F[2];print "$t "';date;sleep 1;done
2895350 Mon Jul 11 14:53:53 MDT 2005
2896362 Mon Jul 11 14:53:54 MDT 2005
2897374 Mon Jul 11 14:53:55 MDT 2005
2898389 Mon Jul 11 14:53:56 MDT 2005
2899341 Mon Jul 11 14:53:57 MDT 2005
2900352 Mon Jul 11 14:53:58 MDT 2005
2901365 Mon Jul 11 14:53:59 MDT 2005
2902379 Mon Jul 11 14:54:00 MDT 2005
2903391 Mon Jul 11 14:54:01 MDT 2005
2904337 Mon Jul 11 14:54:02 MDT 2005
2905357 Mon Jul 11 14:54:03 MDT 2005
2906369 Mon Jul 11 14:54:04 MDT 2005
2907382 Mon Jul 11 14:54:05 MDT 2005
2908394 Mon Jul 11 14:54:06 MDT 2005
2909338 Mon Jul 11 14:54:07 MDT 2005
2910356 Mon Jul 11 14:54:08 MDT 2005
2911368 Mon Jul 11 14:54:09 MDT 2005
2912380 Mon Jul 11 14:54:10 MDT 2005
2913392 Mon Jul 11 14:54:11 MDT 2005
2914340 Mon Jul 11 14:54:13 MDT 2005
2915358 Mon Jul 11 14:54:14 MDT 2005
2916371 Mon Jul 11 14:54:15 MDT 2005
2917387 Mon Jul 11 14:54:16 MDT 2005
2918400 Mon Jul 11 14:54:17 MDT 2005
2919350 Mon Jul 11 14:54:18 MDT 2005
Inspecting /boot/System.map-2.6.11.4-21.7-smp
Loaded 22195 symbols from /boot/System.map-2.6.11.4-21.7-smp.
Symbols match kernel version 2.6.11.
No module symbols loaded - kernel modules not enabled.
klogd 1.4.1, log source = ksyslog started.
<4>Bootdata ok (command line is root=/dev/sda3 vga=0x31a selinux=0 splash=silent console=tty0 resume=/dev/sda2)
<4>Linux version 2.6.11.4-21.7-smp (geeko@buildhost) (gcc version 3.3.5 20050117 (prerelease) (SUSE Linux)) #1 SMP Thu Jun 2 14:23:14 UTC 2005
<6>BIOS-provided physical RAM map:
<4> BIOS-e820: 0000000000000000 - 000000000009dc00 (usable)
<4> BIOS-e820: 000000000009dc00 - 00000000000a0000 (reserved)
<4> BIOS-e820: 00000000000d8000 - 0000000000100000 (reserved)
<4> BIOS-e820: 0000000000100000 - 00000000dff60000 (usable)
<4> BIOS-e820: 00000000dff60000 - 00000000dff72000 (ACPI data)
<4> BIOS-e820: 00000000dff72000 - 00000000dff80000 (ACPI NVS)
<4> BIOS-e820: 00000000dff80000 - 00000000e0000000 (reserved)
<4> BIOS-e820: 00000000fec00000 - 00000000fec00400 (reserved)
<4> BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
<4> BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved)
<7>ACPI: RSDP (v002 PTLTD ) @ 0x00000000000f7340
<7>ACPI: XSDT (v001 PTLTD XSDT 0x06040000 LTP 0x00000000) @ 0x00000000dff6d6e5
<7>ACPI: FADT (v003 SUN SUNmetro 0x06040000 PTEC 0x000f4240) @ 0x00000000dff71db6
<7>ACPI: SRAT (v001 AMD HAMMER 0x06040000 AMD 0x00000001) @ 0x00000000dff71eaa
<7>ACPI: MADT (v001 PTLTD APIC 0x06040000 LTP 0x00000000) @ 0x00000000dff71f72
<7>ACPI: DSDT (v001 SUN K85AE 0x06040000 MSFT 0x0100000d) @ 0x0000000000000000
<6>SRAT: PXM 0 -> APIC 0 -> Node 0
<6>SRAT: PXM 1 -> APIC 1 -> Node 1
<6>SRAT: Node 0 PXM 0 0-9ffff
<6>SRAT: Node 0 PXM 0 0-7fffffff
<6>SRAT: Node 1 PXM 1 80000000-dfffffff
<4>Bootmem setup node 0 0000000000000000-000000007fffffff
<4>Bootmem setup node 1 0000000080000000-00000000dff5ffff
<7>On node 0 totalpages: 524287
<7> DMA zone: 4096 pages, LIFO batch:1
<7> Normal zone: 520191 pages, LIFO batch:16
<7> HighMem zone: 0 pages, LIFO batch:1
<7>On node 1 totalpages: 393055
<7> DMA zone: 0 pages, LIFO batch:1
<7> Normal zone: 393055 pages, LIFO batch:16
<7> HighMem zone: 0 pages, LIFO batch:1
<7>ACPI: Local APIC address 0xfee00000
<6>ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
<6>Processor #0 15:5 APIC version 16
<6>ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
<6>Processor #1 15:5 APIC version 16
<6>ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
<6>ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
<6>ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
<6>IOAPIC[0]: apic_id 2, version 17, address 0xfec00000, GSI 0-23
<6>ACPI: IOAPIC (id[0x03] address[0xe8000000] gsi_base[24])
<6>IOAPIC[1]: apic_id 3, version 17, address 0xe8000000, GSI 24-27
<6>ACPI: IOAPIC (id[0x04] address[0xe8001000] gsi_base[28])
<6>IOAPIC[2]: apic_id 4, version 17, address 0xe8001000, GSI 28-31
<6>ACPI: IOAPIC (id[0x05] address[0xe8500000] gsi_base[32])
<6>IOAPIC[3]: apic_id 5, version 17, address 0xe8500000, GSI 32-35
<6>ACPI: IOAPIC (id[0x06] address[0xe8501000] gsi_base[36])
<6>IOAPIC[4]: apic_id 6, version 17, address 0xe8501000, GSI 36-39
<6>ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 high edge)
<7>ACPI: IRQ0 used by override.
<7>ACPI: IRQ2 used by override.
<7>ACPI: IRQ9 used by override.
<6>Setting APIC routing to flat
<6>Using ACPI (MADT) for SMP configuration information
<4>Checking aperture...
<4>CPU 0: aperture @ f0000000 size 128 MB
<4>CPU 1: aperture @ f0000000 size 128 MB
<4>Built 2 zonelists
<4>Kernel command line: root=/dev/sda3 vga=0x31a selinux=0 splash=silent console=tty0 resume=/dev/sda2
<6>bootsplash: silent mode.
<4>Initializing CPU#0
<4>PID hash table entries: 4096 (order: 12, 131072 bytes)
<6>time.c: Using 1.193182 MHz PIT timer.
<6>time.c: Detected 1994.354 MHz processor.
<4>Console: colour dummy device 80x25
<4>Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)
<4>Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
<4>Memory: 3604956k/3669376k available (2281k kernel code, 0k reserved, 1180k data, 212k init)
<7>Calibrating delay loop... 3923.96 BogoMIPS (lpj=1961984)
<6>Security Framework v1.0.0 initialized
<6>SELinux: Disabled at boot.
<4>Mount-cache hash table entries: 256 (order: 0, 4096 bytes)
<6>CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
<6>CPU: L2 Cache: 1024K (64 bytes/line)
<6>CPU 0(1) -> Node 0
<6>checking if image is initramfs... it is
<6>ACPI: Looking for DSDT in initrd... not found!
<4> not found!
<6>Using local APIC NMI watchdog using perfctr0
<6>CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
<6>CPU: L2 Cache: 1024K (64 bytes/line)
<6>CPU 0(1) -> Node 0
<6>CPU0: AMD Opteron(tm) Processor 246 stepping 0a
<6>per-CPU timeslice cutoff: 1023.86 usecs.
<6>task migration cache decay timeout: 2 msecs.
<6>Booting processor 1/1 rip 6000 rsp ffff8100dfd07f58
<4>Initializing CPU#1
<7>Calibrating delay loop... 3981.31 BogoMIPS (lpj=1990656)
<6>CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
<6>CPU: L2 Cache: 1024K (64 bytes/line)
<6>CPU 1(1) -> Node 1
<4>AMD Opteron(tm) Processor 246 stepping 0a
<6>Total of 2 processors activated (7905.28 BogoMIPS).
<6>Using local APIC timer interrupts.
<6>Detected 12.464 MHz APIC timer.
<6>checking TSC synchronization across 2 CPUs: passed.
<6>time.c: Using PIT/TSC based timekeeping.
<4>Brought up 2 CPUs
<6>NET: Registered protocol family 16
<6>PCI: Using configuration type 1
<6>mtrr: v2.0 (20020519)
<6>ACPI: Subsystem revision 20050211
<6>ACPI: Interpreter enabled
<6>ACPI: Using IOAPIC for interrupt routing
<6>ACPI: PCI Root Bridge [PCI0] (00:00)
<4>PCI: Probing PCI hardware (bus 00)
<7>ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
<4>ACPI: PCI Interrupt Link [LNKA] (IRQs 3 *5 10 11)
<4>ACPI: PCI Interrupt Link [LNKB] (IRQs 3 5 10 *11)
<4>ACPI: PCI Interrupt Link [LNKC] (IRQs 3 5 *10 11)
<4>ACPI: PCI Interrupt Link [LNKD] (IRQs 3 5 10 *11)
<7>ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.TP2P._PRT]
<7>ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.G0PA._PRT]
<7>ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.G0PB._PRT]
<6>ACPI: PCI Root Bridge [PCI1] (00:08)
<4>PCI: Probing PCI hardware (bus 08)
<7>ACPI: PCI Interrupt Routing Table [\_SB_.PCI1.Z00D._PRT]
<7>ACPI: PCI Interrupt Routing Table [\_SB_.PCI1.G1PA._PRT]
<7>ACPI: PCI Interrupt Routing Table [\_SB_.PCI1.G1PB._PRT]
<6>PCI: Using ACPI for IRQ routing
<6>PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a report
<4>TC classifier action (bugs to netdev@oss.sgi.com cc hadi@cyberus.ca)
<6>agpgart: Detected AMD 8151 AGP Bridge rev B3
<6>agpgart: Maximum main memory to use for agp memory: 3428M
<6>agpgart: AGP aperture is 128M @ 0xf0000000
<6>PCI-DMA: Disabling IOMMU.
<4>IA32 emulation $Id: sys_ia32.c,v 1.32 2002/03/24 13:02:28 ak Exp $
<6>audit: initializing netlink socket (disabled)
<3>audit(1121110650.812:0): initialized
<4>Total HugeTLB memory allocated, 0
<5>VFS: Disk quotas dquot_6.5.1
<4>Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
<6>Initializing Cryptographic API
<6>vesafb: framebuffer at 0xf8000000, mapped to 0xffffc20000100000, using 10240k, total 65536k
<6>vesafb: mode is 1280x1024x16, linelength=2560, pages=1
<6>vesafb: scrolling: redraw
<6>vesafb: Truecolor: size=0:5:6:5, shift=0:11:5:0
<6>bootsplash 3.1.6-2004/03/31: looking for picture...<6> silentjpeg size 81978 bytes,<6>...found (1280x1024, 54169 bytes, v3).
<4>Console: switching to colour frame buffer device 158x59
<6>fb0: VESA VGA frame buffer device
<6>Real Time Clock Driver v1.12
<6>Non-volatile memory driver v1.2
<6>Linux agpgart interface v0.100 (c) Dave Jones
<6>serio: i8042 AUX port at 0x60,0x64 irq 12
<6>serio: i8042 KBD port at 0x60,0x64 irq 1
<6>Serial: 8250/16550 driver $Revision: 1.90 $ 8 ports, IRQ sharing disabled
<4>ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
<4>ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
<6>io scheduler noop registered
<6>io scheduler anticipatory registered
<6>io scheduler deadline registered
<6>io scheduler cfq registered
<4>RAMDISK driver initialized: 16 RAM disks of 128000K size 1024 blocksize
<6>loop: loaded (max 8 devices)
<6>mice: PS/2 mouse device common for all mice
<6>input: PC Speaker
<6>md: md driver 0.90.1 MAX_MD_DEVS=256, MD_SB_DISKS=27
<6>NET: Registered protocol family 2
<6>IP: routing cache hash table of 16384 buckets, 256Kbytes
<4>TCP established hash table entries: 262144 (order: 10, 4194304 bytes)
<4>TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
<6>TCP: Hash tables configured (established 262144 bind 65536)
<6>NET: Registered protocol family 1
<4>ACPI wakeup devices:
<4>USB0 USB1 Z007 Z00A Z00B G0PA G0PB G1PA G1PB
<6>ACPI: (supports S0 S1 S3 S4 S5)
<4>Freeing unused kernel memory: 212k freed
<5>SCSI subsystem initialized
<6>Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
<6>ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
<6>AMD8111: IDE controller at PCI slot 0000:00:07.1
<6>AMD8111: chipset revision 3
<6>AMD8111: not 100% native mode: will probe irqs later
<6>AMD8111: 0000:00:07.1 (rev 03) UDMA133 controller
<6> ide0: BM-DMA at 0x1460-0x1467, BIOS settings: hda:pio, hdb:pio
<6> ide1: BM-DMA at 0x1468-0x146f, BIOS settings: hdc:DMA, hdd:pio
<7>Probing IDE interface ide0...
<7>Probing IDE interface ide1...
<4>hdc: AOPEN COM5232/AAH, ATAPI CD/DVD-ROM drive
<4>ide1 at 0x170-0x177,0x376 on irq 15
<6>ACPI: PCI interrupt 0000:13:04.0[A] -> GSI 39 (level, low) -> IRQ 169
<6>ACPI: PCI interrupt 0000:13:04.1[B] -> GSI 38 (level, low) -> IRQ 177
<6>scsi0 : Adaptec AIC79XX PCI-X SCSI HBA DRIVER, Rev 1.3.11
<4> <Adaptec AIC7902 Ultra320 SCSI adapter>
<4> aic7902: Ultra320 Wide Channel A, SCSI Id=7, PCI-X 67-100Mhz, 512 SCBs
<4>
<6>scsi1 : Adaptec AIC79XX PCI-X SCSI HBA DRIVER, Rev 1.3.11
<4> <Adaptec AIC7902 Ultra320 SCSI adapter>
<4> aic7902: Ultra320 Wide Channel B, SCSI Id=7, PCI-X 67-100Mhz, 512 SCBs
<4>
<4>(scsi1:A:0): 320.000MB/s transfers (160.000MHz DT|IU|RTI|QAS, 16bit)
<5> Vendor: SEAGATE Model: ST373307LW Rev: 0007
<5> Type: Direct-Access ANSI SCSI revision: 03
<4>scsi1:A:0:0: Tagged Queuing enabled. Depth 32
<5>SCSI device sda: 143374744 512-byte hdwr sectors (73408 MB)
<5>SCSI device sda: drive cache: write back
<5>SCSI device sda: 143374744 512-byte hdwr sectors (73408 MB)
<5>SCSI device sda: drive cache: write back
<6> sda: sda1 sda2 sda3 sda4
<4> sda1: