A
lgorithmique
N
umérique
D
istribuée
Private GIT Repository
projects
/
loba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add units in XML files.
[loba.git]
/
NOTES
diff --git
a/NOTES
b/NOTES
index 12f082bad0e45178f1369c3af61a929b84c6c345..71e27296cc07fbd0dd958b5b016b92b4f8ea620e 100644
(file)
--- a/
NOTES
+++ b/
NOTES
@@
-12,11
+12,11
@@
messages, and data for load transfers.
Process model
=============
Process model
=============
-Each process is made of 3 threads: a receiv
er
thread, a computing
-thread, and a load-balanc
er
thread.
+Each process is made of 3 threads: a receiv
ing
thread, a computing
+thread, and a load-balanc
ing
thread.
-* Receiv
er
thread
- ---------------
+* Receiv
ing
thread
+ ---------------
-
Loop
| wait for a message to come, either on data channel, or on ctrl channel
Loop
| wait for a message to come, either on data channel, or on ctrl channel
@@
-47,10
+47,10
@@
thread, and a load-balancer thread.
---------------------
Loop
---------------------
Loop
+ | receive ctrl messages
| call load-balancing algorithm
| send ctrl messages
| sleep (min_lb_iter_duration)
| call load-balancing algorithm
| send ctrl messages
| sleep (min_lb_iter_duration)
- | receive ctrl messages
+-
send CLOSE on ctrl for all neighbors
wait for CLOSE on ctrl from all neighbors
+-
send CLOSE on ctrl for all neighbors
wait for CLOSE on ctrl from all neighbors
@@
-69,5
+69,9
@@
process::expected_load Current load estimation.
diffusing to neighbors.
* Without bookkeeping, it equals real_load
minus pending sends.
diffusing to neighbors.
* Without bookkeeping, it equals real_load
minus pending sends.
- * With bookkeeping, it corresponds to the "virtual
- load".
+ * 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.