

Introduction › Optimize CPU Usage
Optimize CPU Usage
CPU problems normally occur when too many processes are requesting service at the same time. The first sign of CPU problems is when processes begin to take a lot longer than usual to complete. In extreme cases, thrashing occurs. Thrashing occurs when the CPU becomes so consumed with moving memory back and forth from disk that no time is left for processing user requests. Then, programs are placed in a wait state for CPU.
To correct minor CPU problems like slow processing and avoid severe CPU problems like thrashing, consider the following tips:
- Enable parallel processing, if possible, by spreading concurrent processing across multiple CPUs/servers. The more processes sharing a single CPU, the higher the risk of a CPU shortage.
- Direct processing of the largest jobs to the fastest CPU. Process elapsed time tends to decrease as CPU speed increases.
- Adjust priority settings to ensure time-critical processes are run first.
- Schedule long running encyclopedia processes to execute during non-peak hours, where practical. For example, a process, which causes a sequential search algorithm against a large model, is better suited to execute during off-hours.
- To the extent practical, spread the processing workload evenly across time. Establish a site schedule to coordinate what encyclopedia processes are run at different times.
- Add memory to reduce swapping and paging demands on the CPU.
- Optimize memory usage and disk usage.
- Get a faster CPU.
Copyright © 2013 CA.
All rights reserved.
 
|
|