From owner-freebsd-multimedia@freebsd.org Mon Mar 6 11:31:26 2017 Return-Path: Delivered-To: freebsd-multimedia@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C287ECFBC86 for ; Mon, 6 Mar 2017 11:31:26 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [88.99.82.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5830A1DCC for ; Mon, 6 Mar 2017 11:31:25 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2016.home.selasky.org (unknown [62.141.129.119]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 448D21FE087; Mon, 6 Mar 2017 12:30:54 +0100 (CET) Subject: Re: What is wrong with FreeBSD and USB Support To: Markus Rechberger References: <1aff0983-deb6-2884-472c-bb1e1037275c@selasky.org> Cc: freebsd-multimedia@freebsd.org From: Hans Petter Selasky Message-ID: <9fe561d0-3d8b-8725-98d4-37c2eb094ae9@selasky.org> Date: Mon, 6 Mar 2017 12:30:36 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Mar 2017 11:31:26 -0000 Hi, On 03/06/17 11:53, Markus Rechberger wrote: > 1. slow usb control messages - did you already noticed that? From what I can see no USB control transfer completed no later than 1.555 milliseconds. I loaded the numbers in the trace into a spreadsheet and got the attached distribution. This is not slow. What times do you expect? The fastest XHCI can do is ~ 0.125 ms and from the analysis is appears that the USB device is NAKing a little bit, causing the extra delay. --HPS