mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 23:35:53 +01:00
[PR #1209] vk_pipeline_check: cap Linux isolation worker address space (PIPELINE-LINUX-ISOLATE-AS-LIMIT) #1241
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#1241
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/1209
Author: @lixonik
Created: 11/24/2026
Status: 🔄 Open
Base:
main← Head:pipeline-linux-isolate-as-limit📝 Commits (1)
f6c9e7cLimit Linux pipeline isolation worker address space📊 Changes
3 files changed (+57 additions, -3 deletions)
View changed files
📝
docs/pipeline_check.md(+6 -1)📝
runtime/test/check_vk_pipeline_cli.cmake(+10 -0)📝
runtime/test/vk_pipeline_check.cpp(+41 -2)📄 Description
Claimed in the coordination issue as PIPELINE-LINUX-ISOLATE-AS-LIMIT.
Refs #636.
What and why
An isolated Vulkan compiler process can still exhaust host memory. That happened in the Linux run reported in #636 even with
--isolateenabled.On Linux,
vk_pipeline_check --isolate --isolate-address-space-mib Napplies an opt-inRLIMIT_AScap before each worker opens Vulkan. A stricter inherited limit is honored. The parent still runs with its inherited limit and uses the existing failure and bisection paths. The cap includes virtual mappings as well as allocated memory, so users can choose a budget appropriate for their driver.Tested
git diff --checkand the game-data check passed.GPUs tested: n/a (CPU-only synthetic checks).
AI-assisted.
Checklist
main.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.