|
|||||||||||||||||||
17.10 Grid Scheduling Policies
17.10.1 Peer-to-Peer Resource Affinity OverviewThe concept of resource affinity stems from a number of facts:
Regardless of the reason, Moab servers allow the use of peer resource affinity to guide jobs to the clusters that make the best fit according to a number of criteria. At a high level, this is accomplished by creating a number of job profiles and associating the profiles with various peers with varying impacts on estimated execution time and peer affinity. 17.10.2 Peer Allocation PoliciesA direct way to assign a peer allocation algorithm is with the PARALLOCATIONPOLICY parameter. Legal values are listed in the following table:
NOTE: The mdiag -t -v command can be used to view current calculated partition priority values. 17.10.3 Peer-to-Peer Job ProfilesBecause the quality of the fit between a given job and a given peer resource may be completely independent of any job credential, Moab uses job profiles to categorize jobs for affinity purposes. A job profile is specified using the JOBCFG parameter and allows specification of a number of jobs attributes including WALLTIME, APPLICATIONTYPE, NODECOUNT, PROCCOUNT, NETWORK, MEMORY, DISK, ARCHITECTURE or NODEFEATURES. Example
17.10.4 Peer-to-Peer Job AffinityPeer affinity is established by associating one or more job profiles with a peer resource manager interface and by tying a speed or affinity factor to that connection using the SPEED and ALLOCATIONAFFINITY attributes of the RMCFG parameter. Example
In the preceding example, the scheduler prefers to route jobs that meet the profile.smp job profile to clusterB and will also scale the walltime for these jobs by the SPEED factor. 17.10.5 Peer-to-Peer Min/Max Job AffinityIn some cases, job profiles should only be applied to ranges of resource requests. For example, a site may want to route jobs with low, medium, and high memory requirements to different locations. This can be done using Min and Max job affinities as in the following example: Example
In the preceding example, low memory jobs will have an affinity to run locally, med memory jobs will be targeted for clusterB, and high memory jobs will be targeted to run on clusterC. 17.10.6 Peer-to-Peer Job BlockingJobs can be blocked from ever running on a given cluster by setting the job profile based ALLOCATIONAFFINITY to 0. 17.10.7 Peer-to-Peer Job Automatic ProfilesIf the SPEED attribute is set to AUTO, Moab identifies jobs that meet the specified job profile criteria, monitors and records their performance, and then adjusts the effective value of SPEED and ALLOCATIONAFFINITY accordingly. Example
17.10.8 Importing External Job Profiling InformationSome systems are able to generate job profiles that can quickly model performance based on resource configuration information. This profiling information can be calculated and associated with a job profile/peer cluster pair or it can be dynamically calculated by specifying the SPEED or ALLOCATIONAFFINITY attributes as a URL. Example
In the preceding example, jobs that fit into the matlab job profile have their peer cluster relative speeds calculated by executing the /opt/bin/matlab-model program. This program is passed command line arguments that provide job and resource information and reports back an estimated speed factor.
|
|||||||||||||||||||
| © 2001-2008 Cluster Resources, Incorporated | |||||||||||||||||||