3 ms·
Linux should generally have no problem with CPU&al sleep, the problem is often devices around, waking up in weird orders or states, or not waking up at all, or
by lloeki 4y ago
Linux should generally have no problem with CPU&al sleep, the problem is often devices around, waking up in weird orders or states, or not waking up at all, or not going to sleep.
> The furi_hal_os_sleep() function performs tick suppression inside the OS domain.
Reminds me that many eons ago I witnessed the introduction of CONFIG_NO_HZ in Linux, is it the default now? Combined with timer coalescing this makes for big energy savings.
https://en.m.wikipedia.org/wiki/Tickless_kernel https://en.m.wikipedia.org/wiki/Tickless_kernel
https://en.m.wikipedia.org/wiki/Timer_coalescing https://en.m.wikipedia.org/wiki/Timer_coalescing
- csdvrx 4y agoDo you use timer coalescing? Can you provide more detail? I'd be happy to return the favor with my use of NO_HZ and NO_HZ_FULL!
- lloeki 3y agoOn macOS, ever since Mavericks. Back then the update gave me +1~2hrs of battery life with my usage pattern. https://arstechnica.com/gadgets/2013/06/how-os-x-mavericks-works-its-power-saving-magic/ https://arstechnica.com/gadgets/2013/06/how-os-x-mavericks-w...