Skip to content

0.30.3 #126

Merged
merged 16 commits into from
Mar 22, 2022
Merged

0.30.3 #126

merged 16 commits into from
Mar 22, 2022

Commits on Mar 20, 2022

  1. web: Improve memory display

    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.
    donald committed Mar 20, 2022
    Configuration menu
    Copy the full SHA
    1808c31 View commit details
    Browse the repository at this point in the history
  2. mxqd: Add function could_potentially_start_job_for_user

    Factor out reusable code into a new function
    could_potentially_start_job_for_user.
    donald committed Mar 20, 2022
    Configuration menu
    Copy the full SHA
    ae0f4d7 View commit details
    Browse the repository at this point in the history
  3. mxqd: Add function can_start_job

    Factor out reusable code into new function can_start_job.
    donald committed Mar 20, 2022
    Configuration menu
    Copy the full SHA
    e59288f View commit details
    Browse the repository at this point in the history
  4. 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.
    donald committed Mar 20, 2022
    Configuration menu
    Copy the full SHA
    af76957 View commit details
    Browse the repository at this point in the history
  5. mxqd: Move df_scratch up one level

    Hoist up df_scratch one calllevel.
    donald committed Mar 20, 2022
    Configuration menu
    Copy the full SHA
    ba5e104 View commit details
    Browse the repository at this point in the history
  6. mxqd: Go into WAITING less frequently

    Only advertise WAITING state if there are jobs which could be started
    on this server.
    donald committed Mar 20, 2022
    Configuration menu
    Copy the full SHA
    fd16aeb View commit details
    Browse the repository at this point in the history
  7. 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.
    donald committed Mar 20, 2022
    Configuration menu
    Copy the full SHA
    0951952 View commit details
    Browse the repository at this point in the history
  8. 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).
    donald committed Mar 20, 2022
    Configuration menu
    Copy the full SHA
    cf98592 View commit details
    Browse the repository at this point in the history
  9. 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.
    donald committed Mar 20, 2022
    Configuration menu
    Copy the full SHA
    70c8bee View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    5a346dc View commit details
    Browse the repository at this point in the history

Commits on Mar 21, 2022

  1. 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.
    donald committed Mar 21, 2022
    Configuration menu
    Copy the full SHA
    b2e51b9 View commit details
    Browse the repository at this point in the history
  2. 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.
    donald committed Mar 21, 2022
    Configuration menu
    Copy the full SHA
    c9815df View commit details
    Browse the repository at this point in the history
  3. mx_util: Avoid false maybe-uninitialized warnings

    Add initalizations to avoid false warnings.
    donald committed Mar 21, 2022
    Configuration menu
    Copy the full SHA
    83531e8 View commit details
    Browse the repository at this point in the history
  4. Makefile: Default to -O3

    donald committed Mar 21, 2022
    Configuration menu
    Copy the full SHA
    349cbb1 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d382d81 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    46a6886 View commit details
    Browse the repository at this point in the history