The following service class configures an SLA with a simple deadline goal with a half hour time window.
Begin ServiceClassNAME = QuadraPRIORITY = 20GOALS = [DEADLINE timeWindow (16:15-16:45)]DESCRIPTION = short windowEnd ServiceClass
Six jobs submitted with a run time of 5 minutes each will use 1 slot for the half hour time window. bsla shows that the deadline can be met:
bsla QuadraSERVICE CLASS NAME: Quadra-- short windowPRIORITY: 20GOAL: DEADLINEACTIVE WINDOW: (16:15-16:45)STATUS: Active:On timeESTIMATED FINISH TIME: (Wed Jul 2 16:38)OPTIMUM NUMBER OF RUNNING JOBS: 1NJOBS PEND RUN SSUSP USUSP FINISH6 5 1 0 0 0
The following illustrates the progress of the SLA to the deadline. The optimum number of running jobs in the service class (nrun) is maintained at a steady rate of 1 job at a time until near the completion of the SLA.
bsla shows the configuration and status of two service classes Qualicum and Comox:
Qualicum has a deadline goal with a time window which is active overnight:
bsla QualicumSERVICE CLASS NAME: QualicumPRIORITY: 23GOAL: VELOCITY 8ACTIVE WINDOW: (8:00-18:00)STATUS: InactiveSLA THROUGHPUT: 0.00 JOBS/CLEAN_PERIODGOAL: DEADLINEACTIVE WINDOW: (18:00-8:00)STATUS: Active:On timeESTIMATED FINISH TIME: (Thu Jul 10 07:53)OPTIMUM NUMBER OF RUNNING JOBS: 2NJOBS PEND RUN SSUSP USUSP FINISH280 278 2 0 0 0
Comox has a velocity goal of 2 concurrently running jobs that is always active: