* Suitable value for bonding module's tx_queues?
@ 2021-11-09 20:58 Johannes Lundberg
2021-11-10 0:29 ` Eric Dumazet
0 siblings, 1 reply; 2+ messages in thread
From: Johannes Lundberg @ 2021-11-09 20:58 UTC (permalink / raw)
To: netdev
Hi
Please cc me on reply since I'm not subscribed.
I'm wondering when you want to change tx_queues from default 16. Should
this match the total number of queues of all the members of the bond?
Let's say I got 2 interfaces, each with 24 queues on a 24 CPU system in
a bond. Should I load bonding with 24 to match the number of CPUs or 48
to match the total number of queues of the members, or leave at default
because it's not relevant?
Thanks!
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Suitable value for bonding module's tx_queues?
2021-11-09 20:58 Suitable value for bonding module's tx_queues? Johannes Lundberg
@ 2021-11-10 0:29 ` Eric Dumazet
0 siblings, 0 replies; 2+ messages in thread
From: Eric Dumazet @ 2021-11-10 0:29 UTC (permalink / raw)
To: Johannes Lundberg, netdev
On 11/9/21 12:58 PM, Johannes Lundberg wrote:
> Hi
>
> Please cc me on reply since I'm not subscribed.
>
> I'm wondering when you want to change tx_queues from default 16. Should this match the total number of queues of all the members of the bond? Let's say I got 2 interfaces, each with 24 queues on a 24 CPU system in a bond. Should I load bonding with 24 to match the number of CPUs or 48 to match the total number of queues of the members, or leave at default because it's not relevant?
>
> Thanks!
>
Unless you add a mq qdisc on the bonding device, "number of tx queues" does not matter
because bonding is a virtual device, with NETIF_F_LLTX
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-11-10 0:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-09 20:58 Suitable value for bonding module's tx_queues? Johannes Lundberg
2021-11-10 0:29 ` Eric Dumazet
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.