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.

Configuring Resource Allocation Limits<br />

Enabling resource allocation limits<br />

Resource allocation limits scheduling plugin<br />

To enable resource allocation limits in your cluster, configure the resource<br />

allocation limits scheduling plugin schmod_limit in lsb.modules.<br />

Configuring lsb.modules<br />

Begin PluginModule<br />

SCH_PLUGIN<br />

RB_PLUGIN<br />

SCH_DISABLE_PHASES<br />

schmod_default () ()<br />

schmod_limit () ()<br />

End PluginModule<br />

Configuring cluster-wide limits<br />

To configure limits that take effect for your entire cluster, configure limits in<br />

lsb.resources, but do not specify any consumers.<br />

Compatibility with pre-version 6.0 job slot limits<br />

The Limit section of lsb.resources does not support the keywords or<br />

format used in lsb.users, lsb.hosts, and lsb.queues. However, any<br />

existing job slot limit configuration in these files will continue to apply.<br />

How resource allocation limits map to pre-version 6.0 job slot limits<br />

Job slot limits are the only type of limit you can configure in lsb.users,<br />

lsb.hosts, and lsb.queues. You cannot configure limits for user groups,<br />

host groups, and projects in lsb.users, lsb.hosts, and lsb.queues. You<br />

should not configure any new resource allocation limits in lsb.users,<br />

lsb.hosts, and lsb.queues. Use lsb.resources to configure all new<br />

resource allocation limits, including job slot limits.<br />

Job slot resources Resource consumers (lsb.resources) Equivalent<br />

(lsb.resources) USERS PER_USER QUEUES HOSTS PER_HOST<br />

existing limit<br />

(file)<br />

SLOTS — all — host_name — JL/U (lsb.hosts)<br />

SLOTS_PER_PROCESSOR user_name — — — all JL/P (lsb.users)<br />

SLOTS — all queue_name — — UJOB_LIMIT<br />

(lsb.queues)<br />

SLOTS — all — — — MAX_JOBS<br />

(lsb.users)<br />

SLOTS — — queue_name — all HJOB_LIMIT<br />

(lsb.queues)<br />

SLOTS — — — host_name — MXJ (lsb.hosts)<br />

SLOTS_PER_PROCESSOR — — queue_name — all PJOB_LIMIT<br />

(lsb.queues)<br />

SLOTS — — queue_name — — QJOB_LIMIT<br />

(lsb.queues)<br />

262<br />

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

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

Saved successfully!

Ooh no, something went wrong!