Platform LSF Administration Guide Version 6.2

Ways to Configure Fairshare
Administering Platform LSF
308
Ways to Configure Fairshare
Global fairshare
Global fairshare balances resource usage across the entire cluster according to one single
fairshare policy. Resources used in one queue affect job dispatch order in another queue.
If two users compete for resources, their dynamic share priority is the same in every
queue.
Configuring
To configure global fairshare, you must use host partition fairshare. Use the keyword
all to configure a single partition that includes all the hosts in the cluster.
Example
Begin HostPartition
HPART_NAME =GlobalPartition
HOSTS = all
USER_SHARES = [groupA@, 3] [groupB, 7] [default, 1]
End HostPartition
Chargeback fairshare
Chargeback fairshare lets competing users share the same hardware resources according
to a fixed ratio. Each user is entitled to a specified portion of the available resources.
If two users compete for resources, the most important user is entitled to more
resources.
Configuring
To configure chargeback fairshare, put competing users in separate user groups and
assign a fair number of shares to each group.
Example
Suppose two departments contributed to the purchase of a large system. The
engineering department contributed 70 percent of the cost, and the accounting
department 30 percent. Each department wants to get their money’s worth from the
system.
1
Define 2 user groups in lsb.users, one listing all the engineers, and one listing all
the accountants.
Begin UserGroup
Group_Name Group_Member
eng_users (user6 user4)
acct_users (user2 user5)
End UserGroup
2
Configure a host partition for the host, and assign the shares appropriately.
Begin HostPartition
HPART_NAME = big_servers
HOSTS = hostH
USER_SHARES = [eng_users, 7] [acct_users, 3]
End HostPartition
Equal Share
Equal share balances resource usage equally between users.
Configuring
To configure equal share, use the keyword default to define an equal share for every
user.