From owner-freebsd-current@FreeBSD.ORG Mon Nov 5 16:50:52 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 70D5A16A419 for ; Mon, 5 Nov 2007 16:50:52 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.190]) by mx1.freebsd.org (Postfix) with ESMTP id E588313C48E for ; Mon, 5 Nov 2007 16:50:51 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: by mu-out-0910.google.com with SMTP id i10so1893217mue for ; Mon, 05 Nov 2007 08:50:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:cc:message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer:sender; bh=WwmxVdfCm7kUxMD425HQKRzeILQtt87BuNFQo0dnS7I=; b=fn0VnexydUWyoN1zScq+CzB6Ii1bPcpx359ENwO77mFWKaXUxo3hDXeZRyk1uQJgFNXSWqI9rX9sQf/Q1eNXuDUJVp4rSvIxR3HrKa+nM2aM9jKcu7/0fcEXUmtbUMiJ95FBr1Ip/a+yqn8irWgGzWwTB/PTVJ67BUyLrF9IbPo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:cc:message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer:sender; b=W9vlaPMZle6dUYhJRk6j+yhlZIOaeSvzBUlgKEP5Et5Ac+iKSNTnVWQgmPsBs01E16N4zE1JL50W4EoqZl1eOsSUvR7wHOhHRgCOjjfgPdPmj7RNFoGs+Vj7EKKn+VTOcJVE999i+lef8h37pJDsP0cDKCpIK1w/jMoj1G3HuHM= Received: by 10.82.156.12 with SMTP id d12mr10234887bue.1194281442014; Mon, 05 Nov 2007 08:50:42 -0800 (PST) Received: from ?172.17.14.124? ( [193.136.24.237]) by mx.google.com with ESMTPS id y6sm15126771mug.2007.11.05.08.50.39 (version=SSLv3 cipher=OTHER); Mon, 05 Nov 2007 08:50:41 -0800 (PST) Message-Id: <063F19FF-258B-441C-8230-F13C282DA766@fnop.net> From: Rui Paulo To: Ian FREISLICH In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v912) Date: Mon, 5 Nov 2007 16:50:37 +0000 References: X-Mailer: Apple Mail (2.912) Sender: Rui Paulo X-Mailman-Approved-At: Mon, 05 Nov 2007 17:12:47 +0000 Cc: current@freebsd.org Subject: Re: 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 16:50:52 -0000 On 5 Nov 2007, at 12:59, Ian FREISLICH wrote: > 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 A couple of questions: 1) Are you using kbdmux? 2) Does the CPU usage go up when you plug the keyboard OR when you plug the mouse ? Or when both are connected? 3) Do you see any change just by plugging the USB hub? Regards. -- Rui Paulo