Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This is a design proposal to configure PBS in a way that it releases only limited number of resources (as specified by the admin) when a job is suspended.

...

  • Visibility: Public
  • Change Control: Stable
  • Details:
    • A new server attribute “restrict_res_to_release_on_suspend” is a comma separated list of resource names. The resources that get released on suspension will be restricted to the resources listed in "restrict_res_to_release_on_suspend".
    • This server attribute is of type “arraystring_string” arrayand can only be set by a manager. Python type of this attribute is string.
    • If a manager is trying to set the attribute with a resource which is non existent then following error will be thrown on the console by qmgr command - 

...

This attribute is of type string and can only be read by user/operator/manager. This attribute is internally set by server when a job is suspended. Python type of this attribute is string.

It stores a string that depicts the amount of resources that are released on each node that the job was running on (provided these resources are also part of “restrict_res_to_release_on_suspend” string). The format of the string is similar to that of exec_vnode

...

This attribute is of type “resource_list” and can only be read by user/operator/manager. This attribute is internally set by server when a job is suspended. Python type of this attribute is pbs_resource.

It stores the cumulative value of all the consumable resources requested by the job (provided these resources are also part of “restrict_res_to_release_on_suspend” string).

...