LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-18-2005, 02:38 PM   #1
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Costa Rica
Distribution: Kubuntu, Debian, Knoppix
Posts: 2,092
Blog Entries: 1

Rep: Reputation: 90
Question ubuntu smp: why is kswapd0 taking 100% CPU time?


I just installed linux-image-2.6.10-5-686-smp and it started OK, but kswapd0 is taking 100% CPU time (which is like 50% total CPU time, cause the box has 2 CPUs).

What does that mean? do I have to worry?

The box has two Pentium III 700 (xeon, I think... they have 1 MB of cache each).

dmesg:
Code:
Linux version 2.6.10-5-686-smp (buildd@terranova) (gcc version 3.3.5 (Debian 1:3.3.5-8ubuntu2)) #1 SMP Mon Oct 10 11:40:56 UTC 2005
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009f400 (usable)
 BIOS-e820: 000000000009f400 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000007fffc000 (usable)
 BIOS-e820: 000000007fffc000 - 0000000080000000 (ACPI data)
 BIOS-e820: 00000000fec00000 - 00000000fec10000 (reserved)
 BIOS-e820: 00000000fee00000 - 00000000fee10000 (reserved)
 BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved)
1151MB HIGHMEM available.
896MB LOWMEM available.
found SMP MP-table at 000f4fd0
On node 0 totalpages: 524284
  DMA zone: 4096 pages, LIFO batch:1
  Normal zone: 225280 pages, LIFO batch:16
  HighMem zone: 294908 pages, LIFO batch:16
DMI 2.3 present.
ACPI: RSDP (v000 COMPAQ                                ) @ 0x000f4f70
ACPI: RSDT (v001 COMPAQ YORKTOWN 0x00000002 Ò 0x0000162e) @ 0x7fffc000
ACPI: FADT (v001 COMPAQ YORKTOWN 0x00000002 Ò 0x0000162e) @ 0x7fffc040
ACPI: MADT (v001 COMPAQ 00000083 0x00000002  0x00000000) @ 0x7fffc100
ACPI: SSDT (v001 COMPAQ     SSDT 0x00000001 MSFT 0x0100000b) @ 0x7ffff800
ACPI: SPCR (v001 COMPAQ SPCR_ROM 0x00000001 Ò 0x0000162e) @ 0x7fffc180
ACPI: DSDT (v001 COMPAQ     DSDT 0x00000001 MSFT 0x0100000b) @ 0x00000000
ACPI: PM-Timer IO Port: 0x240
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] disabled)
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] disabled)
ACPI: LAPIC (acpi_id[0x02] lapic_id[0x02] enabled)
Processor #2 6:10 APIC version 17
ACPI: LAPIC (acpi_id[0x03] lapic_id[0x03] enabled)
Processor #3 6:10 APIC version 17
ACPI: LAPIC_NMI (acpi_id[0xff] dfl dfl lint[0x1])
ACPI: IOAPIC (id[0x08] address[0xfec00000] gsi_base[0])
IOAPIC[0]: apic_id 8, version 17, address 0xfec00000, GSI 0-34
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 high edge)
ACPI: IRQ0 used by override.
ACPI: IRQ2 used by override.
ACPI: IRQ9 used by override.
Enabling APIC mode:  Flat.  Using 1 I/O APICs
Using ACPI (MADT) for SMP configuration information
Built 1 zonelists
Kernel command line: root=/dev/cciss/c0d0p5 ro quiet splash
mapped APIC to ffffd000 (fee00000)
mapped IOAPIC to ffffc000 (fec00000)
Initializing CPU#0
PID hash table entries: 4096 (order: 12, 65536 bytes)
Detected 701.922 MHz processor.
Using pmtmr for high-res timesource
Console: colour VGA+ 80x25
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 2071304k/2097136k available (1604k kernel code, 24848k reserved, 718k data, 192k init, 1179632k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay loop... 1376.25 BogoMIPS (lpj=688128)
Security Framework v1.0.0 initialized
SELinux:  Disabled at boot.
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
CPU: After generic identify, caps: 0383fbff 00000000 00000000 00000000 00000000 00000000
CPU: After vendor identify, caps: 0383fbff 00000000 00000000 00000000 00000000 00000000
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 1024K
CPU: After all inits, caps: 0383fbff 00000000 00000000 00000040 00000000 00000000
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
ACPI: Looking for DSDT in initrd... not found!
CPU0: Intel Pentium III (Cascades) stepping 04
per-CPU timeslice cutoff: 2927.55 usecs.
task migration cache decay timeout: 3 msecs.
Booting processor 1/2 eip 3000
Initializing CPU#1
Calibrating delay loop... 1400.83 BogoMIPS (lpj=700416)
CPU: After generic identify, caps: 0383fbff 00000000 00000000 00000000 00000000 00000000
CPU: After vendor identify, caps: 0383fbff 00000000 00000000 00000000 00000000 00000000
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 1024K
CPU: After all inits, caps: 0383fbff 00000000 00000000 00000040 00000000 00000000
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#1.
CPU1: Intel Pentium III (Cascades) stepping 04
Total of 2 processors activated (2777.08 BogoMIPS).
ENABLING IO-APIC IRQs
..TIMER: vector=0x31 pin1=2 pin2=-1
..MP-BIOS bug: 8254 timer not connected to IO-APIC
...trying to set up timer (IRQ0) through the 8259A ...  failed.
...trying to set up timer as Virtual Wire IRQ... works.
checking TSC synchronization across 2 CPUs: passed.
Brought up 2 CPUs
CPU0:
 domain 0: span 01
  groups: 01
  domain 1: span 03
   groups: 01 02
CPU1:
 domain 0: span 02
  groups: 02
  domain 1: span 03
   groups: 02 01
checking if image is initramfs...it isn't (bad gzip magic numbers); looks like an initrd
Freeing initrd memory: 4484k freed
NET: Registered protocol family 16
PCI: PCI BIOS revision 2.10 entry at 0xf0084, last bus=10
PCI: Using configuration type 1
mtrr: v2.0 (20020519)
mtrr: your CPUs had inconsistent fixed MTRR settings
mtrr: probably your BIOS does not setup all CPUs.
mtrr: corrected configuration.
ACPI: Subsystem revision 20050211
ACPI: Interpreter enabled
ACPI: Using IOAPIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (00:00)
PCI: Probing PCI hardware (bus 00)
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Root Bridge [PCI1] (00:02)
PCI: Probing PCI hardware (bus 02)
ACPI: PCI Interrupt Routing Table [\_SB_.PCI1._PRT]
ACPI: PCI Root Bridge [PCI2] (00:07)
PCI: Probing PCI hardware (bus 07)
ACPI: PCI Interrupt Routing Table [\_SB_.PCI2._PRT]
ACPI: PCI Interrupt Link [FAKE] (IRQs) *0, disabled.
ACPI: PCI Interrupt Link [INA0] (IRQs 15) *11
ACPI: PCI Interrupt Link [INA1] (IRQs 15) *0, disabled.
ACPI: PCI Interrupt Link [INA2] (IRQs *15)
ACPI: PCI Interrupt Link [INA3] (IRQs 15) *0, disabled.
ACPI: PCI Interrupt Link [INA4] (IRQs 15) *0, disabled.
ACPI: PCI Interrupt Link [INA5] (IRQs 15) *0, disabled.
ACPI: PCI Interrupt Link [INA6] (IRQs 15) *0, disabled.
ACPI: PCI Interrupt Link [INA7] (IRQs 15) *0, disabled.
ACPI: PCI Interrupt Link [INA8] (IRQs 15) *5
ACPI: PCI Interrupt Link [INA9] (IRQs 15) *0, disabled.
ACPI: PCI Interrupt Link [INAA] (IRQs 15) *0, disabled.
ACPI: PCI Interrupt Link [INAB] (IRQs 15) *0, disabled.
ACPI: PCI Interrupt Link [INAC] (IRQs 15) *5
ACPI: PCI Interrupt Link [INAD] (IRQs 15) *3
ACPI: PCI Interrupt Link [INAE] (IRQs 15) *10
ACPI: PCI Interrupt Link [INAF] (IRQs 15) *0, disabled.
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
pnp: PnP ACPI: found 10 devices
PnPBIOS: Disabled by ACPI PNP
PCI: Using ACPI for IRQ routing
** PCI interrupts are no longer routed automatically.  If this
** causes a device to stop working, it is probably because the
** driver failed to call pci_enable_device().  As a temporary
** workaround, the "pci=routeirq" argument restores the old
** behavior.  If this argument makes the device work again,
** please email the output of "lspci" to bjorn.helgaas@hp.com
** so I can fix the driver.
PCI: Device 00:00 not found by BIOS
PCI: Device 00:01 not found by BIOS
PCI: Device 00:02 not found by BIOS
PCI: Device 00:03 not found by BIOS
PCI: Device 00:78 not found by BIOS
pnp: 00:00: ioport range 0xf50-0xf58 has been reserved
audit: initializing netlink socket (disabled)
audit(1129663305.019:0): initialized
highmem bounce pool size: 64 pages
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
devfs: 2004-01-31 Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x0
Initializing Cryptographic API
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
Serial: 8250/16550 driver $Revision: 1.90 $ 48 ports, IRQ sharing enabled
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ACPI: PCI interrupt 0000:02:08.0[A] -> GSI 18 (level, low) -> IRQ 18
ttyS14 at I/O 0x3400 (irq = 18) is a 16550A
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
pnp: Unable to assign resources to device 00:09.
serial: probe of 00:09 failed with error -16
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
input: AT Translated Set 2 keyboard on isa0060/serio0
NET: Registered protocol family 2
IP: routing cache hash table of 16384 buckets, 128Kbytes
TCP: Hash tables configured (established 524288 bind 65536)
NET: Registered protocol family 8
NET: Registered protocol family 20
Restarting tasks...<6> Strange, kswapd0 not stopped
 Strange, kseriod not stopped
 done
ACPI wakeup devices:

ACPI: (supports S0 S4 S5)
RAMDISK: cramfs filesystem found at block 0
RAMDISK: Loading 4484KiB [1 disk] into ram disk... done.
VFS: Mounted root (cramfs filesystem) readonly.
Freeing unused kernel memory: 192k freed
ACPI: Thermal Zone [THM0] (8 C)
NET: Registered protocol family 1
SCSI subsystem initialized
HP CISS Driver (v 2.6.2)
cciss: Device 0xb060 has been found at bus 7 dev 7 func 0
ACPI: PCI interrupt 0000:07:07.0[A] -> GSI 24 (level, low) -> IRQ 24
cciss: using DAC cycles
elevator: using anticipatory as default io scheduler
      blocks= 106683840 block_size= 512
      heads= 255, sectors= 32, cylinders= 13074

      blocks= 106683840 block_size= 512
      heads= 255, sectors= 32, cylinders= 13074

 /dev/cciss/host0/target0: p1 p2 < p5 p6 p7 p8 >
Stopping tasks: ==|
Freeing memory... done (381 pages freed)
Restarting tasks... done
serio: kseriod exiting
EXT3-fs: INFO: recovery required on readonly filesystem.
EXT3-fs: write access will be enabled during recovery.
EXT3-fs: cciss/c0d0p5: orphan cleanup on readonly fs
ext3_orphan_cleanup: deleting unreferenced inode 24730
kjournald starting.  Commit interval 5 seconds
EXT3-fs: cciss/c0d0p5: 1 orphan inode deleted
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
Adding 501816k swap on /dev/cciss/c0d0p8.  Priority:-1 extents:1
EXT3 FS on cciss/c0d0p5, internal journal
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
Probing IDE interface ide0...
hda: IDE/ATAPI CD-ROM 40X, ATAPI CD/DVD-ROM drive
Probing IDE interface ide1...
Probing IDE interface ide2...
Probing IDE interface ide3...
Probing IDE interface ide4...
Probing IDE interface ide5...
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: ATAPI 17X CD-ROM drive, 128kB Cache
Uniform CD-ROM driver Revision: 3.20
parport: PnPBIOS parport detected.
parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE]
lp0: using parport0 (interrupt-driven).
mice: PS/2 mouse device common for all mice
input: PS/2 Logitech Mouse on isa0060/serio1
Capability LSM initialized
ts: Compaq touchscreen protocol output
device-mapper: 4.3.0-ioctl (2004-09-30) initialised: dm-devel@redhat.com
md: md driver 0.90.1 MAX_MD_DEVS=256, MD_SB_DISKS=27
cdrom: open failed.
kjournald starting.  Commit interval 5 seconds
EXT3 FS on cciss/c0d0p7, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS on cciss/c0d0p6, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
input: PC Speaker
inserting floppy driver for 2.6.10-5-686-smp
Floppy drive(s): fd0 is 1.44M
FDC 0 is a National Semiconductor PC87306
Linux agpgart interface v0.100 (c) Dave Jones
agpgart: Maximum main memory to use for agp memory: 1919M
agpgart: unable to determine aperture size.
agpgart: agp_backend_initialize() failed.
agpgart-serverworks: probe of 0000:00:00.0 failed with error -22
agpgart: Maximum main memory to use for agp memory: 1919M
agpgart: unable to determine aperture size.
agpgart: agp_backend_initialize() failed.
agpgart-serverworks: probe of 0000:00:00.1 failed with error -22
agpgart: Detected ServerWorks CNB20HE chipset: No AGP present.
agpgart: Detected ServerWorks CNB20HE chipset: No AGP present.
ACPI: PCI interrupt 0000:00:04.0[A] -> GSI 29 (level, low) -> IRQ 29
sym0: <1510d> rev 0x2 at pci 0000:00:04.0 irq 29
sym0: No NVRAM, ID 7, Fast-40, LVD, parity checking
sym0: SCSI BUS has been reset.
scsi0 : sym-2.1.18m
ACPI: PCI interrupt 0000:00:04.1[B] -> GSI 28 (level, low) -> IRQ 28
sym1: <1510d> rev 0x2 at pci 0000:00:04.1 irq 28
sym1: No NVRAM, ID 7, Fast-40, LVD, parity checking
sym1: SCSI BUS has been reset.
scsi1 : sym-2.1.18m
  Vendor: COMPAQ    Model: SDT-10000         Rev: 1.12
  Type:   Sequential-Access                  ANSI SCSI revision: 02
 target1:0:6: Beginning Domain Validation
sym1:6: wide asynchronous.
sym1:6: FAST-20 WIDE SCSI 40.0 MB/s ST (50.0 ns, offset 15)
 target1:0:6: Domain Validation skipping write tests
 target1:0:6: Ending Domain Validation
st: Version 20041025, fixed bufsize 32768, s/g segs 256
Attached scsi tape st0 at scsi1, channel 0, id 6, lun 0
st0: try direct i/o: yes (alignment 512 B), max page reachable by HBA 1048575
piix4_smbus 0000:00:0f.0: Found 0000:00:0f.0 device
piix4_smbus 0000:00:0f.0: SMB base address uninitialized - upgrade BIOS or use force_addr=0xaddr
SvrWks OSB4: IDE controller at PCI slot 0000:00:0f.1
SvrWks OSB4: chipset revision 0
SvrWks OSB4: not 100% native mode: will probe irqs later
SvrWks OSB4: port 0x01f0 already claimed by ide0
    ide1: BM-DMA at 0x2c08-0x2c0f, BIOS settings: hdc:pio, hdd:pio
Probing IDE interface ide1...
cpci_hotplug: CompactPCI Hot Plug Core version: 0.2
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
cpqphp: Compaq Hot Plug PCI Controller Driver version: 0.9.8
cpqphp: Hot Plug Subsystem Device ID: a2f8
cpqphp: Initializing the PCI hot plug controller residing on PCI bus 2
PCI: Using BIOS Interrupt Routing Table
PCI: Using BIOS Interrupt Routing Table
cpqphp: Hot Plug Subsystem Device ID: a2f9
cpqphp: Initializing the PCI hot plug controller residing on PCI bus 7
PCI: Using BIOS Interrupt Routing Table
e100: Intel(R) PRO/100 Network Driver, 3.2.3-k2-NAPI
e100: Copyright(c) 1999-2004 Intel Corporation
ACPI: PCI interrupt 0000:02:06.0[A] -> GSI 16 (level, low) -> IRQ 16
e100: eth0: e100_probe: addr 0xf2de0000, irq 16, MAC addr 00:50:8B:BD:6C:62
usbcore: registered new driver usbfs
usbcore: registered new driver hub
e100: eth0: e100_watchdog: link up, 100Mbps, full-duplex
ohci_hcd: 2004 Nov 08 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
USB Universal Host Controller Interface driver v2.2
NET: Registered protocol family 17
NET: Registered protocol family 10
Disabled Privacy Extensions on device c0317e40(lo)
IPv6 over IPv4 tunneling driver
Universal TUN/TAP device driver 1.5 (C)1999-2002 Maxim Krasnyansky
eth0: no IPv6 routers present
cpuinfo:
Code:
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 10
model name      : Pentium III (Cascades)
stepping        : 4
cpu MHz         : 701.922
cache size      : 1024 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 mmx fxsr sse
bogomips        : 1376.25

processor       : 1
vendor_id       : GenuineIntel
cpu family      : 6
model           : 10
model name      : Pentium III (Cascades)
stepping        : 4
cpu MHz         : 701.922
cache size      : 1024 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 mmx fxsr sse
bogomips        : 1400.83
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Crond Taking Almost 100% Processor Time ngwasuma Linux - Software 4 01-04-2006 09:05 AM
kswapd0 hogs all cpu maenho Linux - Software 2 03-02-2005 08:36 AM
how do i find which script is taking up my cpu time? Pete Dogg Linux - Software 4 07-23-2004 06:35 PM
Grip - rips are very slow and take 100% cpu time Mad Merlin Linux - Software 3 05-02-2004 12:16 PM
magicdev taking up too much cpu time phahn Linux - Software 2 04-29-2002 01:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration