Comment 2 for bug 1846496

Revision history for this message
Daniel J Blueman (watchmaker) wrote :

I have been finding snapd wakes up at ~12Hz, putting it among the top 10 kernel tasks and processes consuming energy under PowerTOP on an idle GNOME desktop, only GNOME terminal open.

I have been seeing the same behaviour since snapd was mandated; given no housekeeping is expected, these wakeups can most likely be avoided. On Ubuntu 21.10 on a Dell XPS 15:

PowerTOP v2.11 Overview Idle stats Frequency stats Device stats Tunables WakeUp

The battery reports a discharge rate of 5.27 W
The power consumed was 111 J
The estimated remaining time is 15 hours, 0 minutes

Summary: 157.6 wakeups/second, 0.0 GPU ops/seconds, 0.0 VFS ops/sec and 2.2% CPU use

Power est. Usage Events/s Category Description
...
 49.6 mW 4.2 ms/s 4.7 Process [PID 1966] /usr/bin/gnome-shell
 49.6 mW 194.8 µs/s 13.3 Process [PID 13] [rcu_sched]
 42.4 mW 135.1 µs/s 11.5 kWork psi_avgs_work
 42.2 mW 105.6 µs/s 11.5 Process [PID 888] /usr/lib/snapd/snapd