Home > Default > Chess uses 98% CPU

Chess uses 98% CPU

October 11Hits:0
Was just wanting to have a break from work the other day, and ran the chess program for some fun.
I was surprised to see in Activity monitor the "sjeng" process start jumping to 98% activity, my computer temperature rising, fan going on, etc etc.
Is there a bug with this program? Has anyone got the same issue?


Whether or not there actually is a problem with Chess isn't the focus of this reply.
Instead, I am addressing your original question concerning the CPU usage. CPU usage for any user apps is indicated in relation to the total of that user's current CPU allocation. In the case of your Chess example, 98% means 98% of your CPU allocation, not the total of actual CPU capacity.
As needed, and as possible, a given user's allocation will change dynamically, but OS X tends to keep a healthy reserve held back for additional processes.
To really see what is occurring, perform your test with Chess again, but this time make sure that the CPU "pane" is showing at the bottom of the Activity Viewer window, and pay attention to the percentage of total CPU allocated to you. Chess's usage (98%?) is a percentage of the percentage given to you. As you will see, your allocation will change over time, but it should not approach 100%. So, Chess is using 98% only of what you are currently given.
Now, while this test is running, open another application. What you should notice is that your CPU allocation will jump, at least temporarily. Also, you should not experience any real "lag" in the response of the new app just because Chess is thinking hard. It is for exactly this reason (among others) that OS X holds that "reserve" CPU potential at almost all times, and this is one of the things that makes OS X such a multi-tasking powerhouse.

Read other 14 answers


Related Articles

  • Chess uses 98% CPUOctober 11

    Hi Was just wanting to have a break from work the other day, and ran the chess program for some fun. I was surprised to see in Activity monitor the "sjeng" process start jumping to 98% activity, my computer temperature rising, fan going on, etc

  • Built-in Chess app stresses CPUNovember 30

    I have just upgraded my MacBook Pro Mid-2012 to Mountain Lion. When playing chess sjeng.ChessEngine uses 100% of CPU sometimes and doesnt go down. I had chess in background and I was confused why my Macbook is so hot, and then I checked the activity

  • Problem with animation and separate CPU intensive thread.October 11

    Hi All, I'm in the process of writing a Java chess game with a computer AI. I've got everything working except for the animation of the computer making its move. Sometimes it works, sometimes it doesnt. Here's the problem: After the computer has fini

  • Playing Chess on Snow LeopardNovember 30

    I'm playing a game of chess, the application that comes with SL, and it is taking 99% of the CPU and fans are 6000+ RPMs. Why is this? Very strange, never happened before. Thanks.Nothing can be done. It takes a lot of CPU, but never made the fans roa

  • Chess problem? Anyone?November 30

    My apple chess app is either freezing, crashing but mostly now white screening and making me have to force quit using power button on keypad as cursor not responding. I've run full diagnostic, deleted an app i recently downloaded (audacity) free, and

  • Server uses 98% CPU capacityNovember 30

    Hi, I have 6 appplications deployed in the WLS7.0 using TopLink EntityBeans and EJB's. Sometimes when I raise the server it gets really slow to respond and uses 98%/99% of the CPU even when it is not processing. I have the following settings: set JAV

  • Is there a fix for chess since upgrading to Maverics?November 30

    Chess becomes very slow, displaying splattered graphics between moves, and unresponsive since going to Maverics. My system is a Mac Pro laptop with a 2 ghz Intel core i7 and 4 mb ram. With Lion I had no problems. Every program slows down if Chess is

  • Sun Enterprise Server T5220 - can it be used for games like chessNovember 30

    Hi, Sun Enterprise Server T5220 - can it used for programnming and playing games like chess and other board games. How many players can it support? It supports 1250 domains. I am not talking about the CPU doing the chess calulations but just followin

  • Ram and CPU Q6600 need helpNovember 30

    Hi! I would like additional the ram Supports DDR2 from 800 to 1066 (OC) memory interface. But what is the best type of the ram that fits my motherboard MSI-7345, P35 Neo2-FR / FIR? (Buy new march 2008.) Because I am going to buy it in any online when

  • How to set up notification email for Full CPU utilization on OEM12c?October 11

    I have found a Oracle Doc,Is that's the way email notifications are setup?How can i check that after setting the notifications? Subscribe to Receive E-mail for Incident Rules An incident rule is a user-defined rule that specifies the criteria

Copyright (C) 2019 wisumpire.com, All Rights Reserved. webmaster#wisumpire.com 14 q. 0.857 s.