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 /config.toml | |
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 'config.toml')
-rw-r--r-- | config.toml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/config.toml b/config.toml index 9536234..15843de 100644 --- a/config.toml +++ b/config.toml @@ -174,12 +174,14 @@ verify_images_present = true name = "testhostname" uri = "http://0.0.0.0:8095" # the URI of the endpoint. Either http or socket path endpoint_type = "http" # either "http" or "socket" -speed = 1 # currently ignored, but required to be present # maximum number of jobs running on this endpoint. # Set this to a reasonable high number to be able to run a lot of small jobs. # For example, if you're compiling with `make -j 1`, this should at least be the # number of CPU cores, maybe a bit more (eg. (ncpu * 1.1)) +# +# Also, if two nodes have the same number of running jobs, and a new job comes +# in, the node with more "free slots" will be considered first. maxjobs = 1 |