hyperlight-dev / hyperlight-dev/hyperlight

Add API to create a Snapshot without going through creating a VM partition

Đang mở
#1,755 5 bình luận 0 reaction 0 người được giao Xem trên GitHub
lifecycle/needs-review
Ngôn ngữ chính
Rust
Star
4.7k
Fork
208
Merge trung bình
1 ngày 7 giờ
Pull request đã merge (30 ngày)
47

Mô tả

Ok, I think the way to go would be to add a new builder terminator `snapshot_from_file` and `snapshot_from_bytes`, and use those to benchmark all the setup that we were measuring for the uninitialized sandbox here (maybe except for the memory allocation and memcpy, but that's not a big loss).

I'll create an issue to add this and reintroduce the new benchmarks to compensate what we loose here.

_Originally posted by @jprendes in https://github.com/hyperlight-dev/hyperlight/pull/1746#discussion_r3829469340_

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Start with the builder API and the uninitialized-sandbox benchmarks discussed in PR #1746, then trace the existing snapshot creation path. The issue names snapshot_from_file and snapshot_from_bytes as the entry points; done means snapshots can be created through them without creating a VM partition and the relevant setup benchmarks are restored.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
rust
Lĩnh vực
operating-systems, performance
Loại issue
Tính năng
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Sôi nổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
55/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.