• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

how can I down the CPU use rate

 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
in my program,I found i run my program,the CPU use rate is very high(often in 100% used),and after the work has compeleted,the cpu use rate not
down.and there is no empty running thread.
i can't get the reason.who can help me,and give me some advise to impove the performance!
 
Wanderer
Posts: 18671
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What OS are you using? Can you find out which process is taking up most of the CPU? On Windows use the Processes tab of Task Manager, and click on the top of the CPU column to sort by CPU usage. On Unix use the "top" command. This may give helpful clues...
 
Dingcheng lee
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
the OS on my machine is win2000 server.thanks!
 
Jim Yingst
Wanderer
Posts: 18671
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
OK, so that means you've got Windows Task Manager, right? Which process is taking up all the CPU? Is it even a java process?
 
Dingcheng lee
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
yes,is the java.exe,and now i am delete much useless operation, and now the cpu use rate down,
thanks ,my dear friends
 
Ranch Hand
Posts: 1365
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
smartHawk, we find that the Ranch is a more pleasant place when people don't use obviously fictitious names. Please review the JavaRanch Naming Policy and change your display name to comply with the guidelines. Thanks!
 
reply
    Bookmark Topic Watch Topic
  • New Topic