Re: [PATCH bpf-next 2/3] net: bonding: Use per-cpu rr_tx_counter

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jun 10, 2021 at 2:04 AM Jay Vosburgh <jay.vosburgh@xxxxxxxxxxxxx> wrote:
>
> Jussi Maki <joamaki@xxxxxxxxx> wrote:
>
>         With the rr_tx_counter is per-cpu, each CPU is essentially doing
> its own round-robin logic, independently of other CPUs, so the resulting
> spread of transmitted packets may not be as evenly distributed (as
> multiple CPUs could select the same interface to transmit on
> approximately in lock-step).  I'm not sure if this could cause actual
> problems in practice, though, as particular flows shouldn't skip between
> CPUs (and thus rr_tx_counters) very often, and round-robin already
> shouldn't be the first choice if no packet reordering is a hard
> requirement.
>
>         I think this patch could be submitted against net-next
> independently of the rest of the series.

Yes this makes sense. I'll submit it separately against net-next today
and drop it off from this patchset.



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux