Repository navigation
Open
1 / 51 of 5 issues completedLabels
A-perfAddresses performanceAddresses performanceS-blockedFor issues blocked by another issue or external factorFor issues blocked by another issue or external factor
Milestone
Description
Hyperlight Performance Plan
Core Benchmarks
Microbenchmarks (Time per Task)
Measure round-trip time (RTT) and lifecycle operations:
- Guest call RTT (empty, no workload)
- Guest call RTT (large param/return, no workload)
- Sandbox create, evolve, and drop
Test across:
- Hypervisors: Windows Server 2025/2022 Hyper-V, Linux KVM (5.x/6.x), MSHV (5.x/6.x)
- CPU vendors: Intel, AMD
Native vs Hyperlight
Compare native host code vs Hyperlight (x86_64-unknown-none) on compute-heavy tasks to evaluate performance overhead due to limited CPU feature use (e.g. SSE/AVX).
HyperlightJS & HyperlightWASM
Load Testing
Benchmark lightweight compute workloads (per-request tasks):
- Metrics: HTTP throughput, latency, memory use
- Workloads: header rewrite, JWT validation, TBD CPU-intensive task
Comparisons
Evaluate:
HyperlightJSHyperlightWASM(with JS component)Wasmtime(with JS component, baseline)
Test across:
- Hypervisors: Windows Server 2025/2022 Hyper-V, Linux KVM (5.x/6.x), MSHV (5.x/6.x)
- CPU vendors: Intel, AMD
Performance Monitoring
Track metrics over time to catch regressions and improvements:
- Run benchmarks on every PR merge and release
- Allow local runs during dev
- Visualize data on public dashboard
Notes
- Benchmarks run in nested virtualization on CI (
Standard_D4(a)ds_v5VMs, premium SSD) - Expect some noise, but useful for trends and comparisons
Metadata
Metadata
Assignees
Labels
A-perfAddresses performanceAddresses performanceS-blockedFor issues blocked by another issue or external factorFor issues blocked by another issue or external factor
Type
Projects
- StatusShow more project fieldsIn Progress
Activity
dblnz commentedon Jun 11, 2025
Two important points that have been brought up in the last community meeting:
simongdavies commentedon Jun 12, 2025
I also think we need to measure creating, using and dropping sandboxes in parallel with various degrees of parallelism
jsturtevant commentedon Jun 26, 2025
Add and few notes from #152:
syntactically commentedon Jun 30, 2025
Especially for the microbenchmarks, I think the numbers will be a lot more useful on a dedicated host without NV. We have seen before that there is a ton of variance in the GH CI benchmarks, because on the time scales we are looking at with the microbenchmarks, even a single extraneous entry into the host kernel scheduler shows up quite badly.
syntactically commentedon Jul 9, 2025
Converting this to a tracking issue for having the visibility into performance/regular benchmarks that we would like to see overall.