Thread (91 messages) 91 messages, 8 authors, 2011-03-02

Re: SO_REUSEPORT - can it be done in kernel?

From: Eric Dumazet <hidden>
Date: 2011-03-02 08:04:15

Le mercredi 02 mars 2011 à 15:31 +0800, Herbert Xu a écrit :
On Tue, Mar 01, 2011 at 11:12:29PM -0800, Tom Herbert wrote:
quoted
Probably need to set skb->ooo_okay (for UDP etc.) also so that XPS
will change queues.
Hmm, not quite.  We still want to maintain packet ordering from
the same CPU.  That is, if I do two sendmsg calls from the same
CPU, they should go into the same queue in that order.

So this shouldn't just be a knob that says whether we can pick
queues at random.
Not sure why two UDP packets from the same cpu should be sent on same
queue.

- Some qdisc do reorder packets anyway.
- Some bonding setups use two links in round-robin mode (link
aggregation)

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help