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

Use krun_add_disk and increase SHM window size #15

Merged
merged 3 commits into from
Oct 1, 2024

Conversation

slp
Copy link
Collaborator

@slp slp commented Oct 1, 2024

No description provided.

slp added 3 commits October 1, 2024 10:08
Use the new krun_add_disk API, introduced in libkrun 1.9.5, to be
able to add an arbitrary number of virtio-blk devices.

Signed-off-by: Sergio Lopez <[email protected]>
On version 1.9.5 libkrun introduced an API to set the size of the
SHM window for virtio-gpu. Use it to set it to be as large as the
host's RAM. This should give us enough room for running large
models, accounting for potential device memory fragmentation.

Signed-off-by: Sergio Lopez <[email protected]>
Signed-off-by: Sergio Lopez <[email protected]>
@slp slp requested a review from tylerfanelli as a code owner October 1, 2024 13:14
@tylerfanelli tylerfanelli merged commit dcbe3c4 into containers:main Oct 1, 2024
2 checks passed
@tylerfanelli
Copy link
Member

@slp Does this warrant a 0.1.3 GH release?

@slp slp deleted the update-1.9.5-api branch October 1, 2024 13:29
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.

2 participants