LSF Version 7.3 - Administering Platform LSF
Administering Platform LSF 345
Goal-Oriented SLA-Driven Scheduling
Service class priority
A higher value indicates a higher priority, relative to other service classes. Similar
to queue priority, service classes access the cluster resources in priority order.
LSF schedules jobs from one service class at a time, starting with the
highest-priority service class. If multiple service classes have the same priority, LSF
run all the jobs from these service classes in first-come, first-served order.
Service class priority in LSF is completely independent of the UNIX scheduler’s
priority system for time-sharing processes. In LSF, the NICE parameter is used to
set the UNIX time-sharing priority for batch jobs.
Service class configuration examples
◆ The service class Uclulet defines one deadline goal that is active during
working hours between 8:30 AM and 4:00 PM. All jobs in the service class
should complete by the end of the specified time window. Outside of this time
window, the SLA is inactive and jobs are scheduled without any goal being
enforced:
Begin ServiceClass
NAME = Uclulet
PRIORITY = 20
GOALS = [DEADLINE timeWindow (8:30-16:00)]
DESCRIPTION = "working hours"
End ServiceClass
◆ The service class Nanaimo defines a deadline goal that is active during the
weekends and at nights.
Begin ServiceClass
NAME = Nanaimo
PRIORITY = 20
GOALS = [DEADLINE timeWindow (5:18:00-1:8:30 20:00-8:30)]
DESCRIPTION = "weekend nighttime regression tests"
End ServiceClass
◆ The service class Inuvik defines a throughput goal of 6 jobs per hour that is
always active:
Begin ServiceClass
NAME = Inuvik
PRIORITY = 20
GOALS = [THROUGHPUT 6 timeWindow ()]
DESCRIPTION = "constant throughput"
End ServiceClass
TIP: To configure a time window that is always open, use the timeWindow keyword with
empty parentheses.
◆ The service class Tofino defines two velocity goals in a 24 hour period. The
first goal is to have a maximum of 10 concurrently running jobs during
business hours (9:00 a.m. to 5:00 p.m). The second goal is a maximum of 30
concurrently running jobs during off-hours (5:30 p.m. to 8:30 a.m.)
Begin ServiceClass
NAME = Tofino
PRIORITY = 20
GOALS = [VELOCITY 10 timeWindow (9:00-17:00)] \