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 “string_array” and 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 - 

...

using example in interface 2: qstat -f 1 | grep resource_released_list

         resources resource_released_list.license = 2

         resources resource_released_list.ncpus = 6

•This job attribute is populated only if “restrict_res_to_release_on_suspend” server attribute is set and has a list of legitimate resources to be released.

...