Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

muvm: remove RAM special case for 8GB machines #121

Merged
merged 1 commit into from
Dec 9, 2024

Conversation

slp
Copy link
Collaborator

@slp slp commented Dec 8, 2024

Now that muvm is able to request the guest to decrease its file cache and the root cause for the premature OOM has been indentified, let's remove the check for 8GB machines that limited the microVM to be smaller than 5GB, and just set it to be 80% of the host RAM, just as we do with systems with other configurations.

In practice, this enables 8GB machines to run more games out of the box (tested with multiple Steam games on a MacBook Air M1 with 8GB).

Now that muvm is able to request the guest to decrease its file cache
and the root cause for the premature OOM has been indentified, let's
remove the check for 8GB machines that limited the microVM to be
smaller than 5GB, and just set it to be 80% of the host RAM, just as
we do with systems with other configurations.

In practice, this enables 8GB machines to run more games out of the
box (tested with multiple Steam games on a MacBook Air M1 with 8GB).

Signed-off-by: Sergio Lopez <[email protected]>
Copy link
Member

@alyssarosenzweig alyssarosenzweig left a comment

Choose a reason for hiding this comment

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

yay

@slp slp merged commit ae8b243 into AsahiLinux:main Dec 9, 2024
2 checks passed
@slp slp deleted the remove-8gb-limit branch December 9, 2024 15:09
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