on 2.4.31 router ~ # uname -a Linux router 2.4.31-2 #1 Wed Jun 29 15:39:45 CEST 2005 i686 Intel(R)_Pentium(R)_4_CPU_2.40GHz unknown PLD Linux top show me: Cpu(s): 0.0% user, 44.5% system, 0.0% nice, 55.5% idle router ~ # readprofile | sort -nr +2 | head -20 520081 default_idle 8126,2656 775 __rdtsc_delay 24,2188 6255 ip_route_input 15,0361 1679 handle_IRQ_event 14,9911 2111 nf_iterate 11,9943 1718 do_softirq 10,7375 1096 eth_type_trans 6,2273 689 do_gettimeofday 6,1518 1195 kfree 5,7452 513 kfree_skbmem 4,5804 415 del_timer 4,3229 1198 kmalloc 3,9408 863 add_timer 3,8527 691 ip_finish_output2 2,8792 232 ip_forward_finish 2,4167 187 cpu_idle 2,3375 605 net_rx_action 2,2243 394 net_tx_action 2,0521 385 kmem_cache_free 2,0052 511 fn_hash_lookup 1,8787 router ~ # readprofile | sort -gr | head -20 555210 total 0,4437 520634 default_idle 8134,9062 274209 *unknown* 6261 ip_route_input 15,0505 2113 nf_iterate 12,0057 1718 do_softirq 10,7375 1680 handle_IRQ_event 15,0000 1198 kmalloc 3,9408 1196 kfree 5,7500 1097 eth_type_trans 6,2330 931 dev_queue_xmit 1,3854 866 add_timer 3,8661 775 __rdtsc_delay 24,2188 700 __kfree_skb 1,7500 691 ip_finish_output2 2,8792 689 do_gettimeofday 6,1518 668 netif_receive_skb 1,1929 661 ip_rcv 0,6259 607 net_rx_action 2,2316 591 alloc_skb 1,2737 router ~ # cat /proc/interrupts CPU0 0: 838063 IO-APIC-edge timer 1: 2 IO-APIC-edge keyboard 9: 0 IO-APIC-level acpi 14: 12536 IO-APIC-edge ide0 15: 2 IO-APIC-edge ide1 17: 27059112 IO-APIC-level eth1 22: 26743662 IO-APIC-level eth0 NMI: 0 LOC: 838000 ERR: 0 MIS: 0 router ~ # dmesg Linux version 2.4.31-2 (builder@olimp) (gcc version 3.3.6 (PLD Linux)) #1 Wed Jun 29 15:39:45 CEST 2005 BIOS-provided physical RAM map: BIOS-e820: 0000000000000000 - 000000000009fc00 (usable) BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved) BIOS-e820: 00000000000e8000 - 0000000000100000 (reserved) BIOS-e820: 0000000000100000 - 000000001f730000 (usable) BIOS-e820: 000000001f730000 - 000000001f740000 (ACPI data) BIOS-e820: 000000001f740000 - 000000001f7f0000 (ACPI NVS) BIOS-e820: 000000001f7f0000 - 000000001f800000 (reserved) BIOS-e820: 00000000ffb80000 - 0000000100000000 (reserved) 0MB HIGHMEM available. 503MB LOWMEM available. found SMP MP-table at 000ff780 hm, page 000ff000 reserved twice. hm, page 00100000 reserved twice. hm, page 000f1000 reserved twice. hm, page 000f2000 reserved twice. On node 0 totalpages: 128816 zone(0): 4096 pages. zone(1): 124720 pages. zone(2): 0 pages. ACPI: RSDP (v000 ACPIAM ) @ 0x000f9f70 ACPI: RSDT (v001 A M I OEMRSDT 0x07000301 MSFT 0x00000097) @ 0x1f730000 ACPI: FADT (v001 A M I OEMFACP 0x07000301 MSFT 0x00000097) @ 0x1f730200 ACPI: MADT (v001 A M I OEMAPIC 0x07000301 MSFT 0x00000097) @ 0x1f730390 ACPI: OEMB (v001 A M I OEMBIOS 0x07000301 MSFT 0x00000097) @ 0x1f740040 ACPI: DSDT (v001 PPVM1 PPVM1701 0x00000701 INTL 0x02002026) @ 0x00000000 ACPI: Local APIC address 0xfee00000 ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled) Processor #0 Unknown CPU [15:3] APIC version 20 ACPI: LAPIC (acpi_id[0x02] lapic_id[0x81] disabled) Processor #129 invalid (max 16) ACPI: IOAPIC (id[0x01] address[0xfec00000] global_irq_base[0x0]) IOAPIC[0]: Assigned apic_id 1 IOAPIC[0]: apic_id 1, version 32, address 0xfec00000, IRQ 0-23 ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl) ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level) Using ACPI (MADT) for SMP configuration information Kernel command line: root=0302 profile=2 Initializing CPU#0 Detected 2394.094 MHz processor. Console: colour VGA+ 80x25 Calibrating delay loop... 4771.02 BogoMIPS Memory: 504780k/515264k available (1229k kernel code, 10096k reserved, 304k data, 136k 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: 512 (order: 0, 4096 bytes) Buffer cache hash table entries: 32768 (order: 5, 131072 bytes) Page-cache hash table entries: 131072 (order: 7, 524288 bytes) CPU: Trace cache: 12K uops, L1 D cache: 16K CPU: L2 cache: 1024K Intel machine check architecture supported. Intel machine check reporting enabled on CPU#0. CPU: After generic, caps: bfebfbff 00000000 00000000 00000000 CPU: Common caps: bfebfbff 00000000 00000000 00000000 CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz stepping 04 Enabling fast FPU save and restore... done. Enabling unmasked SIMD FPU exception support... done. Checking 'hlt' instruction... OK. POSIX conformance testing by UNIFIX enabled ExtINT on CPU#0 ESR value before enabling vector: 00000000 ESR value after enabling vector: 00000000 ENABLING IO-APIC IRQs init IO_APIC IRQs IO-APIC (apicid-pin) 1-0, 1-16, 1-17, 1-18, 1-19, 1-20, 1-21, 1-22, 1-23 not connected. ..TIMER: vector=0x31 pin1=2 pin2=-1 Using local APIC timer interrupts. calibrating APIC timer ... ..... CPU clock speed is 2394.0922 MHz. ..... host bus clock speed is 133.0049 MHz. cpu: 0, clocks: 1330049, slice: 665024 CPU0 mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au) mtrr: detected mtrr type: Intel ACPI: Subsystem revision 20040326 PCI: PCI BIOS revision 2.10 entry at 0xf0031, last bus=1 PCI: Using configuration type 1 ACPI: Interpreter enabled ACPI: Using IOAPIC for interrupt routing ACPI: System [ACPI] (supports S0 S1 S3 S4 S5) ACPI: PCI Root Bridge [PCI0] (00:00) PCI: Probing PCI hardware (bus 00) PCI: Ignoring BAR0-3 of IDE controller 00:1f.1 Transparent bridge - Intel Corp. 82801BA/CA/DB/EB PCI Bridge ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P4._PRT] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 *10 11 12 14 15) ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 *5 6 7 10 11 12 14 15) ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 10 *11 12 14 15) ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled. ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled. ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled. ACPI: PCI Interrupt Link [LNKG] (IRQs *3 4 5 6 7 10 11 12 14 15) ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled. PCI: Probing PCI hardware 00:00:1f[A] -> 1-18 -> IRQ 18 level low 00:00:1f[B] -> 1-17 -> IRQ 17 level low 00:00:1d[A] -> 1-16 -> IRQ 16 level low 00:00:1d[B] -> 1-19 -> IRQ 19 level low 00:00:1d[D] -> 1-23 -> IRQ 23 level low 00:01:0a[A] -> 1-21 -> IRQ 21 level low 00:01:0a[B] -> 1-22 -> IRQ 22 level low 00:01:0a[D] -> 1-20 -> IRQ 20 level low number of MP IRQ sources: 15. number of IO-APIC #1 registers: 24. testing the IO APIC....................... IO APIC #1...... .... register #00: 01000000 ....... : physical APIC id: 01 ....... : Delivery Type: 0 ....... : LTS : 0 .... register #01: 00178020 ....... : max redirection entries: 0017 ....... : PRQ implemented: 1 ....... : IO APIC version: 0020 .... IRQ redirection table: NR Log Phy Mask Trig IRR Pol Stat Dest Deli Vect: 00 000 00 1 0 0 0 0 0 0 00 01 001 01 0 0 0 0 0 1 1 39 02 001 01 0 0 0 0 0 1 1 31 03 001 01 0 0 0 0 0 1 1 41 04 001 01 0 0 0 0 0 1 1 49 05 001 01 0 0 0 0 0 1 1 51 06 001 01 0 0 0 0 0 1 1 59 07 001 01 0 0 0 0 0 1 1 61 08 001 01 0 0 0 0 0 1 1 69 09 001 01 0 1 0 0 0 1 1 71 0a 001 01 0 0 0 0 0 1 1 79 0b 001 01 0 0 0 0 0 1 1 81 0c 001 01 0 0 0 0 0 1 1 89 0d 001 01 0 0 0 0 0 1 1 91 0e 001 01 0 0 0 0 0 1 1 99 0f 001 01 0 0 0 0 0 1 1 A1 10 001 01 1 1 0 1 0 1 1 B9 11 001 01 1 1 0 1 0 1 1 B1 12 001 01 1 1 0 1 0 1 1 A9 13 001 01 1 1 0 1 0 1 1 C1 14 001 01 1 1 0 1 0 1 1 E1 15 001 01 1 1 0 1 0 1 1 D1 16 001 01 1 1 0 1 0 1 1 D9 17 001 01 1 1 0 1 0 1 1 C9 IRQ to pin mappings: IRQ0 -> 0:2 IRQ1 -> 0:1 IRQ3 -> 0:3 IRQ4 -> 0:4 IRQ5 -> 0:5 IRQ6 -> 0:6 IRQ7 -> 0:7 IRQ8 -> 0:8 IRQ9 -> 0:9 IRQ10 -> 0:10 IRQ11 -> 0:11 IRQ12 -> 0:12 IRQ13 -> 0:13 IRQ14 -> 0:14 IRQ15 -> 0:15 IRQ16 -> 0:16 IRQ17 -> 0:17 IRQ18 -> 0:18 IRQ19 -> 0:19 IRQ20 -> 0:20 IRQ21 -> 0:21 IRQ22 -> 0:22 IRQ23 -> 0:23 .................................... done. PCI: Using ACPI for IRQ routing Linux NET4.0 for Linux 2.4 Based upon Swansea University Computer Society NET3.039 Initializing RT netlink socket Starting kswapd kinoded started VFS: Disk quotas vdquot_6.5.1 devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au) devfs: boot_options: 0x0 Detected PS/2 Mouse Port. keyboard: Timeout - AT keyboard not present?(ed) keyboard: Timeout - AT keyboard not present?(f4) pty: 512 Unix98 ptys configured Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled NET4: Frame Diverter 0.46 COMX: driver version 0.85 (C) 1995-1999 ITConsult-Pro Co. RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize Initializing Cryptographic API IEEE 802.2 LLC for Linux 2.1 (c) 1996 Tim Alpaerts NET4: Linux TCP/IP 1.0 for NET4.0 IP Protocols: ICMP, UDP, TCP, IGMP IP: routing cache hash table of 8192 buckets, 32Kbytes TCP: Hash tables configured (established 32768 bind 65536) Linux IP multicast router 0.06 plus PIM-SM RAMDISK: Compressed image found at block 0 Freeing initrd memory: 344k freed VFS: Mounted root (romfs filesystem) readonly. Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx ICH5: IDE controller at PCI slot 00:1f.1 PCI: Enabling device 00:1f.1 (0005 -> 0007) ICH5: chipset revision 2 ICH5: not 100% native mode: will probe irqs later ide0: BM-DMA at 0xfc00-0xfc07, BIOS settings: hda:DMA, hdb:pio ide1: BM-DMA at 0xfc08-0xfc0f, BIOS settings: hdc:pio, hdd:DMA hda: ST340014A, ATA DISK drive hdd: SAMSUNG CD-ROM SC-152A, ATAPI CD/DVD-ROM drive ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 ide1 at 0x170-0x177,0x376 on irq 15 hda: attached ide-disk driver. hda: host protected area => 1 hda: 78165360 sectors (40021 MB) w/2048KiB Cache, CHS=4865/255/63 Partition check: /dev/ide/host0/bus0/target0/lun0: p1 p2 p3 reiserfs: found format "3.6" with standard journal reiserfs: using ordered data mode reiserfs: checking transaction log (device ide0(3,2)) ... for (ide0(3,2)) ide0(3,2):Using r5 hash to sort names VFS: Mounted root (reiserfs filesystem) readonly. Trying to move old root to /initrd ... okay Freeing unused kernel memory: 136k freed NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. Real Time Clock Driver v1.10f Adding Swap: 497972k swap-space (priority -1) blk: queue e00201e0, I/O limit 4095Mb (mask 0xffffffff) isapnp: Scanning for PnP cards... isapnp: No Plug & Play device found i2c-core.o: i2c core module version 2.9.1 (20050412) i2c-i801 version 2.9.2 (20050906) i2c-isa.o version 2.9.2 (20050906) i2c-proc.o version 2.9.1 (20050412) eeprom.o version 2.9.2 (20050906) w83627hf.o version 2.9.2 (20050906) tg3.c:v3.26 (April 24, 2005) divert: allocating divert_blk for eth0 eth0: Tigon3 [partno(284685-001) rev 0105 PHY(5701)] (PCI:33MHz:32-bit) 10/100/1000BaseT Ethernet 00:02:a5:e7:47:f1 eth0: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] Split[0] WireSpeed[1] TSOcap[0] eth0: dma_rwctrl[76ff000f] divert: allocating divert_blk for eth1 eth1: Tigon3 [partno(284685-001) rev 0105 PHY(5701)] (PCI:33MHz:32-bit) 10/100/1000BaseT Ethernet 00:02:a5:e7:47:ee eth1: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] Split[0] WireSpeed[1] TSOcap[0] eth1: dma_rwctrl[76ff000f] IPv6 v0.8 for NET4.0 IPv6 over IPv4 tunneling driver divert: not allocating divert_blk for non-ethernet device sit0 tg3: eth0: Link is up at 100 Mbps, full duplex. tg3: eth0: Flow control is off for TX and off for RX. tg3: eth1: Link is up at 100 Mbps, full duplex. tg3: eth1: Flow control is on for TX and on for RX. ip_conntrack version 2.1 (131072 buckets, 1048576 max) - 332 bytes per conntrack dst cache overflow dst cache overflow dst cache overflow dst cache overflow dst cache overflow eth0: no IPv6 routers present eth1: no IPv6 routers present ip_tables: (C) 2000-2002 Netfilter core team ip_tables: table screwed up! HTB init, kernel part version 3.17 HTB init, kernel part version 3.17