On Mon, Sep 9, 2024 at 2:25 PM Roger Oberholtzer <roger.oberholtzer@gmail.com> wrote:
On Mon, Sep 9, 2024 at 11:58 AM Andrei Borzenkov <arvidjaar@gmail.com> wrote:
On Mon, Sep 9, 2024 at 12:39 PM Roger Oberholtzer <roger.oberholtzer@gmail.com> wrote:
The situation is that the Windows computer can access the Linux computer via this network (via ssh). The Linux system, otoh, cannot access the Windows computer.
What does "access the Windows" mean? How exactly are you accessing.
ping as start. And ssh, as it will be rsync via sh that this network will primarily be doing.
What makes you think bond will give you better throughput? rsync over ssh is single threaded. Will there be a lot of concurrent streams?
Windows? Are bond modes the same on Windows and Linux?
That's always the fun part. Windows and Linux use different names for these things.
What's in a name? You are expected to understand what they *do*, not how they are named.
What I am after is maximizing throughput. On Linux, it seems like balance-alb is what I would like. So what is the compatible Windows NIC Team setting to match this? I've not figured that out yet.
There are none. Any switch independent mode relies on the *switch* to send packets via the correct port based on the learned MAC. But the Linux bonding driver is not a switch. It does not have a mode that always sends replies to the same link via which requests have been received. Start with tcpdump/wireshark/tshark/dumpcap - whatever you are familiar with - and check what happens on the Linux side. Capture traffic on each *physical* interface when attempting to ping windows. The only two bond modes that will definitely work point to point are static etherchannel (balance-xor) and LACP (802.3ad). They correspond to the Windows Static Teaming and LACP. LACP is preferred in all cases when it is available. And they are completely independent from load balancing mode. For point to point link the only mode that makes sense is the one involving TCP/UDP port numbers, because both MAC and IP do not change. That is xmit_hash_policy=layer3+4 for Linux and Address Hash for Windows. You cannot start discussing "how to increase bandwidth" without understanding your workload first.