Question : Java performance: multi threading CPU usage

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.  

Answer : Java performance: multi threading CPU usage

Random Solutions  
 
programming4us programming4us