From owner-freebsd-current Tue Aug 27 12:12:17 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6BFFE37B400 for ; Tue, 27 Aug 2002 12:12:12 -0700 (PDT) Received: from scl8owa01.int.exodus.net (scl8out01.exodus.net [66.35.230.241]) by mx1.FreeBSD.org (Postfix) with ESMTP id C5EBD43E6A for ; Tue, 27 Aug 2002 12:11:56 -0700 (PDT) (envelope-from Maksim.Yevmenkin@exodus.net) Received: from scl8owa01.int.exodus.net ([66.35.230.241]) by scl8owa01.int.exodus.net with Microsoft SMTPSVC(5.0.2195.4905); Tue, 27 Aug 2002 12:13:42 -0700 Received: from exodus.net ([206.220.227.147]) by scl8owa01.int.exodus.net over TLS secured channel with Microsoft SMTPSVC(5.0.2195.4905); Tue, 27 Aug 2002 12:13:42 -0700 Message-ID: <3D6BCEFB.4B40833A@exodus.net> Date: Tue, 27 Aug 2002 12:11:55 -0700 From: Maksim Yevmenkin X-Mailer: Mozilla 4.78 [en] (X11; U; SunOS 5.7 sun4u) X-Accept-Language: en MIME-Version: 1.0 To: Julian Elischer Cc: current@freebsd.org Subject: Re: USB slowdown on recent -current References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 27 Aug 2002 19:13:42.0186 (UTC) FILETIME=[DB5858A0:01C24DFD] Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Julian Elischer wrote: > > make sure you have all the debugging turned off. > there is a LOT of debugging.. > at the moment. well, this was my first attempt. it did not work. even if i disable INVARIANTS, WITNESS and USB_DEBUG completely it is still slow as hell :( PC-CARD driver works just fine and get 50-60 KBytes/sec even with all debug stuff enabled. so there should be another explanation. > On Tue, 27 Aug 2002, Maksim Yevmenkin wrote: > > > Hackers, > > > > I'm currently testing my Bluetooth code for FreeBSD on recent > > -current. After i upgraded to recent current from current-DP1 > > i'm experiencing a major slowdown in USB device speed. > > > > On current-DP1 the USB device was able to handle about 50-60 > > KBytes/sec. On recent -current _the_same_ device driver can > > only do 11-12 KBytes/sec :( > > > > Another driver (PC-CARD) connected to my Bluetooth stack > > can do 50-60 KBytes/sec (sending/receiving) - so it is > > not a Bluetooth stack itself. Also the same USB device > > connected to Linux box can do 50-60 KBytes/sec - so it is not > > a USB device itself. > > > > The problem only exists when i connect USB device to -current > > FreeBSD box. I suspect that problem could be in: > > > > a) USB device driver > > b) USB stack itself > > c) someplace else? > > > > Does anyone have a similar problems? I'm slowly going though > > the diff's between DP1 USB code and -current USB code, but > > may be someone can give me a clue. thanks, max To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message