From 931d43e25135928d50ed56076c8c0c60810b0e09 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Sat, 10 Jun 2023 15:19:15 +0200 Subject: [PATCH] docs: refine changelog entries MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- CHANGELOG.md | 4 ++++ src/pools/selection-strategies/README.md | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ea36db29..ab140662 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Added + +- Add worker choice strategy documentation: [README.md](./src/pools/selection-strategies/README.md). + ### Fixed - Fix average statistics computation: ensure failed tasks are not accounted. diff --git a/src/pools/selection-strategies/README.md b/src/pools/selection-strategies/README.md index a370e736..7377bc39 100644 --- a/src/pools/selection-strategies/README.md +++ b/src/pools/selection-strategies/README.md @@ -14,7 +14,7 @@ The worker weights are maximum tasks execution time, once the worker has reached ### Interleaved weighted round robin The worker weights are maximum tasks execution time. The rounds are the deduplicated worker weights. -During a round, if worker weight is inferior to the current round, the task is assigned to the next worker. Once the all workers have been assigned a task, the next round starts. +During a round, if worker weight is inferior to the current round, the next task is assigned to the next worker. Once the all workers have been assigned a task, the next round starts. The worker default weights are the same for all workers and is computed given the CPU cores speed and theirs numbers. So the default rounds consists of a unique worker weight. ## Statistics -- 2.34.1