Skip to content

fix: adjust scratch size for benchmarks - #1847

Merged
andreiltd merged 1 commit into
hyperlight-dev:mainfrom
andreiltd:fix-benches
Sep 22, 2026
Merged

andreiltd merged 1 commit into
hyperlight-dev:mainfrom
andreiltd:fix-benches

Conversation

@andreiltd

@andreiltd andreiltd commented Sep 22, 2026 •

Copy link
Copy Markdown
Member

This gives a headroom for benchmarks with large scratch after introducing virtual queue.

Fixes CI error: HyperlightVmError(Initialize(Run(HandleIo(Outb(GuestAborted { code: 13, message: "Out of physical memory" })))))

This gives a headroom for benchmarks with large scratch after
introducing virtual queue.

Signed-off-by: Tomasz Andrzejak <andreiltd@gmail.com>
Copilot AI lite review requested due to automatic review settings September 22, 2026 15:39
@andreiltd andreiltd added the C-bug For PRs that fix bugs label Sep 22, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟢 Approval recommended

No unresolved review issues remain.

Review effort: Lite
Findings: None

What changed in this PR

Adjusts benchmark scratch sizing to provide headroom for page tables and virtual-queue transport.

Changes:

  • Increases medium sandbox scratch from 0x50000 to 0x60000.
  • Clarifies scratch sizing documentation.
File Summary
src/​hyperlight_host/​benches/​benchmarks.rs Updates benchmark scratch sizing and documentation.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@andreiltd
andreiltd enabled auto-merge (squash) September 22, 2026 15:58
@andreiltd
andreiltd merged commit de8c495 into hyperlight-dev:main Sep 22, 2026
94 of 97 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C-bug For PRs that fix bugs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants