[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAD=FV=VAkY0ijkUBrgjY04+OfYq35u=MbqbbomeQxp_J179iHw@mail.gmail.com>
Date: Wed, 27 Jan 2016 19:28:58 -0800
From: Doug Anderson <dianders@...omium.org>
To: Kever Yang <kever.yang@...k-chips.com>
Cc: John Youn <John.Youn@...opsys.com>, Felipe Balbi <balbi@...com>,
Tao Huang <huangtao@...k-chips.com>,
"Herrero, Gregory" <gregory.herrero@...el.com>,
Heiko Stübner <heiko@...ech.de>,
John Youn <johnyoun@...opsys.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Ming Lei <ming.lei@...onical.com>,
"linux-usb@...r.kernel.org" <linux-usb@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"open list:ARM/Rockchip SoC..." <linux-rockchip@...ts.infradead.org>,
"Kaukab, Yousaf" <yousaf.kaukab@...el.com>,
Alan Stern <stern@...land.harvard.edu>,
吴良峰 <william.wu@...k-chips.com>,
Julius Werner <jwerner@...omium.org>,
Dinh Nguyen <dinguyen@...nsource.altera.com>
Subject: Re: [PATCH v5 04/21] usb: dwc2: host: Set host_perio_tx_fifo_size to
304 for rk3066
Kever,
On Wed, Jan 27, 2016 at 7:10 PM, Kever Yang <kever.yang@...k-chips.com> wrote:
> Hi Doug,
>
> We are using the minimum FIFO size mode for TX now, which only
> equal to one max packet size.
>
> The addition FIFO size may help shorten the inter-packet data
> prepare latency when the bus/DRAM is busy.
>
> For the actual usage in TX, we have very little change to use the
> period TX FIFO with more than one max packet size in host mode.
> So far as I know, usb audio use the isochronous tx FIFO, but this
> king of device won't have much data payload and won't, I haven't
> see a usb audio have more data than 1024byte/ms.
>
> So I suggest we assign this 48 words to host_nperio_tx_fifi_size instead
> if we have to do this. Because we are using device base on bulk transaction
> like U-disk very frequently.
Try using a USB webcam. With that plus a USB audio device it's easy
to overwhelm the periodic TX FIFO.
If we overwhelm the periodic TX FIFO we might actually fail to
transmit ISO or INT packets at the scheduled time. That seems more
serious of a problem to try to fix than eeking out a tiny bit
performance on a USB disk. ...but of course, it all depends on what
you consider important. ;)
We could split the difference, I suppose and put half on each?
-Doug
Powered by blists - more mailing lists