]> AND Private Git Repository - loba.git/blobdiff - NOTES
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
Stop locking the mutex on data_receive.
[loba.git] / NOTES
diff --git a/NOTES b/NOTES
index da97c1b7d931932e6731a146a82bc34209c49531..53bce11e7e31fe340daa071eab018c3e67ddc005 100644 (file)
--- a/NOTES
+++ b/NOTES
@@ -57,3 +57,21 @@ thread, and a load-balancer thread.
 
   The loop terminates when process::still_running() returns false.
   (read the source for full details...)
+
+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.