Documentation Home > Sun N1 Grid Engine 6.1 Administration Guide > Chapter 5 ManagingPolicies and the Scheduler > Administering Policies > Configuring the Functional Policy

Configuring the Functional Policy

Functional scheduling is a nonfeedback scheme fordetermining a job"s importance. Functional scheduling associates a job withthe submitting user, project, department, & job class. Functional schedulingis sometimes called priority scheduling. The functional policy thiết lập ensuresthat a defined nói qua is guaranteed lớn each user, project, or department atany time. Jobs of users, projects, or departments that have used fewer resourcesthan anticipated are preferred when the system dispatches jobs lớn idle resources.

Bạn đang xem: Machine learning in medical imaging: 8th international workshop, mlmi 2017

At the same time, full resource usage is guaranteed, because unusedchia sẻ proportions are distributed among muốn those users, projects, and departmentsthat need the resources. Past resource consumption is not taken inlớn tài khoản.

Functional policy entitlement to lớn system resources is combined with otherentitlements in determining a job"s net entitlement. For example, functionalpolicy entitlement might be combined with share-based policy entitlement.

The total number of tickets that are allotted to lớn the functional policydetermines the weight of functional scheduling among mỏi the three schedulingpolicies. During installation, the administrator divides the total numberof functional tickets amuốn the functional categories of user, department,project, job, & job class.

Functional Shares

Functional shares are assigned to lớn every thành viên of each functional category:user, department, project, job, and job class. These shares indicate whatproportion of the tickets for a category each job associated with a memberof the category is entitled lớn. For example, user davidson has200 shares, và user donlee has 100. A job submitted by davidson is entitled to twice as many user-functional-tickets as donlee"s job, no matter how many tickets there are.

The functional tickets that are allotted to each category are sharedaước ao all the jobs that are associated with a particular category.

Configuring the Functional Share Policy With QMON

At the bottom of the QMON Policy Configuration dialogbox, cliông xã Functional Policy. The Functional Policy dialog box appears.

Function Category List

Select the functional category for which you are defining functionalshares: user, project, department, or job.

Functional Shares Table

The table under Functional Shares is scrollable. The table displaysthe following information:

A list of the members of the category currently selected fromthe Function Category list.

The number of functional shares for each thành viên of the category.Shares are used as a convenient indication of the relative importance of eachthành viên of the functional category. You can edit this field.

The percentage of the functional giới thiệu allocation for thiscategory of functional ticket that this number of functional shares represents.This field is a feedbaông xã device và is not editable.

QMON periodically updates the information displayedin the Functional Policy dialog box. Click Refresh to lớn force the display torefresh immediately.

To save sầu all node changes that you make, click Apply. To cthua kém the dialogbox without saving changes, cliông chồng Done.

Xem thêm:

Changing Functional Configurations

Cliông xã the jagged arrow above the Functional Shares table to lớn open a configurationdialog box.

Ratio Between Sorts of Functional Tickets

To display the Ratio Between Sorts Of Functional Tickets, click thearrow at the right of the Functional Shares table .

User <%>, Department <%>, Project <%>, Job <%> and Job Class <%> alwaysadd up khổng lồ 100%.

When you change any of the sliders, all other unlocked sliders changeto lớn compensate for the change.

When a loông chồng is open, the slider that it guards can change freely. Theslider can change either because it is moved or because the moving of anotherslider causes this slider to change. When a lock is closed, the slider thatit guards cannot change. If four locks are closed và one lock is open, nosliders can change.

User slider – Indicates the percentage of the totalfunctional tickets to lớn allocate khổng lồ the users category

Departments slider – Indicates the percentage of thetotal functional tickets khổng lồ allocate khổng lồ the departments category

Project slider – Indicates the percentage of the totalfunctional tickets lớn allocate lớn the projects category

Job slider – Indicates the percentage of the total functionaltickets to allocate to the jobs category

Configuring the Functional Share Policy From theCommvà Line

Note –

You can assign functional shares to jobs only using QMON. No command-line interface is available for this function.

To configure the functional nội dung policy from the comm& line, usethe qconf comm& with the appropriate options.

Use the qconf -muser commvà to configurethe user category. The -muser option modifies the fmô tả parameter of the user entry tệp tin. See the user(5)man page for information about the user entry tệp tin.

Use the qconf -mu comm& to lớn configurethe department category. The -mu option modifies the fcốt truyện parameter of the access list tệp tin. See the access_list(5)man page for information about the access danh sách tệp tin, which is used to lớn representdepartments.

Use the qconf -mprj commvà to configurethe project category. The -mprj option modifies the fcốt truyện parameter of the project entry tệp tin. See the project(5)man page for information about the project entry file.

Use the qconf -mq commvà to configurethe job class category. The -mq option modifies the fnói qua parameter of the queue configuration file. See the queue_conf(5) man page for information about the queue configuration tệp tin,which is used to lớn represent job classes.

The weighting between different categories is defined in thescheduler configuration sched_conf và can be changed using qconf-msconf. The parameters lớn change are weight_user, weight_department, weight_project, weight_job, và weight_jobclass. The parameter values rangebetween 0 và 1, and the total sum of parameters must add up to 1.

How to lớn Create User-Based, Project-Based, and Department-BasedFunctional Scheduling

Use this thiết lập to lớn create a certain chia sẻ assignment of all the resourcesin the cluster khổng lồ different users, projects, or departments. First-come, first-servedscheduling is used ahy vọng jobs of the same user, project, or department.