Table of Contents

NAME

lsloadadj - adjust the load condition data of hosts

SYNOPSIS

lsloadadj [ -h ] [ -V ] [ -R res_req ] [ host_name[:num_task] ... ]

DESCRIPTION

Send a load adjustment request to the LIM. This is useful if a task placement decision is made outside of LIM by an application itself. Upon receiving such a request, LIM temporarily increases the load on the designated hosts (host_name) according to the resource requirements. This helps LIM to avoid sending too many jobs to the same host in quick succession. The inflated load decays slowly over time before the real load produced by the dispatched task is reflected in LIM's load information.

lsloadadj will adjust all indices with the exception of ls (logins), it (idle time), r15m (15-minute run queue length) and external load indices.

OPTIONS

-h Print command usage to stderr and exit.

-V Print LSF release version to stderr and exit.

-R res_req
Specify the resource requirements of the exported task(s). Only the resource usage section of the resource requirement string is considered (see lsfintro(1) ). This is used by LIM to determine by how much the individual load indices are to be adjusted. For example, if the task(s) is CPU intensive, then the load adjustment on the CPU load indices is higher; other indices are increased only slightly. The default is to assume that tasks are CPU and memory intensive.

host_name[:num_task] ...
Specify a list of hosts for which the load is to be adjusted. num_task indicates the number of tasks to be started on the host. The default value is one. If no host name is given, the load of the local host is adjusted.

EXAMPLES

% lsloadadj -R «rusage[swp=20:mem=10]"
adjust the load indices swp and mem.

DIAGNOSTICS

return -1 if a bad parameter is specified, otherwise 0 is returned.

SEE ALSO

lsinfo(1) , lsplace(1) , lsload(1) , ls_loadadj(3)


Table of Contents