/AWS1/CL_SGMRESOURCESHARINGCFG¶
Resource sharing configuration.
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
iv_strategy TYPE /AWS1/SGMRESOURCESHARINGSTRAG /AWS1/SGMRESOURCESHARINGSTRAG¶
The strategy of how idle compute is shared within the cluster. The following are the options of strategies.
DontLend: entities do not lend idle compute.
Lend: entities can lend idle compute to entities that can borrow.
LendandBorrow: entities can lend idle compute and borrow idle compute from other entities.Default is
LendandBorrow.
Optional arguments:¶
iv_borrowlimit TYPE /AWS1/SGMBORROWLIMIT /AWS1/SGMBORROWLIMIT¶
The limit on how much idle compute can be borrowed.The values can be 1 - 500 percent of idle compute that the team is allowed to borrow.
Default is
50.
it_absoluteborrowlimits TYPE /AWS1/CL_SGMCOMPUTEQUOTARESR00=>TT_ABSOLUTEBORROWLIMITRESLIST TT_ABSOLUTEBORROWLIMITRESLIST¶
The absolute limits on compute resources that can be borrowed from idle compute. When specified, these limits define the maximum amount of specific resource types (such as accelerators, vCPU, or memory) that an entity can borrow, regardless of the percentage-based
BorrowLimit.
Queryable Attributes¶
Strategy¶
The strategy of how idle compute is shared within the cluster. The following are the options of strategies.
DontLend: entities do not lend idle compute.
Lend: entities can lend idle compute to entities that can borrow.
LendandBorrow: entities can lend idle compute and borrow idle compute from other entities.Default is
LendandBorrow.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_STRATEGY() |
Getter for STRATEGY, with configurable default |
ASK_STRATEGY() |
Getter for STRATEGY w/ exceptions if field has no value |
HAS_STRATEGY() |
Determine if STRATEGY has a value |
BorrowLimit¶
The limit on how much idle compute can be borrowed.The values can be 1 - 500 percent of idle compute that the team is allowed to borrow.
Default is
50.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_BORROWLIMIT() |
Getter for BORROWLIMIT, with configurable default |
ASK_BORROWLIMIT() |
Getter for BORROWLIMIT w/ exceptions if field has no value |
HAS_BORROWLIMIT() |
Determine if BORROWLIMIT has a value |
AbsoluteBorrowLimits¶
The absolute limits on compute resources that can be borrowed from idle compute. When specified, these limits define the maximum amount of specific resource types (such as accelerators, vCPU, or memory) that an entity can borrow, regardless of the percentage-based
BorrowLimit.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_ABSOLUTEBORROWLIMITS() |
Getter for ABSOLUTEBORROWLIMITS, with configurable default |
ASK_ABSOLUTEBORROWLIMITS() |
Getter for ABSOLUTEBORROWLIMITS w/ exceptions if field has n |
HAS_ABSOLUTEBORROWLIMITS() |
Determine if ABSOLUTEBORROWLIMITS has a value |