Different Tx & Rx Throughput from AP to Client

I have a HaLowLink2 Router and a MM8108-EKH01 evaluation kit and I am attempting to test throughput in both directions from AP to client. However I am getting very different throughput rates between Rx & Tx

The router is set up with default settings. Basic Info below

The MM8108 was setup with the wizard as a ‘Client’ and is in default settings apart from the ‘Power Save’ mode disabled to fix long ping times

I am running the diagnostic iperf3 tools to test throughput.
I ran the AP as the server.

Iperf3 results listed below

This was client to server with command below from the client
‘iperf3 -c 192.168.12.219 -4 -u --bitrate 4M --time10’

Note that below figures were copied from the server end

Accepted connection from 192.168.12.178, port 64319
[ 5] local 192.168.12.219 port 5201 connected to 192.168.12.178 port 56805
[ ID] Interval Transfer Bitrate Jitter Lost/Total Datagrams
[ 5] 0.00-1.01 sec 445 KBytes 3.59 Mbits/sec 5.146 ms 0/312 (0%)
[ 5] 1.01-2.01 sec 443 KBytes 3.66 Mbits/sec 5.635 ms 0/311 (0%)
[ 5] 2.01-3.01 sec 448 KBytes 3.66 Mbits/sec 4.453 ms 0/314 (0%)
[ 5] 3.01-4.01 sec 429 KBytes 3.52 Mbits/sec 4.645 ms 0/301 (0%)
[ 5] 4.01-5.00 sec 443 KBytes 3.65 Mbits/sec 4.979 ms 0/311 (0%)
[ 5] 5.00-6.01 sec 443 KBytes 3.62 Mbits/sec 4.351 ms 0/311 (0%)
[ 5] 6.01-7.00 sec 452 KBytes 3.71 Mbits/sec 4.666 ms 0/317 (0%)
[ 5] 7.00-8.01 sec 465 KBytes 3.77 Mbits/sec 4.067 ms 0/326 (0%)
[ 5] 8.01-9.01 sec 453 KBytes 3.74 Mbits/sec 5.070 ms 0/318 (0%)
[ 5] 9.01-10.00 sec 455 KBytes 3.74 Mbits/sec 4.372 ms 0/319 (0%)
[ 5] 10.00-10.89 sec 403 KBytes 3.74 Mbits/sec 5.168 ms 0/283 (0%)


[ ID] Interval Transfer Bitrate Jitter Lost/Total Datagrams
[ 5] 0.00-10.89 sec 4.77 MBytes 3.67 Mbits/sec 5.168 ms 0/3423 (0%) receiver

Above results show 3.67Mbps throughput

Below is AP to client, as can be seen only achieved 445Kbps throughput

c:\TEMP\Network Speed Test>iperf3 -c 192.168.12.219 -4 -u --bitrate 4M --time 10 -R
Connecting to host 192.168.12.219, port 5201
Reverse mode, remote host 192.168.12.219 is sending
[ 4] local 192.168.12.178 port 55828 connected to 192.168.12.219 port 5201
[ ID] Interval Transfer Bitrate Jitter Lost/Total Datagrams
[ 4] 0.00-1.01 sec 49.9 KBytes 406 Kbits/sec 24.861 ms 0/35 (0%)
[ 4] 1.01-2.01 sec 57.0 KBytes 466 Kbits/sec 25.954 ms 0/40 (0%)
[ 4] 2.01-3.00 sec 54.2 KBytes 447 Kbits/sec 27.107 ms 0/38 (0%)
[ 4] 3.00-4.01 sec 54.2 KBytes 440 Kbits/sec 26.357 ms 0/38 (0%)
[ 4] 4.01-5.01 sec 54.2 KBytes 445 Kbits/sec 23.588 ms 0/38 (0%)
[ 4] 5.01-6.01 sec 57.0 KBytes 467 Kbits/sec 25.076 ms 0/40 (0%)
[ 4] 6.01-7.01 sec 54.2 KBytes 442 Kbits/sec 26.318 ms 0/38 (0%)
[ 4] 7.01-8.01 sec 54.2 KBytes 444 Kbits/sec 23.703 ms 0/38 (0%)
[ 4] 8.01-9.01 sec 54.2 KBytes 445 Kbits/sec 25.070 ms 0/38 (0%)
[ 4] 9.01-10.01 sec 54.2 KBytes 446 Kbits/sec 25.228 ms 0/38 (0%)


[ ID] Interval Transfer Bitrate Jitter Lost/Total Datagrams
[ 4] 0.00-10.01 sec 0.00 Bytes 0.00 bits/sec 0.000 ms 0/0 (0%) sender
[ 4] 0.00-10.01 sec 543 KBytes 445 Kbits/sec 25.228 ms 0/381 (0%) receiver

Any advice on what I can look into to understand why there is such a difference between Tx & Rx throughput rates

Thanks in advance

So I noticed that a firmware upgrade was available for the router, so I thought I had better apply that to proceed with my investigation/evaluation.

And now my connection bandwidth has dropped from 2Mhz (with 9Mbps avg speed) to 1Mhz (with 4.5 Mbps) !!

Any ides why this has happened?

My iperf3 tests are no slower (of course). I am in the UK, but I thought we were OK to use 2Mhz bandwidth.

Hi @Stephen_Wiggins

Thanks for your patience here, I was collecting the most up to date information for you. See below.

Regarding your first query - the bidirectional throughput seen between the two versions above likely has to do with the duty cycle limitations which are imposed on the European regulatory domain.

Evaluation kits, such as the EKH01, running older firmware such as our OpenWrt 2.9.3 will not have been imposing duty cycle restrictions out of the box, as these were largely targeting organizations building their own products, and left the configuration open allowed those organisations to make their own interpretation of the regulatory rules, constraining further as required.

As the HaLowLink2 is a product Morse Micro has built for a global market, the 2.11.x software version imposed restrictions sufficient for the product to meet the requirements of the ETSI standard they were tested against, which limits how long the transmitter may transmit per hour. In the advanced settings, there is an option for burst mode, to attain full throughput for 6 mins an hour as an AP.

A new version of the ETSI standard has been released and we have determined it was prudent for us to take a more conservative approach - and limit the bandwidth to 1MHz. Naturally, this is not ideal but guarantees we can have a product for the EU market.

We’re hoping to improve this again in the future.


For your benefit, the HaLowLink2 image you were using is available here: https://repo.apps.morsemicro.com/openwrt/releases/2.11.8/targets/ramips/mt7621/openwrt-morse-2.11.8-halowlink-2.bin.

Hi

Thanks for the detailed reply.

Ah, so that makes sense as the AP has a 10% duty cycle limit in the EU/UK market. So the 400Kbps would equate to a maximum burst throughput of 4Mbps. Where is the setting in the AP to test in burst mode so I can confirm this?

With regards to the latest 1MHz restriction imposed via the latest AP firmware. Is there a way I can change the region for testing? The product we are developing will often be running offshore and outside of any international waters, so would be good to at least check maximum throughput under these conditions.

With regards to the EKH01 development kit I have , this is currently showing/capable of 2Mhz, if I were to upgrade the firmware in this would this also limit to 1Mhz?

Thanks for your help

Take a look in Network → Wireless and then Edit the 802.11ah radio.
In the Advanced Settings when configured for EU you should have a toggle option available for “Standard Duty cycle”.

I don’t believe there is anything simple available in the UI to enable this unfortunately.

Unfortunately yes I believe we’ve been a bit more aggressive with our conservative approach for evaluation kits in later versions too. However, there is ongoing internal discussion about this.

Thanks for the reply.

If we were to purchase a USA version of the router is it possible to change the region code within the user interface to, say for example EU?

I notice it is set to EU in our case and greyed out, so cannot be changed.

The usage case for our product will always have access to a GNSS receiver and hence we could implement GeoFencing to ensure the router only ever runs under the correct regulatory framework

We would also GeoFence the endpoints/client end that will use the MM8108 silicon.

I would assume that it is still critical for the router to be set to the correct region even though the clients will only be able to connect on the lower bandwidth channels in the EU etc? Would the router be broadcasting on restricted frequencies of it was set to, say for example, USA?

And one last question (at the moment :slight_smile: ), as the router and client is reporting a connection on Channel 2, 864Mhz, 2Mhz bandwidth and speed 9Mbps, why would iperf3 only manage 4Mbps. Is the client limiting on duty cycle (if so can’t find the setting to turn it off for a test). Or is this the typical number to expect for a UDP test once packet overhead is taken into account if the PHY rate is 9Mbps?
Extra info added: SNR is approx. 72dB, Noise = -91dBm, Signal = -19dBm

Thanks for your help/advice

With the user interface. No unfortunately not.
Because our product doesn’t have a GPS in it, the FCC is a bit funny in allowing region selection - or rather, giving users easy paths to breach regulatory.

If you were to modify the software, anything is possible…

I can’t comment on the legality but I suspect this will make things much easier for you, and it is likely the way something like this should be implemented.

The 9Mbps is the PHY rate. Due to packet over head and a few other constraints, you’re generally unlikely to hit the PHY rate and will usually come within 70% of it.
That being said, 4Mbps is still possibly lower than expected, I’d expect maximum throughput to ~6Mbps for UDP (at 100% duty cycle), though this number comes from a chamber where the conditions are perfect, and noise floor <-100. If your -90dBm noise floor is partly formed by the presence of an interferer then that could be attributed to the slight throughput reduction as CSMA/CA kicks in.

Re the 4Mbps instead of 6Mbps, in all likelihood you’re running into this issue, which is an unfortunately interaction of our 5g shim layer with mac80211 and a regdom which has DFS-ETSI:

https://kernel.googlesource.com/pub/scm/linux/kernel/git/wireless/wireless-next/+/1459b99bdaf9f524c124be93dcb47cc1927808f9

For now, you can work around this in our existing releases if you set the 2.4 Wi-Fi to 00 (global):

uci set wireless.radio0.country=00
uci commit
reboot

This is the 2.4 Wi-Fi for an HL2, as confusingly this affects the normal regdom (equivalent to iw reg set 00). The country on the morse device should remain EU. Note that you must do this via the CLI, as the GUI is locked down.

Hi James

Thanks for your reply, however I’m not sure if I understand most of your terminology :joy:

Nonetheless, I have found the terminal window in the dev kit web interface

Are the commands you listed to be applied to the client end, the AP or both?

Don’t want to mess anything up :crossed_fingers:

Thanks for you help/advice

I have just realised that there is no terminal interface configured within the HaLowLink 2 Router, so if I need to issue these commands to the router I do not known how to do this. Will I have to turn on the ‘ttyd’, and if so what are the correct setup/parameters for this?

Update: So I mirrored the configuration on the dev kit and enabled the interface on the router (had to turn off https redirection also)

For future reference, you can enable ssh by going to Advanced → System → Administration → SSH Access and selecting ‘Enable’.

It’s turned off by default because the EU has strong beliefs about justifying open ports :slight_smile:

Hi James

Thanks for your reply, did you see the earlier question 'Are the commands you listed to be applied to the client end, the AP or both?’

Would you mind advising me on that?

Thanks for your help.

Sorry. You should only need to do this on HL2s. The EKH01 doesn’t have another radio, so it doesn’t run into this issue.

You can validate that it doesn’t have this problem by doing:

iw reg get

and confirming that it’s 00.