Re: Improve ure(4) performance

2020-08-03 Thread Mikolaj Kucharski
On Mon, Aug 03, 2020 at 09:07:39AM -0700, Jonathon Fletcher wrote: > > Assuming no issues with this, I would like to get it into the tree. This > patch predates Marcus' usbd_abort_pipe patch by a few weeks. Let me know > if you want an updated patch against HEAD after his patch. > > After reports

Re: Improve ure(4) performance

2020-08-03 Thread Jonathon Fletcher
On Thu, Jul 30, 2020 at 06:56:48PM +, Mikolaj Kucharski wrote: > On Thu, Jul 30, 2020 at 07:58:23AM -0700, Jonathon Fletcher wrote: > > > > Mikolaj, > > > > I hope the patch has been stable for you. I do have an update - it appears > > that a splx(s) got lost along the way (from the end of ur

Re: Improve ure(4) performance

2020-07-30 Thread Mikolaj Kucharski
On Thu, Jul 30, 2020 at 07:58:23AM -0700, Jonathon Fletcher wrote: > > Mikolaj, > > I hope the patch has been stable for you. I do have an update - it appears > that a splx(s) got lost along the way (from the end of ure_txeof). This > patch adds that back in and has some minor cleanup (variable n

Re: Improve ure(4) performance

2020-07-30 Thread Jonathon Fletcher
On Mon, Jul 27, 2020 at 07:13:33PM +, Mikolaj Kucharski wrote: > On Mon, Jul 27, 2020 at 11:58:02AM -0700, Jonathon Fletcher wrote: > > > > Are you ok using patch's -l option for this patch? > > > > Sure, can do. New kernel compiled, will switch my machine tonight. Will > let you know how th

Re: Improve ure(4) performance

2020-07-27 Thread Jonathon Fletcher
On Mon, Jul 27, 2020 at 07:13:33PM +, Mikolaj Kucharski wrote: > On Mon, Jul 27, 2020 at 11:58:02AM -0700, Jonathon Fletcher wrote: > > > > Are you ok using patch's -l option for this patch? > > Sure, can do. New kernel compiled, will switch my machine tonight. Will > let you know how things

Re: Improve ure(4) performance

2020-07-27 Thread Mikolaj Kucharski
On Mon, Jul 27, 2020 at 11:58:02AM -0700, Jonathon Fletcher wrote: > > Are you ok using patch's -l option for this patch? > Sure, can do. New kernel compiled, will switch my machine tonight. Will let you know how things go. For meetings I would need couple of days, as I don't have Google Meet ca

Re: Improve ure(4) performance

2020-07-27 Thread Jonathon Fletcher
> On Jul 27, 2020, at 11:47 AM, Mikolaj Kucharski > wrote: > > On Mon, Jul 27, 2020 at 11:24:55AM -0700, Jonathon Fletcher wrote: >> >> I have attached an updated patch - which includes Kevin's changes from >> his earlier email - that also corrects the tx buffer sizes for RTL8153 >> / RTL8153

Re: Improve ure(4) performance

2020-07-27 Thread Mikolaj Kucharski
On Mon, Jul 27, 2020 at 11:24:55AM -0700, Jonathon Fletcher wrote: > > I have attached an updated patch - which includes Kevin's changes from > his earlier email - that also corrects the tx buffer sizes for RTL8153 > / RTL8153B devices. > Unfortunately below diff fails to apply. 2 out of 2 hunk

Re: Improve ure(4) performance

2020-07-27 Thread Jonathon Fletcher
On Sun, Jul 26, 2020 at 10:12 PM Mikolaj Kucharski wrote: > > On Sun, Jul 26, 2020 at 06:47:32PM -0700, Jonathon Fletcher wrote: > > Mikolaj, > > > > Thank you for testing my patch. > > > > I am very interested to know what xhci (or ehci) hardware you have. > > > > I have the following: > > > > xh

Re: Improve ure(4) performance

2020-07-26 Thread Mikolaj Kucharski
On Sun, Jul 26, 2020 at 06:47:32PM -0700, Jonathon Fletcher wrote: > Mikolaj, > > Thank you for testing my patch. > > I am very interested to know what xhci (or ehci) hardware you have. > > I have the following: > > xhci0 at pci0 dev 20 function 0 "Intel 9 Series xHCI" rev 0x03: msi, xHCI 1.0 >

Re: Improve ure(4) performance

2020-07-26 Thread Jonathon Fletcher
> On Jul 26, 2020, at 1:24 PM, Mikolaj Kucharski wrote: > > Hi Kevin, Jonathon, > > On Tue, Jul 21, 2020 at 02:38:55PM +0800, Kevin Lo wrote: >> Hi, >> >> Jonathon Fletcher has been helping get the better performance out of ure(4). >> I ran the tcpbench with ure (RTL8156) for 5 minutes: >>

Re: Improve ure(4) performance

2020-07-26 Thread Mikolaj Kucharski
Hi Kevin, Jonathon, On Tue, Jul 21, 2020 at 02:38:55PM +0800, Kevin Lo wrote: > Hi, > > Jonathon Fletcher has been helping get the better performance out of ure(4). > I ran the tcpbench with ure (RTL8156) for 5 minutes: > > 71538432760 bytes sent over 300.999 seconds > bandwidth min/avg/max/std-

Improve ure(4) performance

2020-07-20 Thread Kevin Lo
Hi, Jonathon Fletcher has been helping get the better performance out of ure(4). I ran the tcpbench with ure (RTL8156) for 5 minutes: 71538432760 bytes sent over 300.999 seconds bandwidth min/avg/max/std-dev = 12.071/1901.448/1947.873/135.283 Mbps A big thanks to Jonathon for his hard work. ok?