Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Just wondering why in Linux gui CPU usage never seems to get down to 0% even when just idling with nothing going on. Depending upon which desktop is being used it seems to hover around 15%-20%.
In windows CPU drops down to 0% when it is idling, why doesn't the same happen in Linux?
Just wondering why in Linux gui CPU usage never seems to get down to 0% even when just idling with nothing going on. Depending upon which desktop is being used it seems to hover around 15%-20%.
look at the number of background processes that you have, and try to identify the one that consumes lots of CPU time.
They may be sleeping most of the time, but once in a while they wake up and have a few milliseconds' work to do. Swap memory in and out, update the clock display, reply to a network request. That's summing up.
However, on my Linux machines, top shows about 99% idle most of the time, maybe 95% when I move the mouse fast (AMD X2 dual core at 2x2GHz, the Intel Atom based system currently not powered on).
Quote:
Originally Posted by Nick_C
In windows CPU drops down to 0% when it is idling, why doesn't the same happen in Linux?
It drops down to 0, alright, but every other second it jumps to about 2% or so, or even around 4..5% when you move the mouse a bit (AMD Sempron 3100+ single core at 1.6GHz).
Maybe linux and windows uses different means to measure.
I'm quite sure that's true. Plus, Windows only displays percent with no fractional part, so everything below 1% is displayed as 0, while Linux (the "top" tool) displays tenths of percent.
However, this rounding error isn't that obvious if you ignore the CPU load the Windows task manager displays, and instead look at the CPU% of the idle "process". You'll see that it never goes to 100%, but 99% at most. So the remaining 1% must be other processes taking up less than 1% each, being displayed as 0%.
Quote:
Originally Posted by jefro
A computer only really goes to 0 when it is fully powered off.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.