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

Investigate slow sandbox drop times #189

Open
ludfjig opened this issue Jan 29, 2025 · 0 comments
Open

Investigate slow sandbox drop times #189

ludfjig opened this issue Jan 29, 2025 · 0 comments
Labels
area/performance Addresses performance lifecycle/confirmed Bug is verified or proposal seems reasonable
Milestone

Comments

@ludfjig
Copy link
Contributor

ludfjig commented Jan 29, 2025

Drop times for sandboxes are currently pretty slow due to slow dropping of file descriptors.

  • Code comments suggests kvm's _vm_fd and _kvm are for livetime purposes, but it might be possible remove these (?). In any case, not every individual driver needs a fd to the kvm device.
  • We should investigate and see whether unmapping guest memory before calling munmap (this is currently done on mshv but not kvm).
@github-actions github-actions bot added the lifecycle/needs-review The issue has not yet been reviewed. label Jan 29, 2025
@syntactically syntactically added area/performance Addresses performance lifecycle/confirmed Bug is verified or proposal seems reasonable and removed lifecycle/needs-review The issue has not yet been reviewed. labels Feb 5, 2025
@danbugs danbugs added this to the Backlog milestone Mar 4, 2025
@danbugs danbugs modified the milestones: Backlog, Upcoming Mar 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/performance Addresses performance lifecycle/confirmed Bug is verified or proposal seems reasonable
Projects
Status: No status
Development

No branches or pull requests

3 participants