diff options
author | Matthias Beyer <matthias.beyer@atos.net> | 2021-03-04 14:08:10 +0100 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2021-03-04 14:30:25 +0100 |
commit | 60a3fa633a33e315c1439a9f2436fcdb48da62ae (patch) | |
tree | aa10ed05e61781d0ef25d098ad5567f613bdeeab /src/config | |
parent | 248c28c0b882930908493af94f714ce4de3706ac (diff) |
Remove relative speed setting, select endpoint by utilization instead
This patch removes the "speed" setting from the configuration, which was
introduced to set a relative speed for each endpoint, with the idea that the
scheduler then would select a faster node preferably.
Instead, the utilization of an endpoint is now calculated (number of running
jobs vs allowed maximum jobs on the endpoint), and the endpoint with lower
utilization is selected.
Signed-off-by: Matthias Beyer <matthias.beyer@atos.net>
Diffstat (limited to 'src/config')
-rw-r--r-- | src/config/endpoint_config.rs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/config/endpoint_config.rs b/src/config/endpoint_config.rs index 12a588a..13db137 100644 --- a/src/config/endpoint_config.rs +++ b/src/config/endpoint_config.rs @@ -26,14 +26,6 @@ pub struct Endpoint { #[getset(get = "pub")] endpoint_type: EndpointType, - /// Relative speed to other endpoints - /// - /// So if you have two servers, one with 12 cores and one with 24, you want to set "1" for the - /// first and "2" for the second (or "12" for the first and "24" for the second - the ratio is - /// the thing here)! - #[getset(get_copy = "pub")] - speed: usize, - /// Maximum number of jobs which are allowed on this endpoint #[getset(get_copy = "pub")] maxjobs: usize, |