25.06.2015 Views

Administering Platform LSF - SAS

Administering Platform LSF - SAS

Administering Platform LSF - SAS

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 15<br />

Goal-Oriented SLA-Driven Scheduling<br />

Configuring Service Classes for SLA Scheduling<br />

Configure service classes in<br />

LSB_CONFDIR/cluster_name/configdir/lsb.serviceclasses. Each<br />

service class is defined in a ServiceClass section.<br />

Each service class section begins with the line Begin ServiceClass and ends<br />

with the line End ServiceClass. You must specify:<br />

◆ A service class name (the name you use cannot be the same as an existing<br />

host partition name)<br />

◆ At least one goal (deadline, throughput, or velocity) and a time window<br />

when the goal is active<br />

◆ A service class priority<br />

All other parameters are optional. You can configure as many service class<br />

sections as you need.<br />

User groups for service classes<br />

Service class priority<br />

You can control access to the SLA by configuring a user group for the service<br />

class. If <strong>LSF</strong> user groups are specified in lsb.users, each user in the group<br />

can submit jobs to this service class. If a group contains a subgroup, the service<br />

class policy applies to each member in the subgroup recursively. The group<br />

can define fairshare among its members, and the SLA defined by the service<br />

class enforces the fairshare policy among the users in the user group<br />

configured for the SLA.<br />

By default, all users in the cluster can submit jobs to the service class.<br />

A higher value indicates a higher priority, relative to other service classes.<br />

Similar to queue priority, service classes access the cluster resources in priority<br />

order.<br />

<strong>LSF</strong> schedules jobs from one service class at a time, starting with the highestpriority<br />

service class. If multiple service classes have the same priority, <strong>LSF</strong> run<br />

all the jobs from these service classes in first-come, first-served order.<br />

Service class priority in <strong>LSF</strong> is completely independent of the UNIX scheduler’s<br />

priority system for time-sharing processes. In <strong>LSF</strong>, the NICE parameter is used<br />

to set the UNIX time-sharing priority for batch jobs.<br />

<strong>Administering</strong> <strong>Platform</strong> <strong>LSF</strong> 243

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!