From owner-freebsd-bluetooth@FreeBSD.ORG Sun Feb 18 04:05:19 2007 Return-Path: X-Original-To: freebsd-bluetooth@freebsd.org Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 639DD16A402 for ; Sun, 18 Feb 2007 04:05:19 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.227]) by mx1.freebsd.org (Postfix) with ESMTP id 269DD13C48D for ; Sun, 18 Feb 2007 04:05:19 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: by nz-out-0506.google.com with SMTP id i11so1516741nzh for ; Sat, 17 Feb 2007 20:05:18 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=G0U70BH1e+YwQoctrIXyCXPWQbCdyyjf0zvj6fAmFD1rAOKn1556WjP9PziVJ8+9Ztszt1GJXpeAxK/tGhkgXQFxN5hC86bCOYCamWs/PNEprsqFGG4rV/03KJdpYX/cHMlg+y0ST6T6IfqzxGRkvpYBG5xHV1AbGqlai1fevtk= Received: by 10.65.180.7 with SMTP id h7mr7301049qbp.1171771518249; Sat, 17 Feb 2007 20:05:18 -0800 (PST) Received: by 10.65.137.19 with HTTP; Sat, 17 Feb 2007 20:05:18 -0800 (PST) Message-ID: Date: Sat, 17 Feb 2007 20:05:18 -0800 From: "Maksim Yevmenkin" To: "Eric Anderson" In-Reply-To: <45D68F37.7040105@centtech.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <45D5F027.7060401@centtech.com> <45D68F37.7040105@centtech.com> Cc: "freebsd-bluetooth@freebsd.org" Subject: Re: Prioritizing bluetooth devices? X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Feb 2007 04:05:19 -0000 On 2/16/07, Eric Anderson wrote: [...] > >> I have just set up my Treo 700p using bluetooth and kpilot to sync > >> (thanks Bruce/Maksim!!!!). I notice that when I'm doing a backup of my > >> palm and it's downloading a ton of stuff, my bluetooth connection is > >> jammed full, so my bluetooth mouse is slow/lags. I don't have a > >> bluetooth keyboard, but if I did (and if it worked), then I'm certain it > >> would be present there too. > >> > >> So, my question is: is it possible to prioritize the bluetooth profiles > >> so that HID gets priority over things like serial, LAN, etc? > > > > in theory, this should not be happening, because each bluetooth slave > > has reserved slots in which it can transmit data. also bluetooth hid > > devices usually set "quality of service" parameters on bluetooth link. > > > > so, the problem could be either in the freebsd bluetooth code itself > > (i.e. it uses very simple packet scheduler that might not behave very > > well under load) or in packet scheduler in the device's "link > > manager", i.e. firmware. > > The system was idle (CPU-wise) but I had the bluetooth link slammed > transferring the entire contents of my palm (about 50MB). I've never > had a problem otherwise, even when keeping both CPU's (this is a Core 2 > Duo system) hammered. As soon as the transfer stopped, mouse was again > responsive. did you notice if the system's interrupt load was high? > > other than setting "quality of service" parameters on bluetooth link > > and/or forcing device to use only packets of certain size (i.e. 1,2 or > > 3-slots, which, btw, likely to reduce throughput) i doubt there is > > anything else (standard) that can be used to prioritize bluetooth > > profiles. > > > > if you can, please try to switch to bluetooth 2.0 dongle (if you have > > not already) > > As far as I know, this is a 2.0 dongle already (came with my laptop - > Dell D820, so it's built in). it is csr chip based daughter card that looks like usb device, is it not? thanks, max