Description of problem: Performance decreases between 40-60% when performing software builds on a 24-core system vs. performing the identical builds on identical hardware with less cores (for example 2-4 cores). We speculate this to be a CPU scheduler issue. The current mainline kernel compiled with identical options as Red Hat supplied kernel behaves as expected; the more cores you activate, the better the performance.
Version-Release number of selected component (if applicable):
Verified the following, but suspect all 2.6.18 Red Hat kernels:
How reproducible: Always.
Steps to Reproduce:
1. Boot a machine with 4 logical CPUs, perform a build (run make -j4 on new kernel tree as an example, though any CPU intensive task will do if you populate all cores).
2. Boot the same machine with 24 logical CPUs, perform the same build. Note the performance degradation (usually 40-60%).
3. Boot the same machine with 24 logical CPUs, with the latest mainline kernel - 126.96.36.199 - with the same config options as the Red Hat supplied kernels. Perform the same build. Note the performance increase (typically 40-60% gain).
Actual results: Performance degrades as you add logical CPUs.
Example build times on the 8 core machine with all 8 cores active:
make option,real time,kernel
-j4, 4:40, 188.8.131.52
-j4, 4:42, 184.108.40.206
-j4, 4:55, 220.127.116.11
-j8, 4:18, 18.104.22.168
-j8, 4:33, 22.214.171.124
-j4, 7:41, 126.96.36.199
-j4, 7:40, 188.8.131.52
-j4, 7:38, 184.108.40.206
-j8, 7:35, 220.127.116.11
-j8, 7:34, 18.104.22.168
Expected results: Performance increases as you add logical CPUs.
Additional info: Machines used for testing: IBM X3850 M2 (24 core [4x6-core CPUS], 64GB memory), Dell 2950 M3 (8 core [2x4-core CPUS], 16GB memory). Virtual machines on other hardware.
So far only tested on i686.
Can you do the following?
1. Upgrade your kernel to the latest RHEL5 kernel. This can be found at
2. Attach an sosreport from your system, and,
3. There is a good kernel building benchmark utility called kernbench which is available for download at
Could you run this without any options and send us the output?
Your "cpu intensive" task, is it memory intensive too?