Java performance: multi threading CPU usage

JianJunShen
JianJunShen used Ask the Experts™
on
Hi: I have a Java multi thread application. When user goes from 10 to 20, 20 to 40, 40 to 80, cpu usage is normal, from 5% to 10%, then from 10% to 20%, after that from 20% to 40%. But when user number goes from 80 to 160, then cpu usage is up to 160% (two core). This is too much. We are checking how to trace cpu usage. Are there some idea? Since Java itself has API to check time duration, memory consumption, but no cpu usage API.  
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Top Expert 2016
Commented:

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial