X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/blobdiff_plain/f21539e9a5f0ab1eb4e3daf9293b01bfd5b317a3..d3914e4821cb9a186ec4c0a01d052fa5bcf48c9c:/NOTES?ds=sidebyside diff --git a/NOTES b/NOTES index b57d492..53bce11 100644 --- a/NOTES +++ b/NOTES @@ -58,10 +58,20 @@ thread, and a load-balancer thread. The loop terminates when process::still_running() returns false. (read the source for full details...) -Open questions -============== - * definition of load on heterogeneous hosts? - * how to detect convergence? - : No need to detect convergence. Computation stops when there - nothing more to do. - * how to manage link failures? +Some notes about *load attributes +================================= +process::real_load Current *real* load. + Used for the computations. + Displayed in log messages. + +process::expected_load Current load estimation. + Used for load-balancing estimation, and for + diffusing to neighbors. + * Without bookkeeping, it equals real_load + minus pending sends. + * With bookkeeping, it corresponds to the + "virtual load". + +process::received_load Real load received from neighbors. + Used when receiveing data messages, and then + added to real_load.