3 ms·
It's the magic of "not being allowed to run anything". If you kill -9 all your Linux processes then you'll be great at idle use as well. Now hunting down all
by izacus 4y ago
It's the magic of "not being allowed to run anything".
If you kill -9 all your Linux processes then you'll be great at idle use as well.
Now hunting down all the processes that might be turning on your radios, CPUs and I/O devices is the hard part on OSes where you can actually run things in the background, since you easily get into tragedy of the commons situations.
For comparison, consider a Kindle (linux device, battery lasts for weeks) or a Garmin watch (battery life is about 3-10x better than Apple watch) to see how different can outcomes be if you control what processes run.
- colanderman 4y agoProcesses don't run while a computer is in suspend mode.
- izacus 4y agoOf course they do on modern computers (so do peripheral microcontrollers). Most modern laptops and devices don't go into full suspend states anymore, they just do a much lighter standby similar to phones and tablets. Windows calls this "Modern Standby" while Apple just does it since Apple Sillicon. Even so, periodically they will wake up and run tasks just like phones (e.g. Power Nap on Apples, no idea what Windows calls it). Linux has a headache here because it's mostly not prepared to disable all their processes and peripherals correctly during those states so something keeps waking up and running.
- colanderman 4y agoLinux assuredly does not periodically wake from standby to run random background tasks. I welcome a reference to the contrary. (Android notwithstanding -- I know phones and tablets do not truly suspend -- I am responding to the suggestion of manually managing background tasks which generally implies a non-handheld OS.) I wasn't aware macOS enables Power Nap permanently on Apple silicon, interesting.