In my current setup (debian squeeze x64, 6 cpus) neither java nor apache seem to utilitze the full potential of the server. The munin monitoring shows cpu usage never exceeds the 200% mark. We ran several stress tests which raised the server load up to 80, but the cpu usage always remained low. Any ideas?
1 Answer
Have a look at this document about optimizations for running on multi-core systems
There's a heap of stuff in there, everything from how to structure code to stuff like numactl for controlling processor affinity.
top
or other utilities, CPU usage is working as expected.