From c63b7b384f8c8f1937fce69a03f52f0177dfcef1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Mon, 12 Jun 2023 16:58:29 +0200 Subject: [PATCH] docs: refine worker choice strategies README MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- src/pools/selection-strategies/README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/pools/selection-strategies/README.md b/src/pools/selection-strategies/README.md index 7377bc39..d7619e0b 100644 --- a/src/pools/selection-strategies/README.md +++ b/src/pools/selection-strategies/README.md @@ -1,5 +1,7 @@ # Worker choice strategies +All duration or timestamp are expressed in milliseconds. + ## Strategies ### Fair share @@ -23,4 +25,4 @@ Worker choice strategies enable only the statistics that are needed to choose th ### Median -Strategies using the average task execution time for each worker can use the median instead. Median is more robust to outliers and can be used to avoid assigning tasks to workers that are currently overloaded. Median usage introduces a small overhead: measurement history must be kept for each worker and the median must be recomputed each time a new task has finished. +Strategies using the average task execution time for each worker can use the median instead. Median is more robust to outliers and can be used to avoid assigning tasks to workers that are currently overloaded. Median usage introduces a small overhead: measurement history must be kept for each worker and the median must be recomputed each time a task has finished. -- 2.34.1