Hi,
I found a strange thing, with test in the first post. I have two clients, an iMac 27" (named lightning, with a Broadcom a/b/g/n/ac card, but one of three antenna connector destroyed, so i think, it's only working with dual stream, ip: 172.16.30.1 and 192.168.200.2), and a linux box (named hurricane, with a PCI based 1000Mbps network card with maximal speed ~650Mbps, ip: 172.16.30.252 and 192.168.200.1).
OpenWRT version: CC r44620 (for long time use, i need to mirror every package, so anyone can use r44620: http://openwrt.czo.hu/ )
i ran the first test:
[root@hurricane ~]# iperf -c 192.168.200.2 -i 1 -w 6M -l 2M -p 6001
------------------------------------------------------------
Client connecting to 192.168.200.2, TCP port 6001
TCP window size: 416 KByte (WARNING: requested 6.00 MByte)
------------------------------------------------------------
[ 3] local 192.168.200.1 port 37875 connected with 192.168.200.2 port 6001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0- 1.0 sec 34.0 MBytes 285 Mbits/sec
[ 3] 1.0- 2.0 sec 32.0 MBytes 268 Mbits/sec
[ 3] 2.0- 3.0 sec 32.0 MBytes 268 Mbits/sec
[ 3] 3.0- 4.0 sec 32.0 MBytes 268 Mbits/sec
[ 3] 4.0- 5.0 sec 32.0 MBytes 268 Mbits/sec
[ 3] 5.0- 6.0 sec 30.0 MBytes 252 Mbits/sec
[ 3] 6.0- 7.0 sec 8.00 MBytes 67.1 Mbits/sec
[ 3] 7.0- 8.0 sec 6.00 MBytes 50.3 Mbits/sec
[ 3] 8.0- 9.0 sec 8.00 MBytes 67.1 Mbits/sec
[ 3] 9.0-10.0 sec 26.0 MBytes 218 Mbits/sec
[ 3] 0.0-10.1 sec 242 MBytes 201 Mbits/sec
When i remove -w and -l arguments, i get a bit better speed:
[root@hurricane ~]# iperf -c 192.168.200.2 -i 1 -p 6001
------------------------------------------------------------
Client connecting to 192.168.200.2, TCP port 6001
TCP window size: 85.0 KByte (default)
------------------------------------------------------------
[ 3] local 192.168.200.1 port 37876 connected with 192.168.200.2 port 6001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0- 1.0 sec 56.2 MBytes 472 Mbits/sec
[ 3] 1.0- 2.0 sec 64.2 MBytes 539 Mbits/sec
[ 3] 2.0- 3.0 sec 65.4 MBytes 548 Mbits/sec
[ 3] 3.0- 4.0 sec 63.4 MBytes 532 Mbits/sec
[ 3] 4.0- 5.0 sec 62.9 MBytes 527 Mbits/sec
[ 3] 5.0- 6.0 sec 59.8 MBytes 501 Mbits/sec
[ 3] 6.0- 7.0 sec 57.5 MBytes 482 Mbits/sec
[ 3] 7.0- 8.0 sec 57.9 MBytes 485 Mbits/sec
[ 3] 8.0- 9.0 sec 61.8 MBytes 518 Mbits/sec
[ 3] 9.0-10.0 sec 61.5 MBytes 516 Mbits/sec
[ 3] 0.0-10.0 sec 611 MBytes 512 Mbits/sec
but, when i test over LAN the two commands seems nearly identical:
[root@hurricane ~]# iperf -c 172.16.30.1 -i 1 -w 6M -l 2M -p 6001
------------------------------------------------------------
Client connecting to 172.16.30.1, TCP port 6001
TCP window size: 416 KByte (WARNING: requested 6.00 MByte)
------------------------------------------------------------
[ 3] local 172.16.30.252 port 53861 connected with 172.16.30.1 port 6001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0- 1.0 sec 78.0 MBytes 654 Mbits/sec
[ 3] 1.0- 2.0 sec 78.0 MBytes 654 Mbits/sec
[ 3] 2.0- 3.0 sec 78.0 MBytes 654 Mbits/sec
[ 3] 3.0- 4.0 sec 76.0 MBytes 638 Mbits/sec
[ 3] 4.0- 5.0 sec 78.0 MBytes 654 Mbits/sec
[ 3] 5.0- 6.0 sec 78.0 MBytes 654 Mbits/sec
[ 3] 6.0- 7.0 sec 76.0 MBytes 638 Mbits/sec
[ 3] 7.0- 8.0 sec 78.0 MBytes 654 Mbits/sec
[ 3] 8.0- 9.0 sec 78.0 MBytes 654 Mbits/sec
[ 3] 9.0-10.0 sec 78.0 MBytes 654 Mbits/sec
[ 3] 0.0-10.1 sec 778 MBytes 649 Mbits/sec
[root@hurricane ~]# iperf -c 172.16.30.1 -i 1 -p 6001
------------------------------------------------------------
Client connecting to 172.16.30.1, TCP port 6001
TCP window size: 325 KByte (default)
------------------------------------------------------------
[ 3] local 172.16.30.252 port 53862 connected with 172.16.30.1 port 6001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0- 1.0 sec 78.1 MBytes 655 Mbits/sec
[ 3] 1.0- 2.0 sec 77.5 MBytes 650 Mbits/sec
[ 3] 2.0- 3.0 sec 77.6 MBytes 651 Mbits/sec
[ 3] 3.0- 4.0 sec 77.5 MBytes 650 Mbits/sec
[ 3] 4.0- 5.0 sec 77.6 MBytes 651 Mbits/sec
[ 3] 5.0- 6.0 sec 77.5 MBytes 650 Mbits/sec
[ 3] 6.0- 7.0 sec 77.5 MBytes 650 Mbits/sec
[ 3] 7.0- 8.0 sec 77.8 MBytes 652 Mbits/sec
[ 3] 8.0- 9.0 sec 77.5 MBytes 650 Mbits/sec
[ 3] 9.0-10.0 sec 77.8 MBytes 652 Mbits/sec
[ 3] 0.0-10.0 sec 776 MBytes 651 Mbits/sec
When running tests over WiFi, i see very high software interrupt usage in GNU top on the router. I can't test with OEM firmware, becuse i used OEM firmware only to upload OpenWRT. Next weekend i wan't to test with two LAN clients with separated VLAN that bridged together (like wifi to lan bridge), to see CPU usage when forwarding packets LAN to LAN.