Replies: 16 comments 14 replies
-
|
Well, why link to discord, not sure about others - but I can't read it. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
I can only comment - super interesting papers |
Beta Was this translation helpful? Give feedback.
-
|
Have created PR - Autotune delays based on White Paper 1 |
Beta Was this translation helpful? Give feedback.
-
|
I see that official contributors (I'm not official contributor - this is my first PR) are not convinced that delay autotune is something required to add to the code. I had a very short discussion at discord and conclusion is so far - "show results of tests", so can't say if PR is going to be accepted. On top, I'm not sure, I have the right environment. @KPrivitt do you have convincing test results? The more popular solution becomes, the less users take care to configure it properly. That for sure I can see in my area :( |
Beta Was this translation helpful? Give feedback.
-
|
Dears, I took the simulator written by Matthew repo - made a fork to add missing features, which were not Matthew focus - like:
Couple of more things, hard to count all - aiming to simulate as close as possible. Now my ask - I need 2nd pair of eyes - help with:
My biggest struggles are:
You may contact me directly under mail: cgpsmapper at gmail.com or through the fork I prepared (I'm using - as Matthew - claude too) - meshcore_sim |
Beta Was this translation helpful? Give feedback.
-
|
So...
I need someone else to check my approach. Just to sum-up briefly results: delivered - direct messages delivery rate BUT - I'm more and more cautious for the numbers - as I'm still not convinced that I've put into test the right scenario. |
Beta Was this translation helpful? Give feedback.
-
|
Last couple of days spent on improving my simulator and test topology data.
I'm looking for ppl willing to test their topology, provide test scenarios. |
Beta Was this translation helpful? Give feedback.
-
|
Impressive work. I'm presuming that you ran the suite of txdelay, direct.txdelay and rxrelay against the various 185 repeaters and other nodes. The acks and channel percentage are the percent that were successfully received. (does the simulation give you a reason for non-delivery, like collision, which I believe is the primary cause). The "generated table" was the result of the simulation, suggesting that this might be a suitable one to be used in the algorithm. (My example table in the paper was "close" but tended to have lower values, my intellectual best guess). Can you run a simulation with everyone set to the defaults? This is the true "baseline", since it seems most repeater/node owners are not aware of the ability to set these. Since the algorithm would be automatic, this is the improvement we should expect to see across the mesh. Regarding topologies, I would run a Sparce, Medium, Dense and Regional, but with a range of SNR. For example run Sparce with 4 neighbors, one with a strong (12dBm) SNR, two with an OK (4-5 dBm) and one with a weak (1 dBm) which is likely a typical configuration. My roof repeaters topology is: 12 total neighbors, 4 with a SNR greater than zero (three strong one Okay), which is just inside a Medium, I recently updated the firmware so no descent stats, it's only been up for 2 days. Here is a friends repeater stats, one that has a lot of traffic. In summary, this appears to be proof that the algorithm does indeed improve the mesh and simply using the defaults is hurting the mesh. |
Beta Was this translation helpful? Give feedback.
-
|
Following. Can you summarise to a formula for manually running to get recommend values for a specific repeater? |
Beta Was this translation helpful? Give feedback.
-
|
Dears, After very intense last days - I have a preliminary discovery report: Delay autotune - along with all the sources, steps, files, scripts. I'm surprised by the final verdict. I don't want to force you to go to this (pretty long) document to find the answer I did not expect. But before that - let me express that once again - it is simulation only - even if I spent significant time to make it as real as I can (and my rusty knowledge from University time allows me) - I may do some obvious mistakes I simply don't see. OK, and now answer... Meaning - that the actual default already in MeshCore are not optimal. |
Beta Was this translation helpful? Give feedback.
-
|
Rx and tx delays of 0 means they are not in use? |
Beta Was this translation helpful? Give feedback.
-
|
Very interesting and unexpected results. A couple of comments from real life:
I actually asked AI how MeshCore routing worked, I was curious how it determined the path from an ACK when the ACK doesn't include the path. So, I investigated and I wrote a White Paper two days ago on this. During the session I had to correct the AI by stating my observed behavior. It corrected itself about a dozen times, I finished the paper but I had a nagging inconsistency. After a little more research, I asked a few pointed question and it turned out the entire paper was wrong. The AI had used Meshtastic, but even some of the Meshtastic routing was wrong, it was using general routing mechanisms and crunched them all together. I believe I now understand MeshCore routing and it is what I started with and I now understand how the path is determined (from all the Flood ACKs received back across the Mesh, and some/many? get dropped due to collisions). So, I no longer trust AI, but it is a great tool to fix coding errors.
I am perfectly happy to accept this result, but I don't have a good understanding of the underlying mechanism that is improving delivery in the presence of increasing collision. Increasing density does increase the overall number of collisions, dense environments are the worst situation, and collisions do cause messages to fail. My intuition says to look at the overall number of collisions, not delivery. Are we seeing a situation the one packet is avoiding them and successfully delivered? (1 is very close to 0 ;-) But I want to Thank You! again, some very impressive work. If collisions are reduced in the real world, then message delivery will improve (my intellectual belief, and I think it reflects reality). Let the discussion begin... |
Beta Was this translation helpful? Give feedback.
-
|
I think we are at a place where someone who is really intimate with the protocol needs to chime in. For me, it is not clear whether we should optimize for a minima of collisions or a maxima of what the model calls a successful delivery. |
Beta Was this translation helpful? Give feedback.
-
|
This is picture from my visualization tool - it show how single message propagate. Full box is TX, empty - RX. Single message is creating a lot of collisions with itself - in attached picture - there are (nearly) no other messages competing for space. |
Beta Was this translation helpful? Give feedback.
-
|
Meshtastic interference was mentioned, but it's not the only thing that operates on this frequency. Local to me we have cell service on the 900mhz band, smart meters sending data on the same as well. |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Attached are two document that examines the various repeater parameters (rxdelay, txdelay, direct.txdelay, CR) and proposes a density metric to automatically adjust them to optimize a repeater for its current environment. By automating this, the entire mesh would improve (collisions would be reduced) and repeater owners that leave their repeaters at the non-optimum default values would have them automatically adjusted to an improved value.
Comments for improvements and corrections would be greatly appreciated.
https://discord.com/channels/1343693475589263471/1482520833476919427/1482520833476919427
https://discord.com/channels/1343693475589263471/1482520833476919427/1483211551463833772
Beta Was this translation helpful? Give feedback.
All reactions