I have a question and a suggestion. I need to meet following conditions:
- I need to use queue priorities
- I need to use fairshare
- if queues have the same priority I need to sort the jobs acccording to fairshare (I actually need by_queue = false for queues with same priority)
AFAIK there is no way how to meet this conditions together. Am I missing something?
If I use by_queue=True the third condition is broken. If I use by_queue=False the first condition is broken.
I would like to suggest to add a new bool options to the sched_config “fair_share_with_priority”, which allows to respect queue priority together with fairshare and with by_queue=false.
Setting the “fair_share_with_priority = true” simply means: Sort the jobs according to queue priority first. If the queue priority is equal sort according to fairshare.
I already prepared a patch for this. Is it interesting? What do you think?