Apple Intelligence is now available on iPhone, iPad, and Mac!

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

High idle cpu even though an app is using 100% and struggling

Hi everyone,


I am currently using a MacBook Pro and an iMac to handle a lot of vector images (trying to arrange them in a big grid). I do this using Inkscape, but when it comes to image analysis I also use Mathematica.


I have noticed a strange behaviour on both machines, with both software. Even though the apps are making use of 100% of cpu (not at the same time), the idle cpu is almost always around 74%. The Mackbook Pro has two cores but I am seeing four columns in CPU usage or history, due to hyperthreading. The first and third column are half way busy, like a little above 50%, and the other two are almost empty (that's when the apps are shown to be using 100% cpu individually).


The only time the idle cpu drops below 50% is when I turn on the machines, i.e. when the system needs more cpu. The overall cpu LOAD in activity monitor has a few spikes then, but when the apps I am using require more power, it never goes above 50% (the load).


I have spoken to Apple support but they couldn't find some other relevant report of this issue. Please note that I am about to take the MacBook Pro for service, because of an email I received saying that the SSDs of this series have been found to be faulty. So when it comes to the laptop, this could be related to this issue. But how about the iMac? It shows the same behaviour and I doubt there's something wrong with its SSD too.


Any suggestions would be greatly appreciated.


Legnahn


=============================

  Model Name: MacBook Pro


  Model Identifier: MacBookPro14,1


  Processor Name: Intel Core i5


  Processor Speed: 2.3 GHz


  Number of Processors: 1


  Total Number of Cores: 2


  L2 Cache (per Core): 256 KB


  L3 Cache: 4 MB


  Memory: 8 GB


MacBook Pro Retina (2015 and later)

Posted on Dec 20, 2018 2:08 AM

Reply
Question marked as Top-ranking reply

Posted on Dec 20, 2018 3:49 AM

I don't see anything abnormal in what you describe. Your mac is running hundreds of processes at any given point in time, and the OS is responsible for distributing this load among the available cores.

Your mac has two physical cores. An application like Mathematica will spawn several concurrent threads at any point in time, and they may or may not all be assigned to the same core. So it is quite possible that the main calculation task be run in a thread on one core, and several others making use of another core - you really have no control over this (and have no reason to, anyway).


You may open Activity Monitor to get a better idea of what processes are using your CPU resources.



Similar questions

17 replies
Question marked as Top-ranking reply

Dec 20, 2018 3:49 AM in response to legnahn

I don't see anything abnormal in what you describe. Your mac is running hundreds of processes at any given point in time, and the OS is responsible for distributing this load among the available cores.

Your mac has two physical cores. An application like Mathematica will spawn several concurrent threads at any point in time, and they may or may not all be assigned to the same core. So it is quite possible that the main calculation task be run in a thread on one core, and several others making use of another core - you really have no control over this (and have no reason to, anyway).


You may open Activity Monitor to get a better idea of what processes are using your CPU resources.



Dec 20, 2018 5:13 AM in response to legnahn

100% in an application means one hundred percent of ONE CORE.

What you show is consistent with this - you are basically using 50% on one core, and 50% on another core:



If an app were using up all the resources it might inch closer to... 400%.


People sometimes wonder why an application does not push the CPU harder. The answer is that often the CPU is not the bottleneck. If an application is doing a lot of IO, then it may not be able to push the CPU to the highest, simply because it is waiting.


In fact the one thing a CPU does most is just that, waiting.


Dec 20, 2018 4:56 AM in response to dialabrain

Thanks for your reply dialabrain.


This should probably point me in the right direction. It is true that Inkscape is not fully compatible with Macs, but I did not expect this to be happening with Mathematica as well. So I thought that something could be wrong and I, as "the user", am not given access to all the cpu my apps require.


Thanks again for your time,


Legnahn

Dec 20, 2018 5:52 AM in response to Luis Sequeira1

Hi there again Luis,


That makes sense. I also looked into some preferences regarding rendering in Inkscape, including number of threads, and even though I didn't see that making any difference in terms of cpu usage, which makes your point, I believe I have found ways to make the type of work I'm currently doing less agonising :)


Thanks once more,


Legnahn

Dec 20, 2018 10:17 AM in response to legnahn

The report looks pretty clean to me.

I still can't see any problem. AFAICT, there is nothing wrong.

An application works according to how it is programmed.

Some applications may be able to use 16 cores to do one task, if there is enough parallelism and it is programmed to work that way, but if a task is mostly sequential and requires waiting for IO the CPU usage will far lower.




Dec 20, 2018 10:39 AM in response to BDAqua

"Other processes 112.15 % (?) bothers me"

Yes, that's Inkscape, and is what initiated my quest. I sort of thought that it was the limited use of cpu that made the app slow. And since I was seeing a lot of cpu being idle, I thought "why isn't it taking up more?" But like Luis said, "often the CPU is not the bottleneck" which brings us to what I'm trying to do with this machine and what you said.


I haven't removed the file yet, but I will.


Thanks BDAqua!

High idle cpu even though an app is using 100% and struggling

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