From owner-freebsd-current@FreeBSD.ORG Mon Nov 5 13:00:19 2007 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 518AE16A418 for ; Mon, 5 Nov 2007 13:00:19 +0000 (UTC) (envelope-from ianf@clue.co.za) Received: from munchkin.clue.co.za (munchkin.clue.co.za [66.219.59.160]) by mx1.freebsd.org (Postfix) with ESMTP id 1BE1313C481 for ; Mon, 5 Nov 2007 13:00:18 +0000 (UTC) (envelope-from ianf@clue.co.za) DomainKey-Signature: a=rsa-sha1; q=dns; c=simple; s=20070313; d=clue.co.za; h=Received:Received:Received:To:Subject:From:X-Attribution:Date:Message-Id; b=YlI+Utc+PB6fOmiE0O+rNdWT2Cu5WQ8WcU5WEeO1OF+vxtqp+q7veaKoLac31QP1VDJUB5mU9BlAvX/PHnSZi4FdS9OhLCfWKxGvwnUAsziEe03bHwH2VppToo5JtWfW9sd2kKf9sB7sxhXnwf/NTuzzvf3wLcYPg4wZQLZoVtKf9W/9ua/e7hznJtaY7UqarJTlArpT7PPr2VosmaahbiyHEqVVEVfz4xXfd/OA3yxtV+WcLqk3etuBwDiy6UMv; Received: from uucp by munchkin.clue.co.za with local-rmail (Exim 4.67) (envelope-from ) id 1Ip1Yp-0007Jt-3c for current@freebsd.org; Mon, 05 Nov 2007 13:00:11 +0000 Received: from ianf.clue.co.za ([10.0.0.6] helo=clue.co.za) by urchin.clue.co.za with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.66) (envelope-from ) id 1Ip1Xn-0003Sa-KQ for current@freebsd.org; Mon, 05 Nov 2007 12:59:07 +0000 Received: from localhost ([127.0.0.1] helo=clue.co.za) by clue.co.za with esmtp (Exim 4.68 (FreeBSD)) (envelope-from ) id 1Ip1Xm-000186-Rk for current@freebsd.org; Mon, 05 Nov 2007 14:59:06 +0200 To: current@freebsd.org From: Ian FREISLICH X-Attribution: BOFH Date: Mon, 05 Nov 2007 14:59:06 +0200 Message-Id: Cc: Subject: USB hub provoked slowdown. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Nov 2007 13:00:19 -0000 Hi On my old home system running 7.0-BETA1 - Dual P3-800, when I plug my in-monitor (HP L1955) USB hub into my shiny new USB2 PCI card, my entire system starts wading through molasas. By this I mean, for example: mplayer: ~30% cpu xorg: ~12% cpu Then insert molasas inducing HP monitor uhub mplayer: ~99% cpu xorg: ~75% cpu Removing the hub lets the previous consumption occur. What I don't understand is why these seemingly unrelated to usb processes cpu utilisation goes up when I plug the uhub in. Interrupt and system CPU usage remains unchanged. Plugging the keyboard and mouse directly into the usb card works fine. I am at a loss. The USB card is identified as: uhci0@pci0:0:12:0: class=0x0c0300 card=0x30381106 chip=0x30381106 rev=0x61 hdr=0x00 vendor = 'VIA Technologies Inc' device = 'VT82xxxxx UHCI USB 1.1 Controller (All VIA Chipsets)' class = serial bus subclass = USB uhci1@pci0:0:12:1: class=0x0c0300 card=0x30381106 chip=0x30381106 rev=0x61 hdr=0x00 vendor = 'VIA Technologies Inc' device = 'VT82xxxxx UHCI USB 1.1 Controller (All VIA Chipsets)' class = serial bus subclass = USB ehci0@pci0:0:12:2: class=0x0c0320 card=0x31041106 chip=0x31041106 rev=0x63 hdr=0x00 vendor = 'VIA Technologies Inc' device = 'VT6202/12 USB 2.0 Enhanced Host Controller' class = serial bus subclass = USB The monitor's hub is identified as follows according to usbdevs: port 2 addr 2: full speed, self powered, config 1, product 0x2504(0x2504), vendor 0x0424(0x0424), rev 0.01 Ian -- Ian Freislich