Development issues regarding the cerowrt test router project
 help / color / mirror / Atom feed
* Re: [Cerowrt-devel] [Cake] openwrt build with latest cake and other qdiscs
       [not found]                   ` <A258B156-577D-45C9-A17B-5F4E33E62F9E@gmail.com>
@ 2015-05-14 13:09                     ` Alan Jenkins
  2015-05-14 13:14                       ` Jonathan Morton
  0 siblings, 1 reply; 6+ messages in thread
From: Alan Jenkins @ 2015-05-14 13:09 UTC (permalink / raw)
  To: Jonathan Morton; +Cc: cerowrt-devel

On 14/05/15 11:53, Jonathan Morton wrote:
>> On 14 May, 2015, at 13:50, Alan Jenkins <alan.christopher.jenkins@gmail.com> wrote:
>>
>> generic-receive-offload: on
> This implies that adding GRO peeling to cake might be a worthwhile priority.
>
>   - Jonathan Morton

Ah, not on my account, it seems.

# tc -stat qdisc |grep maxpacket
   maxpacket 590 drop_overlimit 0 new_flow_count 1 ecn_mark 0
   maxpacket 256 drop_overlimit 0 new_flow_count 0 ecn_mark 0
...
   maxpacket 1696 drop_overlimit 0 new_flow_count 305 ecn_mark 0
   maxpacket 1749 drop_overlimit 0 new_flow_count 274 ecn_mark 0

Alan

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Cerowrt-devel] [Cake] openwrt build with latest cake and other qdiscs
  2015-05-14 13:09                     ` [Cerowrt-devel] [Cake] openwrt build with latest cake and other qdiscs Alan Jenkins
@ 2015-05-14 13:14                       ` Jonathan Morton
  2015-05-14 13:35                         ` Alan Jenkins
  0 siblings, 1 reply; 6+ messages in thread
From: Jonathan Morton @ 2015-05-14 13:14 UTC (permalink / raw)
  To: Alan Jenkins; +Cc: cerowrt-devel


> On 14 May, 2015, at 16:09, Alan Jenkins <alan.christopher.jenkins@gmail.com> wrote:
> 
> On 14/05/15 11:53, Jonathan Morton wrote:
>>> On 14 May, 2015, at 13:50, Alan Jenkins <alan.christopher.jenkins@gmail.com> wrote:
>>> 
>>> generic-receive-offload: on

>> This implies that adding GRO peeling to cake might be a worthwhile priority.
>> 
>>  - Jonathan Morton
> 
> Ah, not on my account, it seems.
> 
> # tc -stat qdisc |grep maxpacket
>  maxpacket 590 drop_overlimit 0 new_flow_count 1 ecn_mark 0
>  maxpacket 256 drop_overlimit 0 new_flow_count 0 ecn_mark 0
> ...
>  maxpacket 1696 drop_overlimit 0 new_flow_count 305 ecn_mark 0
>  maxpacket 1749 drop_overlimit 0 new_flow_count 274 ecn_mark 0

A maxpacket of 1749 *does* imply that GRO or GSO is in use.  Otherwise I’d expect to see 1514 or less.

 - Jonathan Morton


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Cerowrt-devel] [Cake] openwrt build with latest cake and other qdiscs
  2015-05-14 13:14                       ` Jonathan Morton
@ 2015-05-14 13:35                         ` Alan Jenkins
  2015-05-14 13:48                           ` Dave Taht
  2015-05-14 13:49                           ` Jonathan Morton
  0 siblings, 2 replies; 6+ messages in thread
From: Alan Jenkins @ 2015-05-14 13:35 UTC (permalink / raw)
  To: Jonathan Morton; +Cc: cerowrt-devel

On 14/05/15 14:14, Jonathan Morton wrote:
>
>>> This implies that adding GRO peeling to cake might be a worthwhile priority.
>>>
>>>   - Jonathan Morton
>> Ah, not on my account, it seems.
>>
>> # tc -stat qdisc |grep maxpacket
>>   maxpacket 590 drop_overlimit 0 new_flow_count 1 ecn_mark 0
>>   maxpacket 256 drop_overlimit 0 new_flow_count 0 ecn_mark 0
>> ...
>>   maxpacket 1696 drop_overlimit 0 new_flow_count 305 ecn_mark 0
>>   maxpacket 1749 drop_overlimit 0 new_flow_count 274 ecn_mark 0
> A maxpacket of 1749 *does* imply that GRO or GSO is in use.  Otherwise I’d expect to see 1514 or less.
>
>   - Jonathan Morton

Look at the exact difference between the two maxpackets :p (without 
getting into why it's there).  It must be including all the ATM 
estimation.  For GSO we should be seeing 2x or more... not a multiplier 
of 53/48.

Alan

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Cerowrt-devel] [Cake] openwrt build with latest cake and other qdiscs
  2015-05-14 13:35                         ` Alan Jenkins
@ 2015-05-14 13:48                           ` Dave Taht
  2015-05-14 14:34                             ` Jonathan Morton
  2015-05-14 13:49                           ` Jonathan Morton
  1 sibling, 1 reply; 6+ messages in thread
From: Dave Taht @ 2015-05-14 13:48 UTC (permalink / raw)
  To: Alan Jenkins; +Cc: Jonathan Morton, cerowrt-devel

On Thu, May 14, 2015 at 6:35 AM, Alan Jenkins
<alan.christopher.jenkins@gmail.com> wrote:
> On 14/05/15 14:14, Jonathan Morton wrote:
>>
>>
>>>> This implies that adding GRO peeling to cake might be a worthwhile
>>>> priority.

Strike "might".

I saw 64k sized packets out of the GRO implementation on the mvneta
driver on the linksys 1900ac.
I think this explains a lot about the performance of the qos system on
that box's native firmware, dropping
big chunks and not fq-ing well.

disabling GRO packets on all interfaces is hard to get right, and has
a significant cost if
you have more than one interface (as in the edgerouters).

So yes, peeling.

Also I note that at the higher inbound rates (e.g. 100mbit+) policing
is not horrible.
let me discuss that in a different mail.


>>>>
>>>>   - Jonathan Morton
>>>
>>> Ah, not on my account, it seems.
>>>
>>> # tc -stat qdisc |grep maxpacket
>>>   maxpacket 590 drop_overlimit 0 new_flow_count 1 ecn_mark 0
>>>   maxpacket 256 drop_overlimit 0 new_flow_count 0 ecn_mark 0
>>> ...
>>>   maxpacket 1696 drop_overlimit 0 new_flow_count 305 ecn_mark 0
>>>   maxpacket 1749 drop_overlimit 0 new_flow_count 274 ecn_mark 0
>>
>> A maxpacket of 1749 *does* imply that GRO or GSO is in use.  Otherwise I’d
>> expect to see 1514 or less.
>>
>>   - Jonathan Morton
>
>
> Look at the exact difference between the two maxpackets :p (without getting
> into why it's there).  It must be including all the ATM estimation.  For GSO
> we should be seeing 2x or more... not a multiplier of 53/48.
>
> Alan
>
> _______________________________________________
> Cerowrt-devel mailing list
> Cerowrt-devel@lists.bufferbloat.net
> https://lists.bufferbloat.net/listinfo/cerowrt-devel



-- 
Dave Täht
Open Networking needs **Open Source Hardware**

https://plus.google.com/u/0/+EricRaymond/posts/JqxCe2pFr67

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Cerowrt-devel] [Cake] openwrt build with latest cake and other qdiscs
  2015-05-14 13:35                         ` Alan Jenkins
  2015-05-14 13:48                           ` Dave Taht
@ 2015-05-14 13:49                           ` Jonathan Morton
  1 sibling, 0 replies; 6+ messages in thread
From: Jonathan Morton @ 2015-05-14 13:49 UTC (permalink / raw)
  To: Alan Jenkins; +Cc: cerowrt-devel

[-- Attachment #1: Type: text/plain, Size: 300 bytes --]

Ah - looking at it from that perspective, your largest packet includes a
1500 byte payload, 40 bytes of PPPoE framing, and 44 more bytes of AAL5
padding, all wrapped up in 33 ATM cells. With even slightly less overhead
or a fractionally reduced payload, you'd go down to 32 cells.

- Jonathan Morton

[-- Attachment #2: Type: text/html, Size: 346 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Cerowrt-devel] [Cake] openwrt build with latest cake and other qdiscs
  2015-05-14 13:48                           ` Dave Taht
@ 2015-05-14 14:34                             ` Jonathan Morton
  0 siblings, 0 replies; 6+ messages in thread
From: Jonathan Morton @ 2015-05-14 14:34 UTC (permalink / raw)
  To: Dave Taht; +Cc: Alan Jenkins, cerowrt-devel

[-- Attachment #1: Type: text/plain, Size: 144 bytes --]

A 64k aggregate would be broken up at any speed below half a gigabit. So
the 1ms heuristic seems sane from that perspective.

- Jonathan Morton

[-- Attachment #2: Type: text/html, Size: 183 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-05-14 14:34 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <554F64E1.6000609@gmail.com>
     [not found] ` <554F9594.60808@gmail.com>
     [not found]   ` <E30C4EBD-0094-4BDA-80D1-70EE9E954631@gmx.de>
     [not found]     ` <50DB1E31-61AE-4298-B80F-8C6F7487C99B@gmail.com>
     [not found]       ` <AF973A4B-E500-43FD-9E2D-36BD27C70AE3@gmail.com>
     [not found]         ` <002A5BFC-5511-4995-8785-370251F24083@gmx.de>
     [not found]           ` <CF5D7897-07DD-4041-884B-EB3B8440A4BC@gmail.com>
     [not found]             ` <555479DE.90806@gmail.com>
     [not found]               ` <51BC816B-2177-4EB2-921B-AA91345ADF2A@gmail.com>
     [not found]                 ` <55547DDC.7000303@gmail.com>
     [not found]                   ` <A258B156-577D-45C9-A17B-5F4E33E62F9E@gmail.com>
2015-05-14 13:09                     ` [Cerowrt-devel] [Cake] openwrt build with latest cake and other qdiscs Alan Jenkins
2015-05-14 13:14                       ` Jonathan Morton
2015-05-14 13:35                         ` Alan Jenkins
2015-05-14 13:48                           ` Dave Taht
2015-05-14 14:34                             ` Jonathan Morton
2015-05-14 13:49                           ` Jonathan Morton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox