Conversation
Update Docs URL
…or changes - Add multi byte FAQ - Reword amped radio output setting numbers - Clarify repeater ID collision including distance, supercede meshcore-dev#1478 - Reference awesome meshcore for community projects. Supercede meshcore-dev#1893
Removed "see note" from RAK 4631 entry in FAQ.
Fixed an extra TOC jump link inserted by VSCode Markdown All in One VS Code extension.
fixed typos and refined multibyte sections.
add multibyte FAQ, reference awesome-meshcore community projects, minor changes
Update RAK 4631 entry in FAQ on new bootloader - removed "see note"
# Conflicts: # docs/faq.md
… - improving ACK delivery and number of ACK received - theoretically ensuring that if DM is delivered - at least one ACK is received by sender.
|
In the prior PR the frequency of the neighbor count was every 5 min. This is far too frequent and is consuming compute resources that can be utilized elsewhere. While the SNR of a received Advert can vary several dB from message to message (pings can change on every one sent) and this can affect the neighbor count (for repeaters close to the 0dB SNR threshold), but the surrounding number of repeaters actually changes very slowly. I believe the count should be done daily, twice a week or once a week. |
|
I've been watching this work across the two pull request conversations. This was a heavy lift, deserving of strong consideration amongst the devs. At a minimum, the existing defaults are not optimal. The power of the autotune algorithm approach is that it makes all repeaters "good neighbors" who will adapt their settings in harmony as the mesh evolves. |
Correct- on one hand calculating every couple of minutes is not a big burden, yet for the sake of clean code I have moved that to advert recp. Code. |
-- For the last point - very valid point, let me update that. |
It was one repeater to test this feature. The delays were set so high it effectively stopped relaying packets, everything but its admin interface was handled by other repeaters around. It stopped showing up in outbound and inbound paths. |
In fact - this is not bad thing what you observed, it’s in fact desired effect. The purpose of mesh network is NOT to ensure that every repeater is transmitting but to ensure effectivenes of the overall network. Not to go into details - ‚all the repeaters in the area carried on the transmission but your one was silent’ - if then - due to collisions - ‚all the other traffic would fails’ - your repeater will retransmit with a delay - giving the chance to deliver message, and opposite - if ‚all the other traffic’ will deliver, your one won’t be even required (it will kind of reduce density of network - what is a recommended thing). And this is the purpose of PR - to increase overall probability of delivery (ACK) - it is NOT to increase single repeater number of transmissions. Effectiveness is not coming here from how quick re-transmission is done - but is coming from probability of evading collisions with other repeaters. Hope- I’m clear in my explanation. |
|
Here are theoretical results with 2 scenarios - 1. We address the busiest routers in an organized way, 2. We address randomly routers with auto delay function. Degree Strategy (upgrade busiest nodes first)
Random Strategy (uncoordinated rollout - random repeaters uses auto-delay)
Radio Efficiency (collision-free RX ratio)
1. Mixed firmware outperforms full optimization on ACK deliveryThe best ACK rate (30%) occurs at degree 50-75%, not at 100% (27%) - as it comes from the scenario 1 - it means - addressing the most busiest repeaters
Note - around 75% we are reaching 1 ack delivered - so that's another reason to see that ass a sweet-spot setting. 2. Channel (broadcast) delivery peaks at degree 75%Channel delivery reaches 84% at degree 75% — a +22pp improvement over the 0% baseline (62%) and +12pp over full optimization (72%). 3. Degree strategy is consistently better than random
|
|
Sorry for the late comment: |
|
I'd say it's still too agressive. I've switched auto-tuning on two my repeaters pointed no the north and south of the high-rise I'm in, and dropped tx power on the companion, so nobody but them will hear it. |
Well... everything base on probability, not on feelings. However - I admit - scenario where sequences of messages is sent was not tested. |
|
@stachuman Idk about a scenario, but maybe capping the delays at maybe 20s max isn't a bad idea. |

Improving ACK delivery and number of ACK received - theoretically ensuring that if DM is delivered - at least one ACK is received by sender (we speak of probability!)
This base on an extensive simulations (over 100k simulations done - dedicated simulator built (hopefully can be used also for other purposes)) - all details and road to this PR can be traced in this discussion #2053
Proposal base on theoretical work of KPrivitt and my simulations (all source data used for simulations are available on my github page)
--
There are some differences comparing to the previous PR
set auto.tune.delays on/off
Measured performance at defaults (same 4 topologies, 6 rnd seeds each):
Proposed changes - autotune tx/direct tx delays: