Chess uses 98% CPU

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 etc.

Is there a bug with this program? Has anyone got the same issue?

Cheers.

MacBook Pro 15'4 2.16Ghz 1Gb, Mac OS X (10.4.8)

Posted on Nov 1, 2006 10:09 AM

Reply
13 replies

Nov 1, 2006 10:34 AM in response to acquiesce

Actually the Chess program in Mac OS (at 50% or higher difficult) uses very complex and powerful algorithms to calculate all possible moves and it is very CPU intensive... at 100% difficulty it takes minutes for the computer to make a move (even on CoreDuo) so its definately not a bug.

To save battery I would suggest using 50% or lower difficulty or play with a friend 🙂

MacBook Pro 1.83Ghz 1GB RAM Mac OS X (10.4.8)

Nov 1, 2006 11:09 AM in response to Flippin360

Sorry, I'm a newbie to mac, so don't know anything else but my MacBook Pro and OSX 10.4.8... which isn't so much of a bad thing!! 🙂 I love my MBP.

But.... was Chess always included with the OS?

If yes, then how on earth did Chess run all those years ago on little processing power?

If no, then just ignore my ignorance.

I mean, these programs running under the new intel macs should be blazing fast, right?! All my other programs are running fine, some are high-end music programs but they don't hog my CPU 98% and run ok. Some are even running under rosetta! These programs also contain very powerful and complex algorithms. What's going on?

Yours, confused.

MacBook Pro 15' 2.16 1Gb Mac OS X (10.4.8)

Nov 1, 2006 11:20 AM in response to acquiesce

This is just one of those programs that uses A LOT of cpu processing. Chess has been known to run on super computers even today, the more powerful chess is the more cpu it takes and the one in Mac is very powerful.

You are lucky it does not take hours at max settings (takes around 5mins)

"At the maximum setting, it may think for hours before making a decision."
http://en.wikibooks.org/wiki/MacOS_X_Tiger/Meet_theApplications/Chess

Nov 1, 2006 4:50 PM in response to acquiesce

Heavy CPU usage (and sometimes using a good deal of RAM to set up the predictive options) is perfectly normal, and an indication that your MBP can handle the resource demands of a very demanding application, especially if your game is computer versus computer.

No bug here. The game of chess requires "looking to the future" to evaluate the outcome of possible moves. That's heavy-duty computing. The level of chess your MBP can achieve was beyond the capacity of computers not that many years ago. Of course, a supercomputer should be able to beat your MBP fairly often, but probably not every game. 🙂

Nov 1, 2006 8:34 PM in response to acquiesce

Acquiesce,

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.

Scott

Nov 2, 2006 6:26 AM in response to Scott Radloff

Yeah, that's true, I did do the CPU "pane" thing, you are right, it never reaches 100% and it always swaps between the two cores. Yes, mac is superior.

Actually I was wanting to focus more on the program Chess, than the CPU. Why should any program use so much CPU? Ok, powerful algorithms bla. I have already said, I own other programs that use powerful algorithms and don't chew up my cpu, involving powerful third-party plugins and other processor heavy assignments.

I didn't upgrade from my four year old PC to sit and watch a measly chess application suck up the contents of my cpu. Are you guys trying to tell me that Chess is more powerful than Logic or Protools???

I just don't buy that.

Nov 3, 2006 2:45 AM in response to acquiesce

Yeah, well, I'm not convinced.


What is the point of this thread honestly? We told you Chess is a cpu intensive program get over it. There is a lot of other people with REAL issues on this board that would rather seek attention than to convince you how or why Chess requires lots of cpu.

I don't want to be mean but you are dragging this thread way longer than needed.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Chess uses 98% CPU

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.