5

I have an application in Python that I have deployed in a Client. It shows 25% on CPU column on Process Tab. I wonder what it means or how it affects the CPU? Because most of the processes have only 0%.

Here is an image for the actual CPU percentage on my Task Manager.

enter image description here

2 Answers 2

4

The 25 means that that process is using an average of 25% usage among all of your logical processors (aka cores). So if you had 4 logical processors in your CPU, that might mean that the 25% is running one logical processor at 100% and the others at 0 or that 25% is divided among several logical processors.

I think Python apps can't use multiple logical processors, so you might want to look into multi-core processing in Python if you want Python to use more of your CPU.

You can also limit the amount of logical processors Python uses by right-clicking on the process and selecting "Set Affinity". Selecting " Priority" will also let you choose how much of a priority that process is compared to other processes.

You can also monitor each logical processor's usage in the next tab after that, just make sure the graph is set to show logical processors, not average CPU usage.

1
  • 2
    My Python script was running infinitely thats why its eating up so much memory. I just change my implementation. Thank you @gshocked.
    – ellaRT
    Nov 2, 2015 at 2:05
3

That process is using 25% of the CPU to do whatever it is doing.

You have 100% total, 69+25+3+1+1+1=100.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.