From: Jérôme Benoit Date: Sat, 10 Jun 2023 13:19:15 +0000 (+0200) Subject: docs: refine changelog entries X-Git-Tag: v2.6.1~3 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=931d43e25135928d50ed56076c8c0c60810b0e09;p=poolifier.git docs: refine changelog entries Signed-off-by: Jérôme Benoit --- 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