You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Ntk_life_probability 1.4KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. == NTK_RFC 0005 ==
  2. Subject: Life probability
  3. ----
  4. This text describes a change to the Npv7.
  5. It will be included in the final documentation, so feel free to correct it.
  6. But if you want to change the system here described, please contact us first.
  7. ----
  8. Statistically the probability of a node to continue to stay up is related to
  9. its uptime, for example if the node X has an uptime of 30 seconds and the node Y of
  10. 1200 seconds, then it is more probable that the node Y will continue to stay
  11. up.
  12. For this reason we give higher credits to older nodes/gnodes, this means that
  13. in a multipath route we prefer to don't use very young nodes as main gateways.
  14. {{{
  15. A
  16. / \
  17. L K
  18. \ /
  19. N
  20. }}}
  21. Let's say K has an uptime of 600 seconds and L of 200.
  22. The node N, to reach A, will prefer the node K.
  23. === Implementation ===
  24. In order to implement this we penalize the new nodes/gnodes by increasing
  25. their rtt, in this way they will be considered as slow links.
  26. We can do this only for new nodes/gnodes 'cause we cannot trust the uptime
  27. value given by a node, but we can know for sure if that node is completely
  28. new.
  29. When the next qspn_round updates the routes the penality is removed.
  30. Another system would be counting the number of qspn_rounds the nodes took part
  31. in.
  32. If it has only partecipated in < 3 rounds it is considered young.
  33. ----
  34. related: [Netsukuku_RFC]