hyperlight-dev / hyperlight-dev/hyperlight

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

Aperta
#1,755 5 commenti 0 reazioni 0 assegnatari Vedi su GitHub
lifecycle/needs-review
Lingua principale
Rust
Stelle
4.7k
Fork
208
Merge medio
1g 7h
PR unite (30g)
47

Descrizione

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_

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
rust
Ambito
operating-systems, performance
Tipo di issue
Funzionalità
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Attiva
Chiarezza
Abbastanza chiara
Idoneità per principianti
55/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.