Platform LSF Administration Guide Version 6.2
Configuring Service Classes for SLA Scheduling
Administering Platform LSF
316
◆
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
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)] \
[VELOCITY 30 timeWindow (17:30-8:30)]
DESCRIPTION = "day and night velocity"
End ServiceClass
◆
The service class Kyuquot defines a velocity goal that is active during working
hours (9:00 a.m. to 5:30 p.m.) and a deadline goal that is active during off-hours
(5:30 p.m. to 9:00 a.m.) Only users
user1 and user2 can submit jobs to this
service class.
Begin ServiceClass
NAME =
Kyuquot
PRIORITY = 23
USER_GROUP = user1 user2
GOALS = [VELOCITY 8 timeWindow (9:00-17:30)] \
[DEADLINE timeWindow (17:30-9:00)]
DESCRIPTION = "Daytime/Nighttime SLA"
End ServiceClass
◆
The service class Tevere defines a combination similar to Kyuquot, but with a
deadline goal that takes effect overnight and on weekends. During the working
hours in weekdays the velocity goal favors a mix of short and medium jobs.