All of lore.kernel.org
 help / color / mirror / Atom feed
* RSS is not efficient when forwarding
@ 2014-07-03 22:44 Flavio Leitner
  2014-07-04 19:36 ` RSS is not efficient when forwarding (ixgbe) Flavio Leitner
  0 siblings, 1 reply; 14+ messages in thread
From: Flavio Leitner @ 2014-07-03 22:44 UTC (permalink / raw)
  To: netdev


Hi,

I have a simple router setup which forwards traffic from
one ixgbe 82599ES to another ixgbe of the same model.

kernel: 3.16.0-rc2-00262-ga921e2a

  p2p1: 192.168.155.1/24 is the gateway of the LAN
  p2p2: 192.168.156.1/24 is the gateway of the other LAN

While the ARP is resolving, I can see the packets being spread
among all the 8 queues (8 online CPUs) available and that is fine.

However, as soon as the TCP traffic starts, all streams are
merged to rx-queue-0 which overwhelms one single CPU, so the
total throughput is about 4Gbits/sec.

I can see the driver sending different skb->hash for each stream,
so it can't be the NIC.

Also, if I run a local http on the router, the skb->hash pattern
doesn't change, but the workload is spread among all CPUs.

debug output while reproducing all the streams on rx-queue-0:
[...]
[11685.885093] ixgbe_rx_skb:1713 skb(ffff880222a77200) hash: 0xC2AF4A27
[11685.891454] ixgbe_rx_skb:1713 skb(ffff880222a77200) hash: 0x8C5B749D
[11685.897820] ixgbe_rx_skb:1713 skb(ffff880222a77200) hash: 0xA33BA6D5
[11690.845032] net_ratelimit: 3276406 callbacks suppressed
[...]

Any idea why all TCP streams are going to a single rx queue?

Thanks,
fbl

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

end of thread, other threads:[~2014-07-11 14:12 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-03 22:44 RSS is not efficient when forwarding Flavio Leitner
2014-07-04 19:36 ` RSS is not efficient when forwarding (ixgbe) Flavio Leitner
2014-07-05 16:09   ` Tom Herbert
2014-07-07 10:55     ` Flavio Leitner
2014-07-07 16:33       ` Skidmore, Donald C
2014-07-08  0:28         ` Flavio Leitner
2014-07-08 17:09           ` Carlos Carvalho
2014-07-08 17:21             ` Flavio Leitner
2014-07-08 17:32               ` Carlos Carvalho
2014-07-09  5:22                 ` Flavio Leitner
2014-07-10  0:08                   ` Carlos Carvalho
2014-07-10  1:14                     ` Flavio Leitner
2014-07-11  0:11                       ` Carlos Carvalho
2014-07-11 14:11                         ` Skidmore, Donald C

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.