snapcraft overcommits CPUs in a multipass environment

Bug #1795666 reported by Michał Sawicz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snapcraft
Fix Released
High
Sergio Schvezov

Bug Description

On my relatively low-spec machine (mobile 2-core HT CPU, 8GB RAM) snapcraft allocates machines with 4 CPU threads and 2GB RAM and continues to use all the memory available when building the project.

I think there should be a minimum RAM : CPU ratio that snapcraft should implement (more like 1GB minimum per CPU thread).

Changed in snapcraft:
status: New → Triaged
importance: Undecided → High
assignee: nobody → Sergio Schvezov (sergiusens)
milestone: none → next
Changed in snapcraft:
milestone: next → 3.0
Revision history for this message
Sergio Schvezov (sergiusens) wrote :

I am going to go with discrete (small) CPU values for now until we can think of a good mechanism commit as much as possible.

Changed in snapcraft:
status: Triaged → In Progress
Revision history for this message
Sergio Schvezov (sergiusens) wrote :

when I mentioned discrete I meant conservative

Revision history for this message
Sergio Schvezov (sergiusens) wrote :
Changed in snapcraft:
status: In Progress → Fix Committed
Changed in snapcraft:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.