snap refresh is slow with lots of snaps installed
Bug #1782112 reported by
Alan Pope 🍺🐧🐱 🦄
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snap Store Server |
Fix Released
|
Low
|
Unassigned | ||
snapd |
Fix Released
|
Medium
|
Samuele Pedroni |
Bug Description
alan@hal:~$ time snap refresh
All snaps up to date.
real 0m13.751s
user 0m0.035s
sys 0m0.019s
alan@hal:~$ snap list | wc -l
205
So with 200+ snaps installed, the refresh (which doesn't actually need to refresh any) takes a long time.
Debug log attached.
Changed in snapd: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
summary: |
- snap refreh is slow with lots of snaps installed + snap refresh is slow with lots of snaps installed |
tags: | added: performance |
Changed in snapd: | |
status: | In Progress → Fix Released |
To post a comment you must log in.
This is largely due to assertion fetching. We have some plans to batch those but it has not been a priority yet as most devices don't have such a large number of snaps installed nor is a full refresh usually done interactively.