Netdev List
 help / color / mirror / Atom feed
* fq_codel and skb->hash
@ 2017-01-17  0:04 Andrew Collins
  2017-01-17  1:44 ` Eric Dumazet
  0 siblings, 1 reply; 7+ messages in thread
From: Andrew Collins @ 2017-01-17  0:04 UTC (permalink / raw)
  To: netdev; +Cc: edumazet

The fq_codel packet scheduler always regenerates the skb flow hash.  Is there any reason
to do this other than the recent hash perturbation additions?

I ask because I have a case where an incoming set of TCP flows is encapsulated in a
single ipsec tunnel, which is then classified on egress into a single flow by fq_codel
resulting in poor behavior.

Reusing the skb hash set in receive results in much better behavior, as the value is
determined pre-encapsulation and flows end up being distributed more naturally across
codel queues.

Is opportunistically using the pre-existing skb hash (if available) problematic?  Is
there a better way to manage flow separation in routed+encapsulated traffic?

Thanks,
Andrew Collins

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

end of thread, other threads:[~2017-01-18 22:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-17  0:04 fq_codel and skb->hash Andrew Collins
2017-01-17  1:44 ` Eric Dumazet
2017-01-17  2:34   ` Eric Dumazet
2017-01-17  6:18     ` Tom Herbert
2017-01-17 15:14       ` Eric Dumazet
2017-01-18 20:21         ` Andrew Collins
2017-01-18 20:25           ` Eric Dumazet

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