mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #2337] [CLOSED] sycl serve: STRATA_SYCL_MEMLOCK=0 leaves out --ulimit memlock=-1 (unprivileged LXC, rootless Docker) #3989
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#3989
Loading…
Add table
Add a link
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/Niko1221/Strata/pull/2337
Author: @leadgtr7
Created: 10/13/2026
Status: ❌ Closed
Base:
main← Head:sycl-serve-memlock-opt-out📝 Commits (1)
7065c1bsycl serve: STRATA_SYCL_MEMLOCK=0 leaves out --ulimit memlock=-1 (unprivileged LXC, rootless Docker)📊 Changes
1 file changed (+6 additions, -1 deletions)
View changed files
📝
sycl/serve/strata-sycl.sh(+6 -1)📄 Description
What it changes:
sycl/serve/strata-sycl.shkeeps--ulimit memlock=-1by default;STRATA_SYCL_MEMLOCK=0leaves it out. One header line documents it.Why: since 0.1.42 (
e02bd99) the launcher always passes--ulimit memlock=-1. Docker inside an unprivileged LXC container (and, as far as we know, rootless Docker) may not raise that limit, anddocker runthen fails before the engine starts:The server only sees the engine exit at start, and there is no setting to avoid it short of editing the launcher. On our host the engine ran without the flag up to 0.1.41 and runs on 0.1.44 with this setting (below).
What it leaves alone: the default (
--ulimit memlock=-1is still passed; thedocker runarguments are identical to main, checked with adockerstub that prints them), and everything else in the launcher. CUDA/HIP untouched.How it was checked:
dockerstub: default identical to main; withSTRATA_SYCL_MEMLOCK=0the argument list has no--ulimit.STRATA_SYCL_MEMLOCK=0a v0.1.44 engine started (docker inspect: no ulimits) and ran Swift 1.5 IQ3_S: pinned host mirror, KV streaming and a 61,052-token prompt worked, 36.8 tok/s decode.Not tested: rootless Docker and Podman themselves (the LXC case is the one we hit), and whether pinned-memory speed differs with the flag on a host that accepts it.
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.