Date: Sun, 4 Dec 2005 15:27:44 +0100 From: GiZmen <gizmen@zion.vsip.pl> To: hackers@freebsd.org Subject: clock interrupts eating whole cpu Message-ID: <20051204142744.GA53154@blurp.pl>
next in thread | raw e-mail | index | archive | help
--d6Gm4EdcadzBjdND Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, yesterday i have noticed that my cpu is runnig on 100%. And almost 100% is used on interrupts CPU states: 0.0% user, 0.0% nice, 1.4% system, 98.6% interrupt, 0.0% idle i tried to check what is going on. I ran top and pressed S so i could see all processes: PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND 27 root 1 -32 -151 0K 8K RUN 62:48 67.72% swi4: clock 29 root 1 -44 -163 0K 8K RUN 28:30 28.17% swi1: net 11 root 1 171 52 0K 8K RUN 1:03 1.12% idle I have noticed that clock is eating most free cpu time. Net load is in normal because this is router for about 150 hosts. Could any one tell me what is going on? I am running FreeBSD 6.0-STABLE. i didnt have any problems like that before with FreeBSD 6.0-BETA ,RC,RELEASE and even STABLE. This happend yesterday or dwo days ago. I have downloaded newest src from cvsup and recompiled kernel which took quite long time due cpu usage. System is runnig postfix,mysql,apache2,dhcpd. I have attached my kernel config. I dont know where to look for problem. Please help me with this. -- Best Regards: GiZmen UNIX is user-friendly; it's just picky about its friends UNIX is simple; it just takes a genius to understand its simplicity --d6Gm4EdcadzBjdND Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=BLURP machine i386 cpu I686_CPU ident BLURP makeoptions COPTFLAGS="-O2 -pipe -funroll-loops -ffast-math -fno-builtin" makeoptions CONF_CFLAGS="-O2 -pipe -funroll-loops -ffast-math -fno-builtin" #makeoptions DEBUG=-g options SCHED_4BSD #options SCHED_ULE # 4BSD scheduler options PREEMPTION # Enable kernel thread preemption options INET # InterNETworking options INET6 # IPv6 communications protocols options FFS # Berkeley Fast Filesystem options SOFTUPDATES # Enable FFS soft updates support options UFS_ACL # Support for access control lists options UFS_DIRHASH # Improve performance on big directories #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 MSDOSFS # MSDOS Filesystem #options CD9660 # ISO 9660 Filesystem #options PROCFS # Process filesystem (requires PSEUDOFS) #options PSEUDOFS # Pseudo-filesystem framework options NULLFS options GEOM_GPT # GUID Partition Tables. options COMPAT_43 # Compatible with BSD 4.3 [KEEP THIS!] options COMPAT_FREEBSD4 # Compatible with FreeBSD4 options COMPAT_FREEBSD5 # Compatible with FreeBSD5 #options SCSI_DELAY=15000 # Delay (in ms) before probing SCSI options KTRACE # ktrace(1) support options SYSVSHM # SYSV-style shared memory options SYSVMSG # SYSV-style message queues options SYSVSEM # SYSV-style semaphores #options SHMMAXPGS=4096 #options SHMSEG=256 #options SEMMNI=256 #options SEMMNS=512 #options SEMMNU=256 #options SEMMAP=256 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. #device apic # I/O APIC # Bus support. Do not remove isa, even if you have no isa slots device isa device pci # Floppy drives #device fdc # ATA and ATAPI devices device ata device atadisk # ATA disk drives #device ataraid # ATA RAID drives device atapicd # ATAPI CDROM drives options ATA_STATIC_ID # Static device numbering # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc # AT keyboard controller device atkbd # AT keyboard device psm # PS/2 mouse device vga # VGA video card driver device sc #device agp # support several AGP chipsets device npx # Add suspend/resume support for the i8254. device pmtimer #options CPU_ENABLE_TCC #options VESA options GEOM_BDE # Disk encryption. options ALTQ #options ALTQ_CBQ # Class Bases Queueing options ALTQ_RED # Random Early Drop #options ALTQ_RIO # RED In/Out options ALTQ_HFSC # Hierarchical Packet Scheduler #options ALTQ_CDNR # Traffic conditioner #options ALTQ_PRIQ # Priority Queueing device pf #PF OpenBSD packet-filter firewall device pflog #logging support interface for PF device pfsync #synchronization interface for PF options IPSTEALTH #support for stealth forwarding options ACCEPT_FILTER_DATA options ACCEPT_FILTER_HTTP options TCP_DROP_SYNFIN #drop TCP packets with SYN+FIN options BRIDGE options ZERO_COPY_SOCKETS options QUOTA #enable disk quotas options MAXCONS=5 options MAC options SC_HISTORY_SIZE=5000 #options SC_DISABLE_DDBKEY #options SC_DISABLE_REBOOT #options SC_TWOBUTTON_MOUSE #options CPU_SUSP_HLT #options MAC_BIBA #options MAC_BSDEXTENDED options HZ=1000 #device sound #options INCLUDE_CONFIG_FILE # Include this file in kernel #options HW_WDOG #options SW_WATCHDOG options DEVICE_POLLING options CPU_ATHLON_SSE_HACK #options NETGRAPH #options KDB #options KDB_TRACE #options KDB_UNATTENDED #options DDB #options INVARIANTS #options INVARIANT_SUPPORT #options DIAGNOSTIC #options WITNESS #options CD9660_ICONV #options MSDOSFS_ICONV #options NTFS_ICONV #options UDF_ICONV device miibus # MII bus support #device re # RealTek 8139C+/8169/8169S/8110S device rl # RealTek 8129/8139 #device ed # NE[12]000, SMC Ultra, 3c503, DS8390 cards device fxp device xl # 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 sl # Kernel SLIP #device ppp # Kernel PPP #device tun # Packet tunnel. device pty # Pseudo-ttys (telnet etc) device md # Memory "disks" device gif # IPv6 and IPv4 tunneling device faith # IPv6-to-IPv4 relaying (translation) device snp #Snoop device - to look at pty/vty/etc.. device bpf # Berkeley packet filter --d6Gm4EdcadzBjdND--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051204142744.GA53154>