While playing with my setup I was able to isolate a weird (to me at least) issue. I’m running the tests on hEX (Gr3). When I try to bridge two ports with VLANs on them like so:
# model = RouterBOARD 750G r3
/interface ethernet
set [ find default-name=ether1 ] name=ether1-trunk
set [ find default-name=ether2 ] name=ether2-intranet
/interface bridge
add name=bridge-trunk protocol-mode=none
add name=bridge30-intranet protocol-mode=none
/interface vlan
add interface=ether1-trunk name=ether1-v30 vlan-id=30
/interface bridge port
add bridge=bridge30-intranet interface=ether1-v30 trusted=yes
add bridge=bridge30-intranet interface=ether2-intranet
add bridge=bridge-trunk interface=ether1-trunk
add bridge=bridge-trunk interface=ether3 trusted=yes
(during each of the tests only a single bridge was active)
I get a decent performance using iperf3 but still retramissions (but ALWAYS in the rx direction; client connected to ether2):
$ iperf3 --bidir -c SERVER
[ ID][Role] Interval Transfer Bitrate Retr
[ 7][TX-C] 0.00-10.00 sec 924 MBytes 775 Mbits/sec sender
[ 7][TX-C] 0.00-10.00 sec 923 MBytes 774 Mbits/sec receiver
[ 9][RX-C] 0.00-10.00 sec 1.05 GBytes 905 Mbits/sec 475 sender
[ 9][RX-C] 0.00-10.00 sec 1.05 GBytes 902 Mbits/sec receiver
While using hEX to split trunk to an access port like so:
The issue is even bigger with the performance being absymal… but ONLY in the rx direction (client connected to ether3 with vlan30 configured on the client):
$ iperf3 --bidir -c SERVER
[ ID][Role] Interval Transfer Bitrate Retr
[ 7][TX-C] 0.00-10.00 sec 991 MBytes 831 Mbits/sec sender
[ 7][TX-C] 0.00-10.00 sec 990 MBytes 831 Mbits/sec receiver
[ 9][RX-C] 0.00-10.00 sec 933 MBytes 783 Mbits/sec 612 sender
[ 9][RX-C] 0.00-10.00 sec 930 MBytes 780 Mbits/sec receiver
While not running bidirectional tests the speeds are … acceptable as for what it is:
[ ID] Interval Transfer Bitrate
[ 7] 0.00-10.00 sec 1.07 GBytes 923 Mbits/sec sender
[ 7] 0.00-10.00 sec 1.07 GBytes 923 Mbits/sec receiver
Is this related to a weird block diagram with two separate 1Gb/s links in hEX?