From owner-freebsd-firewire@FreeBSD.ORG Sun Feb 8 12:35:39 2004 Return-Path: Delivered-To: freebsd-firewire@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 72CE216A4CE for ; Sun, 8 Feb 2004 12:35:39 -0800 (PST) Received: from anor.ics.muni.cz (anor.ics.muni.cz [147.251.4.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id DF7B443D1F for ; Sun, 8 Feb 2004 12:35:38 -0800 (PST) (envelope-from hopet@ics.muni.cz) Received: from kloboucek (kloboucek.ics.muni.cz [147.251.3.38]) (user=hopet mech=LOGIN bits=0) by anor.ics.muni.cz (8.12.1/8.12.1) with ESMTP id i18KZaZw005580 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) for ; Sun, 8 Feb 2004 21:35:37 +0100 From: "Petr Holub" To: Date: Sun, 8 Feb 2004 21:35:43 +0100 Message-ID: <03ce01c3ee83$1fbea4a0$2603fb93@kloboucek> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2377.0 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal X-Muni-Spam-TestIP: 147.251.3.38 X-Muni-Virus-Test: Clean Subject: too many interupts/sec X-BeenThere: freebsd-firewire@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Firewire support in FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Feb 2004 20:35:39 -0000 Hi, I've found strange problem after upgrading from 5.1-RELEASE to 5.2-RELEASE on my DELL Precision 530. When X server goes up, fwohci device starts to eat enormous number of interupts per second (as shown by 'systat -vmstat 1') rendering system terribly slow. BTW: 5.1-RELEASE had also problems on this maschine as a camera connected via firewire was able to crash the machine when the camera was turned on. This seems it is OK now and I'm able to attach the camera on the fly and grab video using fwcontrol without any problem. Except for the tremendous number of interrupts per second slowing down whole machine when X is running. Any ideas? Best, Petr ================================================================ Petr Holub CESNET z.s.p.o. Supercomputing Center Brno Zikova 4 Institute of Compt. Science 162 00 Praha 6, CZ Masaryk University Czech Republic Botanicka 68a, 60200 Brno, CZ e-mail: Petr.Holub@cesnet.cz phone: +420-549493944 fax: +420-541212747 e-mail: hopet@ics.muni.cz From owner-freebsd-firewire@FreeBSD.ORG Mon Feb 9 07:19:22 2004 Return-Path: Delivered-To: freebsd-firewire@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AE65F16A4CE for ; Mon, 9 Feb 2004 07:19:22 -0800 (PST) Received: from tora.nunu.org (YahooBB219003182070.bbtec.net [219.3.182.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8BB6943D1D for ; Mon, 9 Feb 2004 07:19:22 -0800 (PST) (envelope-from simokawa@sat.t.u-tokyo.ac.jp) Received: from tora.nunu.org (unknown [192.168.1.2]) by tora.nunu.org (Postfix) with ESMTP id B0D764B231; Tue, 10 Feb 2004 00:19:21 +0900 (JST) Date: Tue, 10 Feb 2004 00:19:21 +0900 Message-ID: <87ekt4gu12.wl@tora.nunu.org> From: Hidetoshi Shimokawa To: "Petr Holub" In-Reply-To: <03ce01c3ee83$1fbea4a0$2603fb93@kloboucek> References: <03ce01c3ee83$1fbea4a0$2603fb93@kloboucek> User-Agent: Wanderlust/2.10.1 (Watching The Wheels) SEMI/1.14.5 (Awara-Onsen) FLIM/1.14.5 (Demachiyanagi) APEL/10.6 MULE XEmacs/21.4 (patch 14) (Reasonable Discussion) (i386--freebsd) MIME-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII cc: firewire@freebsd.org Subject: Re: too many interupts/sec X-BeenThere: freebsd-firewire@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Firewire support in FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Feb 2004 15:19:22 -0000 At Sun, 8 Feb 2004 21:35:43 +0100, Petr Holub wrote: > > Hi, > > I've found strange problem after upgrading from 5.1-RELEASE to 5.2-RELEASE > on my DELL Precision 530. When X server goes up, fwohci device > starts to eat enormous number of interupts per second (as > shown by 'systat -vmstat 1') rendering system terribly slow. > > BTW: 5.1-RELEASE had also problems on this maschine as a camera > connected via firewire was able to crash the machine when the > camera was turned on. This seems it is OK now and I'm able to > attach the camera on the fly and grab video using fwcontrol > without any problem. Except for the tremendous number of interrupts > per second slowing down whole machine when X is running. > > Any ideas? Doesn't your fwohci share the irq with other devices? Could you show me the output of 'devinfo -u'? /\ Hidetoshi Shimokawa \/ simokawa@sat.t.u-tokyo.ac.jp PGP public key: http://www.sat.t.u-tokyo.ac.jp/~simokawa/pgp.html From owner-freebsd-firewire@FreeBSD.ORG Mon Feb 9 07:27:05 2004 Return-Path: Delivered-To: freebsd-firewire@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 36FE816A4CF for ; Mon, 9 Feb 2004 07:27:05 -0800 (PST) Received: from anor.ics.muni.cz (anor.ics.muni.cz [147.251.4.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 754FC43D1D for ; Mon, 9 Feb 2004 07:27:04 -0800 (PST) (envelope-from hopet@ics.muni.cz) Received: from kloboucek (kloboucek.fi.muni.cz [147.251.54.33]) (user=hopet mech=LOGIN bits=0) by anor.ics.muni.cz (8.12.1/8.12.1) with ESMTP id i19FR1Ra009434 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Mon, 9 Feb 2004 16:27:02 +0100 From: "Petr Holub" To: "Hidetoshi Shimokawa" Date: Mon, 9 Feb 2004 16:27:08 +0100 Message-ID: <000301c3ef21$2e34d740$2136fb93@kloboucek> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2377.0 In-Reply-To: <87ekt4gu12.wl@tora.nunu.org> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal X-Muni-Spam-TestIP: 147.251.54.33 X-Muni-Virus-Test: Clean cc: firewire@freebsd.org Subject: RE: too many interupts/sec X-BeenThere: freebsd-firewire@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Firewire support in FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Feb 2004 15:27:05 -0000 > Doesn't your fwohci share the irq with other devices? I believe no. Here's fragment form systat -vmstat: Interrupts 74331 total 1: atkb 6: fdc0 128 8: rtc 12: psm 13: npx 14: ata 15: ata 72290 16: fwo 140 17: pcm 99 18: bkt 676 20: em0 998 0: clk > Could you show me the output of 'devinfo -u'? Interrupt request lines: 0x0 (root0) 0x1 (atkbd0) 0x2 (root0) 0x3 (sio1) 0x4 (sio0) 0x5 (root0) 0x6 (fdc0) 0x7 (ppc0) 0x8 (root0) 0x9 (acpi0) 0xa (root0) 0xb (drm0) 0xc (psm0) 0xd (root0) 0xe (ata0) 0xf (ata1) 0x10 (fwohci0) 0x11 (pcm0) 0x12 (bktr0) 0x13 (bktr1) 0x14 (em0) 0x15-0x16 (root0) 0x17 (xl0) DMA request lines: 0-1 (root0) 2 (fdc0) 3-7 (root0) I/O ports: 0x0-0x5f (root0) 0x60 (atkbdc0) 0x61-0x63 (root0) 0x64 (atkbdc0) 0x65-0x16f (root0) 0x170-0x177 (ata1) 0x178-0x1ef (root0) 0x1f0-0x1f7 (ata0) 0x1f8-0x2f7 (root0) 0x2f8-0x2ff (sio1) 0x300-0x375 (root0) 0x376 (ata1) 0x377 (root0) 0x378-0x37f (ppc0) 0x380-0x3bf (root0) 0x3c0-0x3df (vga0) 0x3e0-0x3ef (root0) 0x3f0-0x3f5 (fdc0) 0x3f6 (ata0) 0x3f7 (fdc0) 0x3f8-0x3ff (sio0) 0x400-0x807 (root0) 0x808-0x80b (acpi_timer0) 0x80c-0xdc5f (root0) 0xdc60-0xdc7f (pcm0) 0xdc80-0xecdf (root0) 0xece0-0xecff (em0) 0xed00-0xff5f (root0) 0xff60-0xff7f (uhci1) 0xff80-0xff9f (uhci0) 0xffa0-0xffaf (atapci0) 0xffb0-0xffff (root0) I/O memory addresses: 0x0-0x9ffff (root0) 0xa0000-0xbffff (vga0) 0xc0000-0xc8fff (orm0) 0xc9000-0xca7ff (orm0) 0xca800-0xcbfff (orm0) 0xcc000-0xefffffff (root0) 0xf0000000-0xf7ffffff (agp0) 0xf8000000-0xfa000fff (root0) 0xfa001000-0xfa001fff (bktr1) 0xfa002000-0xfa002fff (root0) 0xfa003000-0xfa003fff (bktr0) 0xfa004000-0xfe1fefff (root0) 0xfe1ff000-0xfe1ff7ff (fwohci0) 0xfe1ff800-0xfe1ffbff (root0) 0xfe1ffc00-0xfe1ffc7f (xl0) 0xfe1ffc80-0xfe4bffff (root0) 0xfe4c0000-0xfe4dffff (em0) 0xfe4e0000-0xffffffff (root0) open if_tun units: 0-32767 (root0) And btw dmesg output is below my signature. Thanks for helping us! Best regards, Petr ================================================================ Petr Holub CESNET z.s.p.o. Supercomputing Center Brno Zikova 4 Institute of Compt. Science 162 00 Praha 6, CZ Masaryk University Czech Republic Botanicka 68a, 60200 Brno, CZ e-mail: Petr.Holub@cesnet.cz phone: +420-549493944 fax: +420-541212747 e-mail: hopet@ics.muni.cz 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.2-RELEASE #5: Mon Feb 9 11:27:18 CET 2004 toor@trurl.fi.muni.cz:/usr/src/sys/i386/compile/TRURL Preloaded elf kernel "/boot/kernel/kernel" at 0xc0aae000. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0aae21c. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2372.93-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf27 Stepping = 7 Features=0xbfebfbff Hyperthreading: 2 logical CPUs real memory = 1073180672 (1023 MB) avail memory = 1033031680 (985 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 cpu2 (AP): APIC ID: 2 cpu3 (AP): APIC ID: 3 ioapic0: Changing APIC ID to 4 ioapic0 irqs 0-23 on motherboard Pentium Pro MTRR support enabled npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard pcibios: BIOS version 2.10 Using $PIR table, 12 entries at 0xc00fb9a0 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 acpi_cpu0: port 0x530-0x537 on acpi0 acpi_cpu1: port 0x530-0x537 on acpi0 acpi_cpu2: port 0x530-0x537 on acpi0 acpi_cpu3: port 0x530-0x537 on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: mem 0xf0000000-0xf7ffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci_cfgintr: 1:0 INTA BIOS irq 11 pci1: at device 0.0 (no driver attached) pcib2: at device 2.0 on pci0 pci2: on pcib2 pcib3: at device 31.0 on pci2 pci3: on pcib3 pci3: at device 0.0 (no driver attached) em0: port 0xece0-0xecff mem 0xfe4a0000-0xfe4bffff,0xfe4c0000-0xfe4dffff irq 20 at device 12.0 on pci3 em0: Speed:N/A Duplex:N/A pcib4: at device 30.0 on pci0 pci4: on pcib4 xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0xdc80-0xdcff mem 0xfe1ffc00-0xfe1ffc7f irq 23 at device 11.0 on pci4 xl0: Ethernet address: 00:08:74:39:45:65 miibus0: on xl0 ukphy0: on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pci4: at device 12.0 (no driver attached) pcm0: port 0xdc60-0xdc7f irq 17 at device 13.0 on pci4 pcm0: bktr0: mem 0xfa003000-0xfa003fff irq 18 at device 14.0 on pci4 bktr0: Warning - card vendor 0xfefe (model 0x0012) unknown. bktr0: Pinnacle/Miro TV, Temic NTSC tuner. pci4: at device 14.1 (no driver attached) bktr1: mem 0xfa001000-0xfa001fff irq 19 at device 15.0 on pci4 bktr1: Warning - card vendor 0x11bd (model 0x0012) unknown. bktr1: Pinnacle/Miro TV, Temic NTSC tuner. pci4: at device 15.1 (no driver attached) isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0xffa0-0xffaf at device 31.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata0: [MPSAFE] ata1: at 0x170 irq 15 on atapci0 ata1: [MPSAFE] uhci0: port 0xff80-0xff9f irq 19 at device 31.2 on pci0 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 23 at device 31.4 on pci0 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 fdc0: port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0 sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A sio1 port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A ppc0 port 0x778-0x77f,0x378-0x37f irq 7 on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold ppbus0: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 orm0: