Define ncpus: processors, cores, or threads

An EGO cluster administrator must define how ncpus is computed. Usually, the number of available EGO slots is equal to the value of ncpus; however, slots can be redefined at the resource group level. The ncpus definition is globally applied across the cluster.

Procedure

  1. Open ego.conf.
    • Linux®: $EGO_CONFDIR/ego.conf
    • Windows: %EGO_CONFDIR%\ego.conf
  2. Define the parameter EGO_DEFINE_NCPUS=[procs | cores | threads].
    Set it to one of the following:
    • procs (where ncpus=procs)
    • cores (where ncpus=procs *cores)
    • threads (where ncpus=procs *cores * threads)

    By default, ncpus is set to cores.

    Note: In clusters with older LIM daemons or services that do not recognize cores and threads, this parameter is ignored. In clusters where only the primary LIM recognizes cores and threads, the primary LIM assigns defaults values.
    Tip: As a best practice, set EGO_DEFINE_NCPUS instead of EGO_ENABLE_DUALCORE. The functionality of EGO_ENABLE_DUALCORE=y is preserved by setting EGO_DEFINE_NCPUS=cores.
  3. Save and close ego.conf.
  4. Restart EGO.