Re: [lime] Fwd: [libremesh/lime-packages] Set a better defau…

Delete this message

Reply to this message
Author: gothos
Date:  
To: libremesh
Subject: Re: [lime] Fwd: [libremesh/lime-packages] Set a better default distance parameter on the WiFi conifguration (#201)
On 5/22/23 09:56, Ilario via LibreMesh wrote:
> On 5/20/23 18:48, cri via LibreMesh wrote:
>> On 20/05/23 12:28, Pedro via LibreMesh wrote:
>>> As Marek explained to me, this parameter is really related to the
>>> wait time that the radio takes for ack packages
>>>
>>>  > For short links that decreases performance because the radio will
>>> needlessly wait longer for ACK packets.
>>>
>>> https://forum.openwrt.org/t/different-distance-optimizations-for-different-frequencies/131217/10
>
> Can anyone test this on a real link?
> For example, testing the performances on a 1 km link, comparing the
> "distance" setting at "1 km" and "10 km".
> I don't have any link to test this on.
>


Hi!

Here is a test with a link that is 2100m away.
https://pic.infini.fr/gallery#FAQVRcK7/FAAHEvTC.png,Z3B2pJPZ/erXwdflW.png,3pllMRUL/DANp7otP.png,6n9T3km9/PJTQvjuL.png

The first keeping 2100m as distance, the second with 5000m and the third
10000m.
However subsequent tests gave very different results, and the link
normally has an oscillation of around 10dbm [51-64] (but this seems
common to many other devices).
But it doesn't seems clear to me how long to wait for the device to
actually apply the distance, or whether routing protocols may also
affect this time. Also I changed the distance of these devices just 2-3
days ago (after reading this thread in mailing list) from 9000m to 2100m
but also with a continuous monitoring of the throughput, via prometheus
looking at wifi_station_expected_throughput_kilobits_per_second, it
doesn't seems to change much, at least in terms of throughput.

(*There would be a link at around 1km but the oscillations and signals
of this are even worse)

>> this confirm that not exist a solution working well for all devices,
>> so o we provide different network-profiles/libremesh/default
>> for subtargets and build them for each
>> o we set really high and advise too the users how change it
>>
>> la mia opinione, e voi?
>> my opinion and yours?
>
> What I would do is provide a working default configuration, even if it
> has poor performances, and advise users on how to improve them.
>
> I think this is the standard thing in LibreMesh, that we do also for
> other cases, for example we configure AP, APname and mesh on each radio,
> even if maybe is not used; we configure the routing protocols also on
> the WAN, even if is quite never used; we configure both br-lan bridge
> and routing protocols on each ethernet port, even if this is a bad
> configuration for both of the possible uses of the port, but we do that
> so that things always work, even if not in an optimal way.
>
> In my opinion, this is a thing important enough to include also in the
> 2020.X upcoming release based on OpenWrt 19.07 (the release 2020.3 is
> ready but has not been released yet, so that we can add this small
> modification and release it as 2020.4).
>
> Additionally, another thing we coooooooooould do (maybe it is late for
> including it in a 2020.X release) is to adopt the "auto" distance
> available in ath9k wireless driver and implement it in LibreMesh:
> https://github.com/libremesh/lime-packages/issues/932
>
> Ciao!
> Ilario
>


--
gothos
PGP Key ID: 0x6406B32F2CEC0008
PGP Key server: https://keys.openpgp.org/