From owner-freebsd-questions@FreeBSD.ORG Tue Feb 22 13:13:20 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0049A16A4D0 for ; Tue, 22 Feb 2005 13:13:19 +0000 (GMT) Received: from dogstar.jonze.com (sol.jonze.com [81.168.80.217]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9B6A143D39 for ; Tue, 22 Feb 2005 13:13:18 +0000 (GMT) (envelope-from richard@jonze.com) Received: from dogstar.jonze.com (localhost.jonze.com [127.0.0.1]) by dogstar.jonze.com (8.13.1/8.13.1) with ESMTP id j1MDDIGi083410 for ; Tue, 22 Feb 2005 13:13:18 GMT (envelope-from richard@jonze.com) Received: (from richard@localhost) by dogstar.jonze.com (8.13.1/8.13.1/Submit) id j1MDDIla083409 for freebsd-questions@freebsd.org; Tue, 22 Feb 2005 13:13:18 GMT (envelope-from richard@jonze.com) Date: Tue, 22 Feb 2005 13:13:18 +0000 From: Richard Jones To: freebsd-questions@freebsd.org Message-ID: <20050222131318.GA64883@dogstar.jonze.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline User-Agent: Mutt/1.4.2.1i X-Virus-Scanned: ClamAV version 0.82, clamav-milter version 0.82 on dogstar.jonze.com X-Virus-Status: Clean Subject: sio clock interrupt problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Feb 2005 13:13:20 -0000 Hi, I've come across a strange problem with my FreeBSD 5.3 install. The swi5: clock sio system process (thread?) seems to be constantly using ~14% of my CPU time, according to top. I'm afraid I don't know how to verify whether the process is actually using the recsources or not, and I'm not sure whether this is the sio that refers to the serial port or some other sio. I compiled a kernel without "device sio", but that didn't make any difference. My uname output is: "FreeBSD dogstar.jonze.com 5.3-RELEASE-p5 FreeBSD 5.3-RELEASE-p5 #2: Fri Feb 18 21:07:42 GMT 2005" Here's my top output when the machine is otherwise idle: > last pid: 70171; load averages: 0.00, 0.32, 0.78 up 0+01:02:06 12:48:15 > 121 processes: 3 running, 94 sleeping, 24 waiting > CPU states: 0.0% user, 0.0% nice, 0.0% system, 14.3% interrupt, 85.7% idle > Mem: 145M Active, 208M Inact, 84M Wired, 22M Cache, 60M Buf, 37M Free > Swap: 997M Total, 997M Free > > PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND > 11 root 107 0 0K 12K RUN 26:30 84.57% 84.57% idle > 28 root -28 -147 0K 12K RUN 7:44 13.09% 13.09% swi5: clock sio > 44 root 171 52 0K 12K pgzero 0:23 0.00% 0.00% pagezero > 3 root -8 0 0K 12K - 0:04 0.00% 0.00% g_up > 575 root 96 0 3404K 2216K select 0:03 0.00% 0.00% sshd > 46 root 20 0 0K 12K syncer 0:02 0.00% 0.00% syncer >64883 richard 8 0 13732K 11820K wait 0:02 0.00% 0.00% mutt > 45 root -16 0 0K 12K psleep 0:02 0.00% 0.00% bufdaemon > 282 bind 20 0 6048K 4540K kserel 0:02 0.00% 0.00% named > 4 root -8 0 0K 12K - 0:02 0.00% 0.00% g_down >62387 root 96 0 3404K 2368K select 0:01 0.00% 0.00% sshd > 646 root 4 0 31064K 29400K accept 0:01 0.00% 0.00% perl5.8.5 > 586 root 20 0 29004K 27452K pause 0:01 0.00% 0.00% perl5.8.5 # vimstat -i interrupt total rate irq0: clk 373589 99 irq6: fdc0 11 0 irq8: rtc 478225 127 irq11: xl0 uhci0+ 62102 16 irq13: npx0 1 0 irq14: ata0 64200 17 irq15: ata1 47 0 Total 978175 261 The machine is a Dell GX150, dmesg follows, but in short: It's a PIII 1.12GHz, with 512MB RAM, Intel i815 Graphics chipset, 3COM 3C920 Fast Ethernet, and a new Maxtor 250GB UDMA100 drive. > Copyright (c) 1992-2004 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > The Regents of the University of California. All rights reserved. > FreeBSD 5.3-RELEASE-p5 #2: Fri Feb 18 21:07:42 GMT 2005 > root@dogstar.jonze.com:/usr/obj/usr/src/sys/DOGSTAR > Timecounter "i8254" frequency 1193182 Hz quality 0 > CPU: Intel(R) Pentium(R) III CPU 1133MHz (1129.67-MHz 686-class CPU) > Origin = "GenuineIntel" Id = 0x6b1 Stepping = 1 > Features=0x383fbff > real memory = 534736896 (509 MB) > avail memory = 517795840 (493 MB) > npx0: [FAST] > npx0: on motherboard > npx0: INT 16 interface > acpi0: on motherboard > acpi0: Power Button (fixed) > Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 > acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 > cpu0: on acpi0 > acpi_button0: on acpi0 > pcib0: port 0xcf8-0xcff on acpi0 > pci0: on pcib0 > agp0: mem 0xff000000-0xff07ffff,0xf8000000-0xfbffffff irq 9 at device 2.0 on pci0 > pcib1: at device 30.0 on pci0 > pci1: on pcib1 > xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0xec80-0xecff mem 0xfdfffc00-0xfdfffc7f irq 11 at device 12.0 on pci1 > miibus0: on xl0 > ukphy0: on miibus0 > ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > xl0: Ethernet address: 00:b0:d0:f4:ed:bf > isab0: at device 31.0 on pci0 > isa0: on isab0 > atapci0: port 0xffa0-0xffaf,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0 > ata0: channel #0 on atapci0 > ata1: channel #1 on atapci0 > uhci0: port 0xff80-0xff9f irq 11 at device 31.2 on pci0 > uhci0: [GIANT-LOCKED] > usb0: on uhci0 > usb0: USB revision 1.0 > uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 > uhub0: 2 ports with 2 removable, self powered > pci0: at device 31.3 (no driver attached) > uhci1: port 0xff60-0xff7f irq 11 at device 31.4 on pci0 > uhci1: [GIANT-LOCKED] > usb1: on uhci1 > usb1: USB revision 1.0 > uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 > uhub1: 2 ports with 2 removable, self powered > pci0: at device 31.5 (no driver attached) > fdc0: port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0 > fdc0: [FAST] > fd0: <1440-KB 3.5" drive> on fdc0 drive 0 > sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 > sio0: type 16550A > sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0 > sio1: type 16550A > orm0: at iomem 0xca000-0xcbfff,0xc0000-0xc9fff on isa0 > pmtimer0 on isa0 > atkbdc0: at port 0x64,0x60 on isa0 > atkbd0: irq 1 on atkbdc0 > kbd0 at atkbd0 > atkbd0: [GIANT-LOCKED] > sc0: at flags 0x100 on isa0 > sc0: VGA <16 virtual consoles, flags=0x300> > vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 > Timecounter "TSC" frequency 1129672946 Hz quality 800 > Timecounters tick every 10.000 msec > ad0: 239372MB [486344/16/63] at ata0-master UDMA100 > acd0: DVDROM at ata1-master UDMA33 > Mounting root from ufs:/dev/ad0s1a Regards, Richard Jones