wlm_disp_cpu_shares - Workload manager dispatcher CPU shares configuration parameter
This parameter enables (YES) or disables (NO) the control of CPU shares by the Db2® workload manager (WLM) dispatcher. By default, an enabled WLM dispatcher controls only CPU limits.
- Configuration type
- Database manager
- Applies to
-
- Database server with local and remote clients
- Database server with local clients
- Partitioned database server with local and remote clients
- Parameter type
- Configurable Online
- Propagation class
- Immediate
- Default [range]
- NO [NO; YES]
When upgrading Db2 database manager, the value of the wlm_disp_cpu_shares database manager configuration parameter is NO.
If the value of the wlm_dispatcher database manager configuration parameter is set to YES and the value of the wlm_disp_cpu_shares database manager configuration parameter is set to NO, the WLM dispatcher can apply only CPU limits to the management of service classes.
If the value of the wlm_dispatcher database manager configuration parameter is set to YES and the value of the wlm_disp_cpu_shares database manager configuration parameter is set to YES, the WLM dispatcher can apply both CPU limits and CPU shares to the management of service classes. By default, all service classes are assigned 1000 hard CPU shares to ensure an equal division of CPU resources.
Service class management | Setting of wlm_dispatcher | Setting of wlm_disp_cpu_shares |
---|---|---|
None | NO | NO |
CPU limits | YES | NO |
CPU limits + CPU shares | YES | YES |