Resource traces fully describe all scheduling relevant aspects of a batch system's compute resources. In most cases, each resource trace describes a single compute node providing information about configured resources, node location, supported classes and queues, and so forth. Each resource trace consists of a single line composed of 21 white space delimited fields. Each field is described in detail in the following table:
| Field Name | Field Index | Data Format | Default Value | Details | ||
|---|---|---|---|---|---|---|
| Resource Type | 1 | COMPUTENODE | COMPUTENODE | Currently the only legal value is COMPUTENODE. | ||
| Event Type | 2 | AVAILABLE, DEFINED, or DRAINED | - | When AVAILABLE, DEFINED, or DRAINED is specified, node will start in
the state Idle, Down, or Drained respectively.
|
||
| Event Time | 3 | <EPOCHTIME> | 1 | Time event occurred. (Currently ignored.) | ||
| Resource ID | 4 | <STRING> | N/A | For COMPUTENODE resources, this should be the name of the node. | ||
| Resource Manager Name | 5 | <STRING> | - | Name of resource manager with which resource is associated. | ||
| Configured Swap | 6 | <INTEGER> | 1 | Amount of virtual memory (in MB) configured on node. | ||
| Configured Memory | 7 | <INTEGER> | 1 | Amount of real memory (in MB) configured on node (RAM). | ||
| Configured Disk | 8 | <INTEGER> | 1 | Amount of local disk (in MB) on node available to batch jobs. | ||
| Configured Processors | 9 | <INTEGER> | 1 | Number of processors configured on node. | ||
| Resource Rack Location | 10 | <INTEGER> | 1 | Number of rack containing node. | ||
| Resource Slot Location | 11 | <INTEGER> | 1 | Number of first frame slot used by node (SP2 only). | ||
| Resource Slot Use Count | 12 | <INTEGER> | 1 | Number of frame slots used by node (SP2 only). | ||
| Node Operating System | 13 | <STRING> | - | Node operating system. | ||
| Node Architecture | 14 | <STRING> | - | Node architecture. | ||
| Configured Node Features | 15 | <STRING> | - | Square bracket-delimited list of node features/attributes. For example:
|
||
| Configured Run Classes | 16 | <STRING> | [batch:1] | Square bracket-delimited list of CLASSNAME:CLASSCOUNT pairs. | ||
| Configured Network Adapters | 17 | <STRING> | - | Square bracket-delimited list of configured network adapters. For example:
|
||
| Relative Resource Speed | 18 | <DOUBLE> | 1.0 | Relative machine speed value. | ||
| RESERVED FIELD 1 | 19 | <STRING> | - | |||
| RESERVED FIELD 2 | 20 | <STRING> | - | |||
| RESERVED FIELD 3 | 21 | <STRING> | - |
|
If no applicable value is specified, the exact string - should be entered. |
Sample Resource Trace:
COMPUTENODE AVAILABLE 0 cluster008 PBS1 423132 256 7140 2 -1 -1 1 LINUX62 AthlonK7 [s950][compute] [batch:2] [ethernet][atm] 1.67 - - -
Copyright © 2012 Adaptive Computing Enterprises, Inc.®