Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

Follow the PBS Pro Design Document Guidelines.

Overview

The special pbs_mom.cpuset binary is only used in HPE systems MC990X/UV300 and ICE-X to run jobs using cpusets. There's special code in pbs_mom that is enclosed in #ifdef MOM_CPUSET that is compiled to create pbs_mom.cpuset. Now cgroups also supports cpusets, and running the standard pbs_mom with pbs_cgroups hook enabled works just as well.

Instead of running pbs_mom.cpuset, one can just enable the pbs_cgroups hook using the following steps:

  1. qmgr -c "export hook pbs_cgroups application/x-config default pbs_cgroups.cf"
    This will create a file called "pbs_cgroups.cf" in the current directory.
  2. edit the pbs_cgroups.cf file and set "vnode_per_numa_node" to true
    Example: "vnode_per_numa_node" : true
  3. Edit the pbs_cgroups.cf file and set "use_hyperthreads" to true
    Example: "use_hyperthreads" : true
  4. Re-import the updated hook config file:
    qmgr -c "import hook pbs_cgroups application/x-config default pbs_cgroups.cf"
  5. Enable the cgroups hook:
    qmgr -c "set hook pbs_cgroups enabled=true"
  6. kill -HUP each pbs_mom so it can get the latest hook information


For sites with large NUMA machines and machines with GPUs, it is recommended to set vnode_per_numa_node to true.




OSS Site Map

Project Documentation Main Page

Developer Guide Pages



  • No labels