← Back to issue list

multipass: change default CPU value

View original Github issue

Metadata

Project
snapcraft
Number
#2365
Type
pull request
State
merged
Author
sergiusens
Labels
—
Created
Updated
Closed

Current evaluation

Merged PR #2365 as c325c62ad, setting a conservative Multipass CPU default aligned with memory allocation and adding messages when resource values are overridden.

Resolution: closed resolved

Reason: PR #2365 was approved and merged as commit c325c62ad. It changed the default CPU allocation and documented overrides in build logs.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Use a more conservative default which is more aligned with the default memory allocation. Also add messaging on changes due to overriding. LP: #1795666 Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com> - [ ] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)? - [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [ ] If this is a bugfix. Have you checked that there is a bug report open for the issue you are trying to fix on [bug reports](https://bugs.launchpad.net/snapcraft)? - [ ] If this is a new feature. Have you discussed the design on the [forum](https://forum.snapcraft.io)? - [ ] Have you successfully run `./runtests.sh static`? - [ ] Have you successfully run `./runtests.sh tests/unit`? -----

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR #2365 as c325c62ad, setting a conservative Multipass CPU default aligned with memory allocation and adding messages when resource values are overridden.
stealth/space-bunny-alpha — closed resolved Merged as c325c62ad (#2365), setting a conservative multipass CPU default aligned with memory allocation and adding messages for overrides; targets LP #1795666.
qwen/qwen3.6-35b-a3b — — Merged update setting a more conservative default CPU value for Multipass, aligning it with memory allocation. Includes override messaging. Approved by reviewer, passed CI, and resolves Launchpad bug #1795666.
qwen3.6-35b-a3b-mtp-q6 — — Merged. Updates the multipass provider default CPU value to a more conservative setting aligned with memory allocation and adds override messaging. Resolves LP: #1795666.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#217 multipass: replace deprecated parameter `--mem` with `--memory` craft-providers merged Merged PR #217 as commit 35bd3c4, replacing Multipass's deprecated --mem launch option with --memory in production and test code.
72%
#1792581 CPU max and override for multipass snapcraft (launchpad) closed Resolved by snapcore/snapcraft#2273, commit cbd1854d9, which selected the best available CPU configuration for Multipass.
72%
#531 Provide a way to set Multipass CPU and memory craft-providers open Enhancement request to make Multipass CPU and memory configurable instead of hardcoded 2 CPU/2GB, which currently causes slow or failed builds.
71%