Timeline for How is it possible for a process to use less than 100% CPU?
Current License: CC BY-SA 4.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 23, 2019 at 16:39 | comment | added | Ben Voigt | "would there be any benefits in preventing a process to use 100% of the CPU when no other process needs it?" Yes -- power consumption and heat generation. I have an interest in not letting my unused CPU cycles get stolen by (for example) web browser bitcoin miners, because (for a desktop) I have to pay for the electricity used by the computer and also by the air conditioning to cool it and (for a portable) that drains the battery quickly. | |
Sep 21, 2019 at 12:58 | history | edited | Ama | CC BY-SA 4.0 |
typo
|
Sep 21, 2019 at 7:14 | comment | added | Ama | Your comment is subject to an interpretation of the OP's question; that is "how can I prevent a process from ever showing 100% usage", instead of "how can I prevent a process from showing 100% when other processes are waiting". However, would there be any benefits in preventing a process to use 100% of the CPU when no other process needs it? | |
Sep 20, 2019 at 3:38 | comment | added | Lie Ryan | "how can I prevent a process for showing 100% of usage?" you can't prevent a processing from showing 100% usage by setting priority; a low priority process will still get 100% usage if there's no other higher priority processes that are ready to run at the time. If you want to limit the amount of CPU usage that a process can take at a time even when the system is otherwise idle, you'll need to set a quota/resource cap. | |
Sep 19, 2019 at 19:46 | history | answered | Ama | CC BY-SA 4.0 |