Hi Paul,
I've added two more configuration options for you that will be in the
version 14.03.1 release:
-- Added SchedulerParameters option of max_sched_time to limit how long the
main scheduling loop can execute for.
-- Added SchedulerParameters option of sched_interval to control how
frequently
the main scheduling loop will execute.
Quoting [email protected]:
In defer mode, the main scheduling loop runs once per minute, but
most of your jobs will typically be scheduled by the backfill
scheduler instread (although that depends upon your configuration).
The backfill scheduler typically test far more jobs since it can
periodically reliquish locks to let other RPCs be processed, while
the main scheduling loop just gives up after a few seconds. Use
SchedulingParameters=bf_interval=#,... to specify the frequency at
which the backfill scheduler runs.
I'll make the main scheduling loop frequency configurable in the
next release, but today it is not configurable without changing the
code. See the variable PERIODIC_SCHEDULE in
src/slurmctld/slurmctld.h if you care to change the frequency today.
Quoting Paul Edmon <[email protected]>:
So if you are running in defer mode for the scheduler what
determines the frequency of the main loop for the scheduler? Can
this be changed?
-Paul Edmon-