L
L
lightmanua2020-02-21 22:07:52
linux
lightmanua, 2020-02-21 22:07:52

How to distribute the load on the network in queues?

Good afternoon. I have the following problem: Two-headed network from intel. On the one hand, the world, on the other hand, a pack of vlans for subscribers. Interrupts are distributed manually, rps is enabled, but from the subscriber side, where there is l2 traffic, rps does not distribute the load on network streams, but almost everything is hung on one, namely the first stream rx-0 .
rx_queue_0_packets: 561311202
rx_queue_1_packets: 2348
rx_queue_2_packets: 3355
rx_queue_3_packets: 2714
rx_queue_4_packets: 3627
rx_queue_5_packets: 2531
rx_queue_6_packets: 2770
rx_queue_7_packets: 2198
rx_queue_8_packets: 2975
rx_queue_9_packets: 2896

I ask for at least some guesses, because I have no idea what exactly is happening, why and how to fix it.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
J
jcmvbkbc, 2020-02-21
@jcmvbkbc

rps does not load balance network threads

RPS distributes the processing of incoming packets among the available CPUs, it does not distribute packets among queues. This is what RSS does.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question