hyperlight-dev / hyperlight-dev/hyperlight

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

未关闭
#1,755 5 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
lifecycle/needs-review
主要语言
Rust
星标
4.7k
派生
208
平均合并
1 天 7 小时
30 天内合并 PR
47

描述

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_

贡献指南

打开贡献指南

调研方向

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.

由索引模型根据 Issue 内容生成。

评估

技术栈
rust
领域
operating-systems, performance
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
活跃
描述清晰度
基本清楚
新手友好度
55/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。