Skip to content

Commit

Permalink
Merge pull request #505 from cmoussa1/issue#502
Browse files Browse the repository at this point in the history
guide: add note about configuring factor weights
  • Loading branch information
mergify[bot] authored Oct 14, 2024
2 parents 459bfef + 2529a61 commit 33466cb
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions doc/guide/accounting-guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,19 @@ the multi-factor priority plugin are:

* **urgency**: a user-controlled factor to prioritize their own jobs.

Each of these factors can be configured with a custom weight to increase their
relevance to the final calculation of a job's integer priority. By default,
fair-share has a weight of 100000 and the queue the job is submitted in has a
weight of 10000. These can be modified to change how a job's priority is
calculated. For example, if you wanted the queue to be more of a factor than
fair-share, you can adjust each factor's weight accordingly:

.. code-block:: toml
[accounting.factor-weights]
fairshare = 1000
queue = 100000
In addition to generating an integer priority for submitted jobs in a Flux
system instance, the multi-factor priority plugin also enforces per-association
job limits to regulate use of the system. The two per-association limits
Expand Down

0 comments on commit 33466cb

Please sign in to comment.