A. . You use a resource-allocation policy in Windows System Resource Manager (WSRM) to assign soft CPU and memory caps to processes you've identified through process-matching criteria, as I explain in the FAQs "What's Windows System Resource Manager (WSRM?)" and "How do I specify a new process for Windows System Resource Manager (WSRM) to manage?". To allocate resources to processes you've defined, you must create a resource-allocation policy by performing these steps:
- Start the Microsoft Management Console (MMC) Windows Server Resource Manager snap-in (Start, Programs, Administrative Tools, Windows Server Resource Manager).
- Right-click Resource Allocation Policies and select New Resource Allocation Policy.
- Enter a name for the policy--for example, Daytime.
- Click Add to add processes for which WSRM should allocate resources. You'll see the dialog box that the figure at Figure shows. In the Process Matching Criteria column, select the process for which you want to set limits, then enter the maximum amount of CPU you want to allocate to that process. You can also set memory limitations by selecting the Dependencies tab. Repeat this addition for each process whose resources you want to limit.
- Click OK to close the dialog boxes.
You now have a resource-allocation policy that sets the soft caps for processes that are defined on the system.