lapic@2k interrukts eating CPU cycles
Emanuel Strobl
Emanuel.strobl at gmx.net
Thu Jun 9 12:23:49 GMT 2005
Hello,
I recognized that doing a "make clean" in a simple ports takes minutes to
finish, so I saw that "systat -vm" shows me about 80% system usage during
that. But even if it's finished lapic keeps generating 2000 interrupts/sec
and consuming 25% CPU usage when the machine is doning nothing.
Any hints what I could do? I have never seen lapic before, I just did a
fresh 6-snapshot (june) install and upgraded to yesterdays -current.
Please find attached my kernel conf, although this time I use ULE the
sluggish "make clean" behaviour was also with 4.2BSD (but I haven't looked
after the CPU usage)
Thanks,
-Harry
-------------- next part --------------
#2005/06/05
########################################
## Kernel for D815UFVW ##
########################################
## DEBUGS!
options KDB # Enable kernel debugger support.
#options KDB_TRACE
#options KDB_UNATTENDED
options DDB # Support DDB.
options GDB # Support remote GDB.
options INVARIANTS # Enable calls of extra sanity checking
options INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS
options WITNESS # Enable checks to detect deadlocks and cycles
options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed
options KTRACE # ktrace(1) support
makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols
machine i386
cpu I686_CPU
options PQ_CACHESIZE=256 # color for 512k/16k cache
ident CALE
options SCHED_ULE # ULE scheduler
#options SCHED_4BSD # 4BSD scheduler
options PREEMPTION # Enable kernel thread preemption
options INET # InterNETworking
options INET6 # IPv6 communications protocols
options FFS # Berkeley Fast Filesystem
options UFS_ACL # Support for access control lists
options UFS_DIRHASH # Improve performance on big directories
options SOFTUPDATES # Enable FFS soft updates support
#options UFS_EXTATTR
#options UFS_EXTATTR_AUTOSTART
#options QUOTA #enable disk quotas
#options SUIDDIR
options MD_ROOT # MD is a potential root device
options NFSCLIENT # Network Filesystem Client
options NFSSERVER # Network Filesystem Server
options NFS_ROOT # NFS usable as /, requires NFSCLIENT
options UDF
options MSDOSFS # MSDOS Filesystem
options CD9660 # ISO 9660 Filesystem
options PROCFS # Process filesystem (requires PSEUDOFS)
options PSEUDOFS # Pseudo-filesystem framework
options GEOM_GPT # GUID Partition Tables.
options GEOM_BDE
options GEOM_GATE
options GEOM_LABEL
options GEOM_MIRROR
options GEOM_STRIPE
options COMPAT_43 # Compatible with BSD 4.3 [KEEP THIS!]
#options COMPAT_FREEBSD4 # Compatible with FreeBSD4
options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI
options SYSVSHM # SYSV-style shared memory
options SYSVMSG # SYSV-style message queues
options SYSVSEM # SYSV-style semaphores
options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
options KBD_INSTALL_CDEV # install a CDEV entry in /dev
options AHC_REG_PRETTY_PRINT # Print register bitfields in debug
# output. Adds ~128k to driver.
options AHD_REG_PRETTY_PRINT # Print register bitfields in debug
# output. Adds ~215k to driver.
options ADAPTIVE_GIANT # Giant mutex is adaptive.
#options TCP_DROP_SYNFIN
#options ZERO_COPY_SOCKETS
options DEVICE_POLLING
# Bus support. Do not remove isa, even if you have no isa slots
device acpi
device isa
device pci
device apic # I/O APIC
device agp # support several AGP chipsets
device npx
# Floppy drives
device fdc
# ATA and ATAPI devices
device ata
device atadisk # ATA disk drives
device atapicd # ATAPI CDROM drives
options ATA_STATIC_ID # Static device numbering
# SCSI peripherals
device scbus # SCSI bus (required for SCSI)
device da # Direct Access (disks)
device cd # CD
device pass # Passthrough device (direct SCSI access)
# atkbdc0 controls both the keyboard and the PS/2 mouse
device atkbdc # AT keyboard controller
device atkbd # AT keyboard
device psm # PS/2 mouse
options ATKBD_DFLT_KEYMAP
makeoptions ATKBD_DFLT_KEYMAP=german.iso
device vga # VGA video card driver
options VESA
device splash # Splash screen and screen saver support
device sc
options MAXCONS=12
options SC_DISABLE_REBOOT
options SC_PIXEL_MODE
options SC_HISTORY_SIZE=1000
options SC_DFLT_FONT
makeoptions SC_DFLT_FONT=iso15
# syscons is the default console driver, resembling an SCO console
device sc
device pmtimer
# Serial (COM) ports
device sio # 8250, 16[45]50 based serial ports
# Parallel port
device ppc
device ppbus # Parallel port bus (required)
device lpt # Printer
device ppi # Parallel port interface device
device vpo # Requires scbus and da
# PCI Ethernet NICs.
device em # Intel PRO/1000 adapter Gigabit Ethernet Card
# PCI Ethernet NICs that use the common MII bus controller code.
# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
device miibus # MII bus support
device fxp # Intel EtherExpress PRO/100B (82557, 82558)
# Pseudo devices.
device loop # Network loopback
device mem # Memory and kernel memory devices
device io # I/O device
device random # Entropy device
device ether # Ethernet support
device pty # Pseudo-ttys (telnet etc)
device md # Memory "disks"
device gif # IPv6 and IPv4 tunneling
device faith # IPv6-to-IPv4 relaying (translation)
device bpf # Berkeley packet filter
# USB support
device uhci # UHCI PCI->USB interface
device ohci # OHCI PCI->USB interface
device ehci # EHCI PCI->USB interface (USB 2.0)
device usb # USB Bus (required)
device ugen # Generic
device uhid # "Human Interface Devices"
device ukbd # Keyboard
options UKBD_DFLT_KEYMAP
makeoptions UKBD_DFLT_KEYMAP=german.iso
device ulpt # Printer
device umass # Disks/Mass storage - Requires scbus and da
device ums # Mouse
device uscanner # Scanners
device uplcom
device ucom
# FireWire support
device firewire # FireWire bus code
device sbp # SCSI over FireWire (Requires scbus and da)
device fwe # Ethernet over FireWire (non-standard!)
device smbus # Bus support, required for smb below.
device smb
device sound
device snd_ich
device ichsmb
device atapicam
More information about the freebsd-current
mailing list