这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@fkorotkov
Copy link
Contributor

@fkorotkov fkorotkov commented May 18, 2022

To prevent frustrations like #84

To prevent frustrations like #68
@fkorotkov fkorotkov requested a review from edigaryev May 18, 2022 14:32
@fkorotkov
Copy link
Contributor Author

fkorotkov commented May 18, 2022

@edigaryev both me, you and now @ryanbooker experienced the freezes with the default 2 CPUs. Let's bump the default to prevent bad experience when creating VMs from scratch.

@fkorotkov fkorotkov enabled auto-merge (squash) May 18, 2022 14:34
hardwareModel: requirements.hardwareModel,
cpuCountMin: requirements.minimumSupportedCPUCount,
// allocate at least 4 CPUs because otherwise VMs are frequently freezing
cpuCountMin: max(4, requirements.minimumSupportedCPUCount),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should preserve the cpuCountMin in the VM configuration and update the cpuCount instead, otherwise it won't be possible do reduce the amount of CPU cores via the tart set.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch! See 958febf

@fkorotkov fkorotkov merged commit a1bcbdb into main May 18, 2022
@fkorotkov fkorotkov deleted the bump-default-cpu branch May 18, 2022 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants