hyperlight-dev / hyperlight-dev/hyperlight
Add API to create a Snapshot without going through creating a VM partition
- Vorherrschende Sprache
- Rust
- Sterne
- 4.7k
- Forks
- 208
- Ø Merge
- 1 T. 7 Std.
- Gemergte PRs (30 T.)
- 47
Beschreibung
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_
Beitragsleitfaden
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- rust
- Bereich
- operating-systems, performance
- Issue-Typ
- Feature
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Aktiv
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 55/100