From owner-freebsd-arm@freebsd.org Tue Aug 18 13:39:07 2015 Return-Path: Delivered-To: freebsd-arm@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 B85D99BBE63 for ; Tue, 18 Aug 2015 13:39:07 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (heidi.turbocat.net [88.198.202.214]) (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 74B65131B for ; Tue, 18 Aug 2015 13:39:06 +0000 (UTC) (envelope-from hps@selasky.org) Received: from laptop015.home.selasky.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) (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 285BB1FE023; Tue, 18 Aug 2015 15:39:05 +0200 (CEST) Subject: Re: DWC OTG TX path optimisation for 11-current To: Svatopluk Kraus References: <55A7D8CE.4020809@selasky.org> <55B8AB76.7030603@selasky.org> <55B8B297.1010008@selasky.org> <20150729154516.GH78154@funkthat.com> <55B8F5EC.2050908@selasky.org> <46ad096c958.1a82a175@mail.schwarzes.net> <55B9C3E2.5040501@selasky.org> <46ae815c7c3.447237c8@mail.schwarzes.net> <46aece00b53.3c1cdc1f@mail.schwarzes.net> <55BB2A5F.9000502@selasky.org> <46baa16c4ce.6efd29ef@mail.schwarzes.net> <55CF31A1.5080205@selasky.org> <55D31D11.3050509@selasky.org> <55D32912.1070707@selasky.org> <55D331D7.9080702@selasky.org> Cc: "freebsd-arm@freebsd.org" From: Hans Petter Selasky Message-ID: <55D335CE.4080702@selasky.org> Date: Tue, 18 Aug 2015 15:40:30 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Aug 2015 13:39:07 -0000 On 08/18/15 15:34, Svatopluk Kraus wrote: > On Tue, Aug 18, 2015 at 3:23 PM, Hans Petter Selasky wrote: >> On 08/18/15 15:12, Svatopluk Kraus wrote: >>> >>> On Tue, Aug 18, 2015 at 2:46 PM, Hans Petter Selasky >>> wrote: >>>> >>>> On 08/18/15 14:31, Svatopluk Kraus wrote: >>>>> >>>>> >>>>> On Tue, Aug 18, 2015 at 1:54 PM, Hans Petter Selasky >>>>> wrote: >>>>>> >>>>>> >>>>>> Hi, >>>>>> >>>>>> On 08/18/15 13:22, Svatopluk Kraus wrote: >>>>>>> >>>>>>> >>>>>>> >>>>>>> Do I understand it well that you are not able to trigger the problem? >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> Maybe I haven't been trying hard enough. I've been using a kernel built >>>>>> from >>>>>> "projects/hps_head" which I just updated to include the latest DWC OTG >>>>>> patches, instead of "head". There was today a timer subsystem fix, not >>>>>> sure >>>>>> if it makes any difference: >>>>>> >>>>>> https://svnweb.freebsd.org/changeset/base/286880 >>>>>> >>>>>> I will try to buildworld from an external USB disk later today and see >>>>>> what >>>>>> happens. >>>>>> >>>>>>> >>>>>>> and still the system response time is terrible. >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> If you can do: >>>>>> >>>>>> usbconfig -d 0.1 set_config 255 >>>>>> >>>>>> And verify that the IRQ rate goes to zero for DWC OTG, then we maybe >>>>>> could >>>>>> rule out USB. >>>>>> >>>>> >>>>> Note that my root filesystem was on usb disk. >>>>> >>>> >>>> Is the console still not responding properly after this command? >>>> >>> >>> System response time is still bad. >>> >> >> Is "kgdb" working on your setup? Can you dump all kernel threads? > > db> ps > pid ppid pgrp uid state wmesg wchan cmd > Not "ps", but "alltrace" I think. --HPS