* [Cake] perhaps a performance optimization
@ 2016-04-24 15:44 Dave Taht
2016-04-24 20:45 ` Jonathan Morton
0 siblings, 1 reply; 2+ messages in thread
From: Dave Taht @ 2016-04-24 15:44 UTC (permalink / raw)
To: cake
thought: since it takes two data packets for tcp to release an ack,
perhaps it is better in some circumstances (notably with offloads
enabled) to peel at quantum * 2,
still delivering packets with a quantum (with a max of a mtu), so that
delivering two unpeeled packets would cost that flow a DRR round, but
save a lot on peeling overhead.
sch_fq has a quantum of 3028.
--
Dave Täht
Let's go make home routers and wifi faster! With better software!
http://blog.cerowrt.org
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Cake] perhaps a performance optimization
2016-04-24 15:44 [Cake] perhaps a performance optimization Dave Taht
@ 2016-04-24 20:45 ` Jonathan Morton
0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Morton @ 2016-04-24 20:45 UTC (permalink / raw)
To: Dave Taht; +Cc: cake
> On 24 Apr, 2016, at 18:44, Dave Taht <dave.taht@gmail.com> wrote:
>
> thought: since it takes two data packets for tcp to release an ack,
> perhaps it is better in some circumstances (notably with offloads
> enabled) to peel at quantum * 2,
> still delivering packets with a quantum (with a max of a mtu), so that
> delivering two unpeeled packets would cost that flow a DRR round, but
> save a lot on peeling overhead.
If a GSO packet is less than an MTU in total, surely it’ll peel into a single packet anyway? I don’t see where the gain is.
- Jonathan Morton
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-04-24 20:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-24 15:44 [Cake] perhaps a performance optimization Dave Taht
2016-04-24 20:45 ` Jonathan Morton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox