Resources are reclaimed by resource owners with an unsatisfied demand. If you want to control how long workload runs on the borrowed resource once reclaimed, set a grace period. Specify this property when you first create a consumer, or modify it at any time. If you do not specify a grace period or specify one with the value 0, the default of 120 seconds is used.
- Plan the ranking of your consumers knowing that resources are reclaimed based on their rank; those leaf consumers with a lower consumer rank are reclaimed before consumers with a higher rank.
Example 1: If a lending consumer has unsatisfied demand and requires that its lent resources be reclaimed, EGO looks to reclaim resources starting with leaf consumers with the lowest consumer rank.
Example 2: If a lending consumer has a specific resource requirement (for example, the lending consumer needs a Windows slot with a certain amount of available memory), EGO reclaims the first lent resource it finds that matches this requirement. Borrowing leaf consumers with the lowest consumer rank are considered first, followed by leaf consumers with a higher consumer rank.
- Click Consumers & Plans.
A list of any existing consumers at that level in your tree displays.
- Create a new consumer, or locate and click the level on your tree that an existing consumer belongs to.
You can modify any consumer at any level of your existing tree, but do not modify the built-in ManagementServices consumer. You may see different fields for different levels of consumers in your tree.
- Click Consumer Properties.
The Consumer Properties page displays.
- Specify a reclaim grace period.
The reclaim grace period is applied when a resource belonging to another consumer is now being reclaimed by its owner consumer. Setting the reclaim grace period high (compared to the average length of your workload) allows workload to finish before the resource is reclaimed. Setting the reclaim grace period to 1 terminates all workload running and reclaims the resource within one second.
Set the reclaim grace period high (compared to the average length of your workload) to allow workload to finish before the resource is reclaimed.
Set the reclaim grace period to 1 to terminate all workload running and to reclaim the resource quickly.
For example, if you set the grace period to 10 seconds, workload continues to run on the borrowed resource for 10 seconds after the EGO initiates the resource reclaim. If you set the grace period to 1, any running workload is terminated almost immediately.
- Check the Rebalance when time intervals change box.
If you want EGO to “rebalance” or reset to the originally configured resource plan whenever a time interval change occurs (when there is a change in ownership of resources), check this box. Similarly, when resources are reclaimed (or passed back to their original owners), you can evoke a rebalancing in accordance with the original resource plan.
Before EGO rebalances according to the resource plan, a consumer’s grace period is honored to help ensure workload is complete before being killed.
- Click Apply.