Can the processes be load balanced across the available CPUs in a system?
Issue
- A process consumes lot of cpu, can this be made to load balance accross the available cpus?
- Why is only a few of my cpu's are being used to 100% while other cpu's are idle?
- The mpstat output shows that only a few cpus are being utilized, while the others are idel :
# mpstat -P ALL
Linux 2.6.18-274.3.1.el5 (hostname) 03/21/2011
12:38:24 AM CPU %user %nice %sys %iowait %irq %soft %steal %idle intr/s
12:38:24 AM all 8.06 1.96 2.60 19.36 0.02 0.59 0.00 67.42 1871.05
12:38:24 AM 0 4.09 1.60 1.54 10.34 0.04 0.03 0.00 82.36 9.52
12:38:24 AM 1 8.30 1.61 2.88 24.55 0.00 0.63 0.00 62.03 113.64
12:38:24 AM 2 5.28 2.18 1.82 10.26 0.00 0.01 0.00 80.46 0.25
12:38:24 AM 3 12.10 1.79 3.97 33.54 0.00 1.01 0.00 47.58 184.28
12:38:24 AM 4 17.84 1.25 5.57 41.00 0.04 2.04 0.00 32.26 703.96
12:38:24 AM 5 5.94 2.35 2.28 11.80 0.04 0.70 0.00 76.89 431.83
12:38:24 AM 6 5.26 2.49 1.22 11.50 0.00 0.01 0.00 79.52 1.99
12:38:24 AM 7 5.68 2.44 1.50 11.88 0.01 0.28 0.00 78.22 425.58
Environment
- Red Hat Enterprise Linux 5
- Red Hat Enterprise Linux 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
