-
Notifications
You must be signed in to change notification settings - Fork 3
0.30.3 #126
Commits on Mar 20, 2022
-
The truncation of '1500 GB' to (integer) '1 TB' is missleading. Make sure, we show a decimal place. Also use binary prefixes (e.g. KiB instead of kB) and correct the computation to binary prefixes where it is wrong.
Configuration menu - View commit details
-
Copy full SHA for 1808c31 - Browse repository at this point
Copy the full SHA 1808c31View commit details -
mxqd: Add function could_potentially_start_job_for_user
Factor out reusable code into a new function could_potentially_start_job_for_user.
Configuration menu - View commit details
-
Copy full SHA for ae0f4d7 - Browse repository at this point
Copy the full SHA ae0f4d7View commit details -
mxqd: Add function can_start_job
Factor out reusable code into new function can_start_job.
Configuration menu - View commit details
-
Copy full SHA for e59288f - Browse repository at this point
Copy the full SHA e59288fView commit details -
mxqd: Do not consider "fair share"
If a user is waiting for free resources, don't start jobs for later users, even if the later user doesn't have his so-called "fair share" of the cluster. Keep the (now unnecessary) "waiting"-flag, because we are adding another clause to the condition in the next commit.
Configuration menu - View commit details
-
Copy full SHA for af76957 - Browse repository at this point
Copy the full SHA af76957View commit details -
Configuration menu - View commit details
-
Copy full SHA for ba5e104 - Browse repository at this point
Copy the full SHA ba5e104View commit details -
mxqd: Go into WAITING less frequently
Only advertise WAITING state if there are jobs which could be started on this server.
Configuration menu - View commit details
-
Copy full SHA for fd16aeb - Browse repository at this point
Copy the full SHA fd16aebView commit details -
mx_util: Mention stable sort property in comments
_mx_sort_linked_list and its macro wrapper mx_sort_linked_list currently do a stable sort. Add comments to the code and the test that this is guaranteed behaviour, because we are going to depend on it in the following commits.
Configuration menu - View commit details
-
Copy full SHA for 0951952 - Browse repository at this point
Copy the full SHA 0951952View commit details -
mxqd_control: Add new users at tail of user list
We are going to rely on the stability of the user list as a secondary preference criteria to the number of jobs running in the cluster. Put new user at the end of the user list so they start behind other waiting users and will stay behing them if the main crtieria (running_global_slot_count) is equal (e.g. zero).
Configuration menu - View commit details
-
Copy full SHA for cf98592 - Browse repository at this point
Copy the full SHA cf98592View commit details -
mxqd: Implement round-robin for equal users
Move a user, for whom a job was started, to the end of the user list. This way the server will do round-robin between users who have otherwise equal precedence based on running_global_slot_count.
Configuration menu - View commit details
-
Copy full SHA for 70c8bee - Browse repository at this point
Copy the full SHA 70c8beeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5a346dc - Browse repository at this point
Copy the full SHA 5a346dcView commit details
Commits on Mar 21, 2022
-
mxqd: Avoid user sort when server is full
Avoid sorting the user list when we are not going to start a job anyway. Also save a few source lines and remove a dead initalization.
Configuration menu - View commit details
-
Copy full SHA for b2e51b9 - Browse repository at this point
Copy the full SHA b2e51b9View commit details -
mxqd: Fix uninitialized warning
gcc shows "warning: ‘status’ may be used uninitialized in this function [-Wmaybe-uninitialized]" on higher optimization levels. The variable will not be unitialized, if the code logic and the kernel process modell and system calls work as expected, but the compiler doesn't know about that. Initialize variable to a dont-care value to silence the compiler.
Configuration menu - View commit details
-
Copy full SHA for c9815df - Browse repository at this point
Copy the full SHA c9815dfView commit details -
mx_util: Avoid false maybe-uninitialized warnings
Add initalizations to avoid false warnings.
Configuration menu - View commit details
-
Copy full SHA for 83531e8 - Browse repository at this point
Copy the full SHA 83531e8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 349cbb1 - Browse repository at this point
Copy the full SHA 349cbb1View commit details -
Configuration menu - View commit details
-
Copy full SHA for d382d81 - Browse repository at this point
Copy the full SHA d382d81View commit details -
Configuration menu - View commit details
-
Copy full SHA for 46a6886 - Browse repository at this point
Copy the full SHA 46a6886View commit details