Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: CPU usage is locked at 50%?  (Read 6189 times)

0 Members and 1 Guest are viewing this topic.

maximdymok

    Topic Starter


    Rookie

    • Computer: Specs
    • Experience: Familiar
    • OS: Windows Vista
    CPU usage is locked at 50%?
    « on: November 02, 2010, 11:02:38 PM »
    Hello. Im wondering if there is a possibility that the cpu usage for one program could be locked at 50%? The program is java, and when i try to run a game in it, the game runs slow. so i looked in task manager, and no matter what i do in the game the cpu usage for javaw.exe is 50% all the time. If i exit to the menu, it drops to about 20-30%. The game is very cpu intensive, so maybe windows could lock the cpu usage? I do not have any programs installed that could possibly do this, and it only seems to lock this game, other ones can go higher than 50%. Ive tried setting it to high and even realtime priority, to no avail. Also, im thinking that it might be the fact that i have a dual core processor, and java can only use one core? So it only uses 50% because it cant use the second one? Can somebody please clear this up. Thank you in advance.

    BC_Programmer


      Mastermind
    • Typing is no substitute for thinking.
    • Thanked: 1140
      • Yes
      • Yes
      • BC-Programming.com
    • Certifications: List
    • Computer: Specs
    • Experience: Beginner
    • OS: Windows 11
    Re: CPU usage is locked at 50%?
    « Reply #1 on: November 02, 2010, 11:16:07 PM »
    Also, im thinking that it might be the fact that i have a dual core processor, and java can only use one core? So it only uses 50% because it cant use the second one?

    You got it. That's the reason why.
    I was trying to dereference Null Pointers before it was cool.

    rthompson80819



      Specialist

      Thanked: 94
    • Experience: Experienced
    • OS: Windows 7
    Re: CPU usage is locked at 50%?
    « Reply #2 on: November 02, 2010, 11:37:07 PM »
    For everybodys info, what game?

    maximdymok

      Topic Starter


      Rookie

      • Computer: Specs
      • Experience: Familiar
      • OS: Windows Vista
      Re: CPU usage is locked at 50%?
      « Reply #3 on: November 03, 2010, 10:12:13 PM »
      Ok this is funny, but the game is MineCraft :D Doesn't require too much video graphics, but is very CPU intensive because of a large number of vertices. Ok, i guess ill have to overclock the cpu, then. Thanks for clearing this up guys.

      Azzaboi



        Apprentice
      • Aaron's Game Zone
      • Thanked: 37
        • Aaron's Game Zone
      • Experience: Experienced
      • OS: Windows 7
      Re: CPU usage is locked at 50%?
      « Reply #4 on: November 03, 2010, 11:02:30 PM »
      Only multi-core applications and games will use both cores, however for duo core...

      Go to Start > Run and type 'Msconfig' without quotes and press 'enter'.
      It should display a 'System Configuration' box, select the 'Boot' tab.

      Under 'Boot' select 'Advance Options'
      Ensure 'Number of Processors' is ticked and select '2' from the dropdown (in your case being duo core).
      Click 'Ok' then 'Apply' and reboot the computer.

      This will make sure Windows knows about both cores (normally it will use one for itself and the other for the application/game).

      Aaron's Game Zone
      The best free online flash games: http://azzaboi.weebly.com

      Play Games - Play free games at Play Games Arcade

      BC_Programmer


        Mastermind
      • Typing is no substitute for thinking.
      • Thanked: 1140
        • Yes
        • Yes
        • BC-Programming.com
      • Certifications: List
      • Computer: Specs
      • Experience: Beginner
      • OS: Windows 11
      Re: CPU usage is locked at 50%?
      « Reply #5 on: November 03, 2010, 11:26:56 PM »
      Only multi-core applications and games will use both cores, however for duo core...
      Utter, and complete nonsense. Any Program that uses more than one thread will be able to use more then one core. A Program doesn't have to be specifically designed for Multiple Cores; it has to simply parallelize it's operations in multiple threads. Most Applications separate their "worker" threads from their UI threads (one thread might be processing a video, and the other will be keeping the UI responsive by keeping the message pump going).

      Quote
      Go to Start > Run and type 'Msconfig' without quotes and press 'enter'.
      It should display a 'System Configuration' box, select the 'Boot' tab.

      Under 'Boot' select 'Advance Options'
      Ensure 'Number of Processors' is ticked and select '2' from the dropdown (in your case being duo core).
      Click 'Ok' then 'Apply' and reboot the computer.

      This will make sure Windows knows about both cores
      More nonsense. the "Number of Processors" Box sets the maximum number of processors windows will use. This value defaults to the number of processors available. If the value is higher then the number of available cores, the value is ignored. Putting in the number of cores (2 in this example) will do absolutely nothing. (actually, that's not true, since if the user then upgrades to a quad core they might be wondering why everything seems so much slower)

      Quote
      (normally it will use one for itself and the other for the application/game).
      yet more invented nonsense.


      TL;DR version: ignore the above post.


      Lastly, Re: the original topic:

      http://blogs.msdn.com/b/oldnewthing/archive/2005/12/02/499389.aspx

      I was trying to dereference Null Pointers before it was cool.

      talontromper



        Hopeful
      • Thanked: 11
        • Yes
        • Yes
        • Yes
      • Computer: Specs
      • Experience: Familiar
      • OS: Windows 7
      Re: CPU usage is locked at 50%?
      « Reply #6 on: November 05, 2010, 11:56:32 PM »
      What is Minecraft? I've never heard of that before, is that an older game?
      "One does not discover new lands without consenting to lose sight of the shore for a very long time." - Andre Gide