NanoBridge M5 Long Link Benchmarking 29 Oct

From HWMN
Jump to: navigation, search

Για την μέτρηση της απόδοσης του OpenWRT χρησιμοποιήθηκε ένα NanoBridge M5 στερεωμένο σε στύλο που κοίταγε στην κόμβο της Ροδιά. Στην απέναντι πλευρά που απέχει 12.2χμ υπήρχε ένα Rocket M5 με κεραία Sector 22dbi (Ubiquity AM-5G20-90). Στο Rocket έτρεχε AirOS v5.5.6 και το AirMax ήταν απενεργοποιημένο. Οι μετρήσεις έγιναν χρησιμοποιώντας το εργαλείο iperf αντί του speedtest από το web interface για να έχουμε κανονικοποιημένα αποτελέσματα. Το iperf έτρεχε πάνω στις συσκευές.

Συνοπτικά Αποτελέσματα[edit]

Operating System TCP throughput Jitter (5Mbits/sec) Jitter (10Mbits/sec)
TX (Mbits/sec) RX (Mbits/sec) TX (ms) RX (ms) TX (ms) RX (ms)
AirOS 22.1 23.2 0.277 0.045 0.191 0.358
OpenWRT 12.09 21.4 31.3 0.175 0.194 0.249 0.171
OpenWRT trunk r38570 12.2 28.1 1.449 0.170 1.235 0.243

Αναλυτικά Αποτελέσματα[edit]

AirOS[edit]

Η έκδοση του AirOS ήταν v5.5.6 και οι περισσότερες ρυθμίσεις από το AirOS ήταν οι προεπιλεγμένες.

Tx Power: 23dbm (MAX)
Distance: auto
Channel: 140 (5700)

Screenshoots[edit]

Nanobridge benchmark airos main.png

Nanobridge benchmark airos wireless.png

TCP Mode[edit]

iperf -c 10.176.7.2   
-----------------------------------------------------------
client connecting to 10.176.7.2, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[  6] local 10.176.7.71 port 39579 connected with 10.176.7.2 port 5001
[ ID] Interval       Transfer     Bandwidth
[  6]  0.0-10.0 sec  26.3 MBytes  22.1 Mbits/sec 

iperf -s 
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
[  7] local 10.176.7.71 port 5001 connected with 10.176.7.2 port 36119
[ ID] Interval       Transfer     Bandwidth
[  7]  0.0-10.0 sec  27.8 MBytes  23.2 Mbits/sec

UDP Mode (5Mbits/sec)[edit]

iperf -c 10.176.7.2 -u -b 5m -r 
------------------------------------------------------------
Server listening on UDP port 5001
Receiving 1470 byte datagrams
UDP buffer size:   116 KByte (default)
------------------------------------------------------------
------------------------------------------------------------
Client connecting to 10.176.7.2, UDP port 5001
Sending 1470 byte datagrams
UDP buffer size:   116 KByte (default)
------------------------------------------------------------
[  7] local 10.176.7.71 port 41804 connected with 10.176.7.2 port 5001
[ ID] Interval       Transfer     Bandwidth
[  7]  0.0-10.0 sec  5.96 MBytes  5.00 Mbits/sec
[  7] Sent 4251 datagrams
[  7] Server Report:
[ ID] Interval       Transfer     Bandwidth       Jitter   Lost/Total Datagrams
[  7]  0.0-10.0 sec  5.96 MBytes  5.00 Mbits/sec  0.277 ms    0/ 4251 (0%)
[  6] local 10.176.7.71 port 5001 connected with 10.176.7.2 port 55848
[ ID] Interval       Transfer     Bandwidth       Jitter   Lost/Total Datagrams
[  6]  0.0-10.0 sec  5.96 MBytes  5.00 Mbits/sec  0.045 ms    0/ 4252 (0%)

UDP Mode (10Mbits/sec)[edit]

iperf -c 10.176.7.2 -u -b 10m -r
------------------------------------------------------------
Server listening on UDP port 5001
Receiving 1470 byte datagrams
UDP buffer size:   116 KByte (default)
------------------------------------------------------------
------------------------------------------------------------
Client connecting to 10.176.7.2, UDP port 5001
Sending 1470 byte datagrams
UDP buffer size:   116 KByte (default)
------------------------------------------------------------
[  7] local 10.176.7.71 port 44024 connected with 10.176.7.2 port 5001
[ ID] Interval       Transfer     Bandwidth
[  7]  0.0-10.0 sec  11.9 MBytes  9.97 Mbits/sec
[  7] Sent 8477 datagrams
[  7] Server Report:
[ ID] Interval       Transfer     Bandwidth       Jitter   Lost/Total Datagrams
[  7]  0.0-10.0 sec  11.9 MBytes  9.97 Mbits/sec  0.191 ms    0/ 8477 (0%)
[  6] local 10.176.7.71 port 5001 connected with 10.176.7.2 port 50092
[ ID] Interval       Transfer     Bandwidth       Jitter   Lost/Total Datagrams
[  6]  0.0-10.0 sec  11.9 MBytes  10.0 Mbits/sec  0.358 ms    0/ 8501 (0%)
[  6]  0.0-10.0 sec  1 datagrams received out-of-order

OpenWRT 12.09 (Attitude Adjustment)[edit]

Η έκδοση ήταν η final 12.09 και το image ήταν precompiled και το κατέβασα από τα downloads του openwrt site. Μετά τις απαραίτητες αλλαγές στην διάταξη των δικτύων καθώς το OpenWRT βλέπει και το κρυφό 2o ethernet, οι περισσότερες ρυθμίσεις έμειναν οι ίδιες. Μια διαφορά είναι ότι το OpenWRT μπορείς να ορίσεις μέγιστο 17dbm transmit power. Σε μία συζήτηση που είχα στο #openwrt μου είπαν ότι στις nanobridge έχει έναν μικρό ενισχυτή μετά το chipset που το πάει στα 23dbm κάτι που το AirOS το γνωρίζει και ουσιαστικά είναι offset.

Tx Power: 17dbm (MAX)
Distance: 12400
Channel: 140 (5700)

O ath9k driver δεν υποστηρίζει εκτίμηση της απόστασης σε αντίθεση με τον driver tου AirOS. Η επιλογή πρέπει να γίνει χειροκίνητα και το αντίκτηπο στην ταχύτητα είναι μεγάλο. Έτσι δοκίμασα διάφορα κοντα στο 12200 και μέτραγα το transmit TCP throuput, στο τέλος κράτησα το καλύτερο.

12000 12300 12400 12500 12600 12700 12800 12900 13000
20.5 20.7 21.4 21.1 20.8 21.2 21.0 21.1 21.0

Screenshoots[edit]

Nanobridge benchmark openwrt 12.09 status.png

Nanobridge benchmark openwrt 12.09 wifi.png

Nanobridge benchmark openwrt 12.09 wifi general.png

Nanobridge benchmark openwrt 12.09 wifi advanced.png

TCP Mode[edit]

iperf -c 10.176.7.2 -t 60
------------------------------------------------------------
Client connecting to 10.176.7.2, TCP port 5001
TCP window size: 21.0 KByte (default)
------------------------------------------------------------
[  3] local 10.176.7.71 port 57724 connected with 10.176.7.2 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-60.1 sec   154 MBytes  21.4 Mbits/sec
iperf -s
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
[  4] local 10.176.7.71 port 5001 connected with 10.176.7.2 port 36122
[ ID] Interval       Transfer     Bandwidth
[  4]  0.0-60.0 sec   224 MBytes  31.3 Mbits/sec 

UDP Mode (5Mbits/sec)[edit]

iperf -u -c 10.176.7.2 -b 5M -t 60 -r
------------------------------------------------------------
Client connecting to 10.176.7.2, UDP port 5001
Sending 1470 byte datagrams
UDP buffer size:  160 KByte (default)
------------------------------------------------------------
[  3] local 10.176.7.71 port 39071 connected with 10.176.7.2 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-60.0 sec  35.8 MBytes  5.00 Mbits/sec
[  3] Sent 25511 datagrams
[  3] Server Report:
[  3]  0.0-60.0 sec  35.8 MBytes  5.00 Mbits/sec   0.175 ms    1/25512 (0.0039%)
------------------------------------------------------------
Server listening on UDP port 5001
Receiving 1470 byte datagrams
UDP buffer size:  160 KByte (default)
------------------------------------------------------------
[  3] local 10.176.7.71 port 5001 connected with 10.176.7.2 port 34421
[  3]  0.0-60.0 sec  35.8 MBytes  5.00 Mbits/sec   0.194 ms    0/25510 (0%) 

UDP Mode (10Mbits/sec)[edit]

iperf -u -c 10.176.7.2 -b 10M -t 60 -r
------------------------------------------------------------
Client connecting to 10.176.7.2, UDP port 5001
Sending 1470 byte datagrams
UDP buffer size:  160 KByte (default)
------------------------------------------------------------
[  3] local 10.176.7.71 port 41282 connected with 10.176.7.2 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-60.0 sec  71.5 MBytes  10.0 Mbits/sec
[  3] Sent 51021 datagrams
[  3] Server Report:
[  3]  0.0-60.0 sec  71.5 MBytes  10.0 Mbits/sec   0.249 ms    1/51022 (0.002%)
------------------------------------------------------------
Server listening on UDP port 5001
Receiving 1470 byte datagrams
UDP buffer size:  160 KByte (default)
------------------------------------------------------------
[  3] local 10.176.7.71 port 5001 connected with 10.176.7.2 port 46260
[  3]  0.0-60.0 sec  71.5 MBytes  10.0 Mbits/sec   0.171 ms    0/51019 (0%)

OpenWRT trunk r38570 (Barrier Breaker)[edit]

Η έκδοση ήταν trunk και το image ήταν precompiled και το κατέβασα από τα downloads του openwrt site. Όλες οι ρυθμίσεις ήταν παρόμοιες με του OpenWRT 12.09.

Screenshots[edit]

Nanobridge benchmark openwrt bb r38570 status.png

Nanobridge benchmark openwrt bb r38570 wifi.png

Nanobridge benchmark openwrt bb r38570 wifi general.png

Nanobridge benchmark openwrt bb r38570 wifi advanced.png

TCP Mode[edit]

iperf -c 10.176.7.2 -r
------------------------------------------------------------
Client connecting to 10.176.7.2, TCP port 5001
TCP window size: 21.0 KByte (default)
------------------------------------------------------------
[  3] local 10.176.7.71 port 53005 connected with 10.176.7.2 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.2 sec  14.8 MBytes  12.2 Mbits/sec
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
[  4] local 10.176.7.71 port 5001 connected with 10.176.7.2 port 36111
[  4]  0.0-10.0 sec  33.6 MBytes  28.1 Mbits/sec 

UDP Mode (5Mbits/sec)[edit]

iperf -c 10.176.7.2 -r -u -b 5m
------------------------------------------------------------
Client connecting to 10.176.7.2, UDP port 5001
Sending 1470 byte datagrams
UDP buffer size:  160 KByte (default)
------------------------------------------------------------
[  3] local 10.176.7.71 port 54271 connected with 10.176.7.2 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec  5.96 MBytes  5.00 Mbits/sec
[  3] Sent 4253 datagrams
[  3] Server Report:
[  3]  0.0-10.0 sec  5.96 MBytes  5.00 Mbits/sec   1.449 ms    1/ 4254 (0.024%)
------------------------------------------------------------
Server listening on UDP port 5001
Receiving 1470 byte datagrams
UDP buffer size:  160 KByte (default)
------------------------------------------------------------
[  3] local 10.176.7.71 port 5001 connected with 10.176.7.2 port 35728
[  3]  0.0-10.0 sec  5.96 MBytes  5.00 Mbits/sec   0.170 ms    0/ 4252 (0%) 

UDP Mode (10Mbits/sec)[edit]

iperf -c 10.176.7.2 -r -u -b 10m
------------------------------------------------------------
Client connecting to 10.176.7.2, UDP port 5001
Sending 1470 byte datagrams
UDP buffer size:  160 KByte (default)
------------------------------------------------------------
[  3] local 10.176.7.71 port 56996 connected with 10.176.7.2 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec  11.9 MBytes  9.99 Mbits/sec
[  3] Sent 8493 datagrams
[  3] Server Report:
[  3]  0.0-10.0 sec  11.9 MBytes  9.94 Mbits/sec   1.235 ms   35/ 8494 (0.41%)
------------------------------------------------------------
Server listening on UDP port 5001
Receiving 1470 byte datagrams
UDP buffer size:  160 KByte (default)
------------------------------------------------------------
[  3] local 10.176.7.71 port 5001 connected with 10.176.7.2 port 41562
[  3]  0.0-10.0 sec  11.9 MBytes  10.0 Mbits/sec   0.243 ms    0/ 8501 (0%)
[  3]  0.0-10.0 sec  1 datagrams received out-of-order