-
Notifications
You must be signed in to change notification settings - Fork 406
HIP 94: Response Time Windows for Witness Rewarding #764
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Nice to see you back on helium community Neil ;) The HIP dos not assume HIP-83 is the only reason of hotspot fleet decrease, it shows that there is an acceleration starting after HIP-83 and does not includes data after halving. Even if the HIP83 is not causing any decrease, all the data clearly show that it did not slow done the decrease. One of the purpose of HIP-83 you told me (and has also been repeated in discord today) was "to reduce number of hotspots in dense area" - even if this is not written in the HIP - if you maintain this objective, to be honest I don't see how this can be achieved without reducing the number of hotspots. So it important to take a position, do you want HIP-83 to reduce the number of hotspot and in this case the figure shows in this HIP make it a success, or you want HIP-83 to help maintaining a strong & large network and in this case it seems to be a failure. The graph with the number of rewarded hotspot within a day does not show the disconnected devices, this metric is important and it is linked in the HIP but it does not prove that we are in a good situation, it just show a continuous decrease. I prefer also to look at hotspot disconnection (the one you never see again) to understand when things impacts and what is the real situation, the reward distribution is hiding a big part of the problem in particular all the hotspot that don"t get rewards because the coverage around have been removed. Session key is a good thing, HIP83 helped to accelerated the discovery of it for sure, this will not be impacted by this HIP proposal. Basically with the session key deployment, all the purpose of the HIP-83 is becoming not applicable as the response time for witnessing will become totally uncorrelated with the data response time. (Session key optimization does not impact the current witness performance. It only impacts data transfer) As a consequence, session key improvement conducts to the need for this HIP. We need to consider through the witness time the ability for a hotspot to transfer the data in a correct timing in regard of the LoRaWan network timing constraints, in regard of the different parameter of variability we can have between hotspots. ECC calculation is one of these variation impacting the PoC process but not impacting the data transfer anymore. |
Feedback from the community to add in the HIP (as a reminder)
|
Feedback from the community to add in the HIP (as a reminder)
|
What does this mean? A Hotspot can't witness itself. |
Well they do, but its ignored for rewards, so I guess that this is for clarity of how many are counted in the timing windows. |
Feedback from the community to add in the HIP (as a reminder)
|
exactly |
Feedback from the community to add in the HIP (as a reminder)
|
Feedback from the community to add in the HIP (as a reminder)
Personal point of view, that may be a really good reason to not give reward to slow hotspot that could impact the uplink data quality & communication costs |
upside of the hip83 exercise is that we did end up finding that the standard OEM driver was very slow and some optimizations are available to get it within the same ballpark as the ecc signing speed. |
This comment was marked as abuse.
This comment was marked as abuse.
do we have some measurement update we could add in the HIP for the different brands ? and a refresh of the reward distribution per brand ? It would be great to use the last / updated data in the HIP |
HIP 94 will be closed in 2 weeks unless the HIP is updated without multiple options and includes the supporting data. |
Personally I'm in agreement that we should not penalize hardware that is slightly slower so much, as long as it leaves plenty of time for the lorawan timing requirements. I think the only comment I might make is to make it a weighted selection from the qualifying witnesses. We should strive for the fastest response times both from a QoS perspective but also from a anti-gaming perspective. |
Any thoughts on adding weighting @disk91 ? |
example 3 needs updating: Example 3 10 within MAX_WITNESS_WAIT_WINDOWS_MS 200ms Oracle will reward all the SELECTED, then will randomly choose 6 (14-8) of the 8 witnesses marked as VALID and reward them. Assuming default_max_witnesses_per_poc is 14 should be 4 more chosen from valid for a max of 14, 10 were in the max wait. |
I am opposed to implementing a weighted selection process that favors the quickest response times. HIP 83 aimed to decrease the concentration of hotspots in dense areas. I believe that all participants providing coverage within a specific time window (like 200 ms), should be rewarded equally, regardless of their equipment (hotspot, internet,...). I run a hotspot located 10 km away from the next one. I guess that's a low-density area where you want more hotspots? Yet this is the consistent feedback my hotspot receives:
I earn 0 for witnessing. The issue is that my hotspot can only connect with other hotspots in a city (dense area) about 20 km away. Using a weighted selection that rewards those with quicker response times will only perpetuate the advantage for hotspots in such dense areas, since there'll always be many that respond faster than mine (while providing no useful coverage). Consequently, my hotspot, which provides important coverage in a low-density area, will continue to go unrewarded, like it did since HIP 83. |
HIP 94: Response Time Windows for Witness Rewarding
Summary
Currently the Proof-of-Coverage Oracles reward the 14 first hotspots (defined in default_max_witnesses_per_poc ) reporting a witness. This rewards the fastest hotspots, incentivizing fiber backhauls and specific hardware models that happen to be able to produce fast signatures. The result is that the same hotspots are selected, making others unviable even if they provide unique and useful coverage for the network. In other words, it punishes hotspots for falling short of millisecond optimizations when the LoRaWAN protocol functions to the order of seconds - see also.
A hotspot’s utility in providing LoRaWAN coverage is based on measuring “good enough” response times, not absolute fastest as absolute speeds provides no marginal utility, the Uplink does not have a particular time-window, the downlink time windows is up to 2 seconds, and the Join process up to 6 seconds.
Since HIP-83, changing the way hotspot are selected, we see an acceleration of hotspots not participating to PoC anymore conducting to network size reduction.
This HIP proposes to evolve the hotspot selection by adding a response time window to eliminate only
slow hotspots that fail to meet LoRaWAN-grade timing constraints and push helium hotspots to improve their reponse time, over time, reasonably.
Rendered View
https://github.com/helium/HIP/blob/main/0094-response-time-windows-for-witness-rewarding.md
The text was updated successfully, but these errors were encountered: