22.02.2026 18:25, Kirill A. Korinsky пишет: > I've tried it on my EdgeRouter 4. > > That I do have with snapshot which I just installed: > > machine 1 -> ER4: > > [ ID] Interval Transfer Bitrate Retr > [ 5] 0.00-30.00 sec 1.39 GBytes 397 Mbits/sec 15928 sender > [ 5] 0.00-30.01 sec 1.39 GBytes 397 Mbits/sec receiver > > > machine 1 -> ER4 -> machine 2 > > [ ID] Interval Transfer Bitrate Retr > [ 5] 0.00-30.00 sec 1.71 GBytes 490 Mbits/sec 370688 > sender > [ 5] 0.00-30.01 sec 1.71 GBytes 489 Mbits/sec receiver > > machines are in different vlan. > > Ok, next, cvs checkout with applied your diff: > > machine 1 -> ER4: > > [ ID] Interval Transfer Bitrate Retr > [ 5] 0.00-30.00 sec 590 MBytes 165 Mbits/sec 65568 sender > [ 5] 0.00-30.06 sec 590 MBytes 165 Mbits/sec receiver > > machine 1 -> ER4 -> machine 2: > > [ ID] Interval Transfer Bitrate Retr > [ 5] 0.00-30.00 sec 978 MBytes 273 Mbits/sec 2556800 > sender > [ 5] 0.00-30.01 sec 976 MBytes 273 Mbits/sec receiver > > plus extreamly bad performance from ER4 to NFS. > > Next, cvs checkout without your diff: > > machine 1 -> ER: > > [ ID] Interval Transfer Bitrate Retr > [ 5] 0.00-30.00 sec 1.32 GBytes 377 Mbits/sec 0 sender > [ 5] 0.00-30.05 sec 1.32 GBytes 376 Mbits/sec receiver > > machine 1 -> ER -> machine 2: > > [ ID] Interval Transfer Bitrate Retr > [ 5] 0.00-30.00 sec 1.73 GBytes 495 Mbits/sec 637120 > sender > [ 5] 0.00-30.01 sec 1.73 GBytes 494 Mbits/sec receiver
Thanks for testing, I certainly did not expect such a massive drop. I'll test here as well and try to see what this is about before committing anything. I wonder, if this is "just" a weak CPU or something else, e.g. specific to octeon, NIC drivers and/or in your setup. Can you share your iperf commands and a dmesg for completeness, please? Cc'ing Janne: You tried a similar diff on your boxes; care to share which ones and whether you saw any noticable change in performance?
