From owner-freebsd-stable@FreeBSD.ORG Thu Apr 20 16:56:08 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B2FE416A400 for ; Thu, 20 Apr 2006 16:56:08 +0000 (UTC) (envelope-from hk@alogis.com) Received: from alogis.com (firewall.solit-ag.de [212.184.102.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 22BB343D46 for ; Thu, 20 Apr 2006 16:56:07 +0000 (GMT) (envelope-from hk@alogis.com) Received: from alogis.com (localhost [127.0.0.1]) by alogis.com (8.13.1/8.13.1) with ESMTP id k3KGu57E016647; Thu, 20 Apr 2006 18:56:05 +0200 (CEST) (envelope-from hk@alogis.com) Received: (from hk@localhost) by alogis.com (8.13.1/8.13.1/Submit) id k3KGu5Qd016646; Thu, 20 Apr 2006 18:56:05 +0200 (CEST) (envelope-from hk) Date: Thu, 20 Apr 2006 18:56:05 +0200 From: Holger Kipp To: stable@freebsd.org Message-ID: <20060420165605.GA15688@intserv.int1.b.intern> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Cc: Subject: swi4: clock sio uses 10% cpu X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Apr 2006 16:56:08 -0000 Hello, I have a little problem here with swi4: clock sio using lots of CPU (ie 16% Intr). Apart from that, accessing modems behind Titan PCI-800H seems to be a nightmare. I had silo overflows (increasing cp4ticks in sio.c did help here - see eg PR 26261) too. This is a vanilla FreeBSD system with only mgetty, perl and cvsup-without-gui being installed. This is on an old system with two mux-cards (ATA based 8-port card at irq 12 and pci based Titan PCI-800H). HZ is currently set to 100, but I have the same problem with HZ set to 1000. Problems started with inserting the PCI-Card and going to FreeBSD 6. I didn't have these problems with older version, but that didn't support the Titan PCI-800H. Dmesg below 0 21 0 0 -68 0 0 8 - WL ?? 0:01.98 [irq15: fxp0 ata1] 0 20 0 0 -64 0 0 8 - WL ?? 0:00.77 [irq14: ata0 ahc0] 0 37 0 0 -64 0 0 8 - DL ?? 0:00.40 [schedcpu] 0 22 0 0 -60 0 0 8 - WL ?? 0:00.60 [irq10: puc0 puc1] 0 24 0 0 -60 0 0 8 - WL ?? 0:00.00 [irq1: atkbd0] 0 25 0 0 -60 0 0 8 - WL ?? 0:00.00 [irq7: ppc0] 0 23 0 0 -48 0 0 8 - WL ?? 0:00.30 [swi0: sio] 0 12 0 0 -44 0 0 8 - WL ?? 0:01.41 [swi1: net] 0 16 0 0 -40 0 0 8 - WL ?? 0:00.08 [swi2: cambio] 0 14 0 0 -36 0 0 8 - WL ?? 0:00.00 [swi3: vm] 0 13 0 5 -32 0 0 8 - WL ?? 10:13.33 [swi4: clock sio] 0 19 0 0 -28 0 0 8 - WL ?? 0:00.00 [swi5: +] 0 17 0 0 -24 0 0 8 - WL ?? 0:00.00 [swi6: task queue] 0 18 0 0 -24 0 0 8 - WL ?? 0:00.00 [swi6: Giant taskq] 0 10 0 0 -16 0 0 8 ktrace DL ?? 0:00.00 [ktrace] 0 15 0 0 -16 0 0 8 - DL ?? 0:00.52 [yarrow] 0 26 0 0 -16 0 0 8 psleep DL ?? 0:00.01 [pagedaemon] 0 29 0 0 -16 0 0 8 psleep DL ?? 0:00.03 [bufdaemon] 0 32 0 0 -16 0 0 8 sdflus DL ?? 0:00.10 [softdepflush] 0 2 0 0 -8 0 0 8 - DL ?? 0:00.36 [g_event] 0 3 0 0 -8 0 0 8 - DL ?? 0:00.33 [g_up] 0 4 0 0 -8 0 0 8 - DL ?? 0:00.45 [g_down] 0 9 0 0 -8 0 0 8 - DL ?? 0:00.03 [fdc0] 0 31 0 0 -4 0 0 8 vlruwt DL ?? 0:00.02 [vnlru] [..] 0 11 0 24 171 0 0 8 - RL ?? 58:38.03 [idle] Suggestions, ideas etc. welcome. On second thoughs, if someone could recommend good stable hardware (board, sio-cards, etc.) to use with FreeBSD 6.x that supports 16 to 32 modem lines without problems and with high-speed (230400), I'd also appreciate that... ;-) Holger -------------- dmesg ------------------------------------------- Copyright (c) 1992-2006 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 6.1-PRERELEASE #4: Wed Mar 29 17:06:12 CEST 2006 root@dialout.dout1.b.intern:/usr/obj/usr/src/sys/B-DIALOUT Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Pentium III/Pentium III Xeon/Celeron (501.14-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x673 Stepping = 3 Features=0x383f9ff real memory = 134205440 (127 MB) avail memory = 121810944 (116 MB) npx0: [FAST] npx0: on motherboard npx0: INT 16 interface cpu0 on motherboard pcib0: pcibus 0 on motherboard pir0: on motherboard $PIR: Using invalid BIOS IRQ 15 from 0.10.INTA for link 0x62 $PIR: Using invalid BIOS IRQ 14 from 0.6.INTA for link 0x63 pci0: on pcib0 agp0: mem 0xe4000000-0xe7ffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) isab0: at device 4.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xb800-0xb80f at device 4.1 on pci0 ata0: on atapci0 ata1: on atapci0 pci0: at device 4.2 (no driver attached) pci0: at device 4.3 (no driver attached) ahc0: port 0xb000-0xb0ff mem 0xe1000000-0xe1000fff irq 14 at device 6.0 on pci0 ahc0: [GIANT-LOCKED] aic7890/91: Ultra2 Wide Channel A, SCSI Id=7, 32/253 SCBs fxp0: port 0xa800-0xa83f mem 0xe0800000-0xe0800fff,0xe0000000-0xe00fffff irq 15 at device 10.0 on pci0 miibus0: on fxp0 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp0: Ethernet address: 00:d0:b7:16:53:60 puc0: port 0xa400-0xa41f,0xa000-0xa01f mem 0xdf800000-0xdf800fff,0xdf000000-0xdf000fff irq 10 at device 11.0 on pci0 sio12: on puc0 sio12: type 16550A sio12: unable to activate interrupt in fast mode - using normal mode sio13: on puc0 sio13: type 16550A sio13: unable to activate interrupt in fast mode - using normal mode sio14: on puc0 sio14: type 16550A sio14: unable to activate interrupt in fast mode - using normal mode sio15: on puc0 sio15: type 16550A sio15: unable to activate interrupt in fast mode - using normal mode puc1: port 0x9800-0x981f,0x9400-0x941f mem 0xde800000-0xde800fff,0xde000000-0xde000fff irq 10 at device 11.1 on pci0 sio16: on puc1 sio16: type 16550A sio16: unable to activate interrupt in fast mode - using normal mode sio17: on puc1 sio17: type 16550A sio17: unable to activate interrupt in fast mode - using normal mode sio18: on puc1 sio18: type 16550A sio18: unable to activate interrupt in fast mode - using normal mode sio19: on puc1 sio19: type 16550A sio19: unable to activate interrupt in fast mode - using normal mode pmtimer0 on isa0 orm0: at iomem 0xc0000-0xc7fff,0xc8000-0xcd7ff,0xd0000-0xd0fff on isa0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] fdc0: at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: [FAST] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 ppc0: at port 0x378-0x37f irq 7 on isa0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/9 bytes threshold ppbus0: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 sc0: at flags 0x100 on isa0 sc0: VGA <32 virtual consoles, flags=0x300> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A sio10 at port 0x130-0x137 flags 0xb05 on isa0 sio10: type 16550A (multiport) sio11 at port 0x138-0x13f irq 12 flags 0xb05 on isa0 sio11: type 16550A (multiport master) sio4 at port 0x100-0x107 flags 0xb05 on isa0 sio4: type 16550A (multiport) sio5 at port 0x108-0x10f flags 0xb05 on isa0 sio5: type 16550A (multiport) sio6 at port 0x110-0x117 flags 0xb05 on isa0 sio6: type 16550A (multiport) sio7 at port 0x118-0x11f flags 0xb05 on isa0 sio7: type 16550A (multiport) sio8 at port 0x120-0x127 flags 0xb05 on isa0 sio8: type 16550A (multiport) sio9 at port 0x128-0x12f flags 0xb05 on isa0 sio9: type 16550A (multiport) vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 unknown: can't assign resources (port) unknown: can't assign resources (port) unknown: can't assign resources (port) unknown: can't assign resources (port) unknown: can't assign resources (memory) unknown: can't assign resources (port) unknown: can't assign resources (port) Timecounter "TSC" frequency 501138753 Hz quality 800 Timecounters tick every 10.000 msec IP Filter: v4.1.8 initialized. Default = pass all, Logging = enabled da0 at ahc0 bus 0 target 6 lun 0 da0: Fixed Direct Access SCSI-3 device da0: 40.000MB/s transfers (20.000MHz, offset 31, 16bit), Tagged Queueing Enabled da0: 8748MB (17916240 512 byte sectors: 255H 63S/T 1115C) cd0 at ahc0 bus 0 target 4 lun 0 cd0: Removable CD-ROM SCSI-2 device cd0: 20.000MB/s transfers (20.000MHz, offset 15) cd0: Attempt to query device size failed: NOT READY, Medium not present - tray closed Trying to mount root from ufs:/dev/da0s1a