-
-
Notifications
You must be signed in to change notification settings - Fork 80.7k
[Analysis] Identify performance bottlenecks in native OpenClaw setup on constrained VPS #53600
Copy link
Copy link
Open
Labels
P3Low-priority cleanup, docs, polish, ergonomics, or speculative work.Low-priority cleanup, docs, polish, ergonomics, or speculative work.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.ClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.impact:otherThis issue has meaningful maintainer-visible impact outside the owned taxonomy.This issue has meaningful maintainer-visible impact outside the owned taxonomy.issue-rating: 🌊 off-meta tidepoolIssue quality rating does not apply to this item.Issue quality rating does not apply to this item.maturity:stableIssue affects a taxonomy feature currently scored M4/M5.Issue affects a taxonomy feature currently scored M4/M5.staleMarked as stale due to inactivityMarked as stale due to inactivity
Description
Metadata
Metadata
Assignees
Labels
P3Low-priority cleanup, docs, polish, ergonomics, or speculative work.Low-priority cleanup, docs, polish, ergonomics, or speculative work.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.ClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.impact:otherThis issue has meaningful maintainer-visible impact outside the owned taxonomy.This issue has meaningful maintainer-visible impact outside the owned taxonomy.issue-rating: 🌊 off-meta tidepoolIssue quality rating does not apply to this item.Issue quality rating does not apply to this item.maturity:stableIssue affects a taxonomy feature currently scored M4/M5.Issue affects a taxonomy feature currently scored M4/M5.staleMarked as stale due to inactivityMarked as stale due to inactivity
Type
Fields
Priority
None yet
Context
Running OpenClaw
2026.3.13natively (no Docker) on a Hetzner CPX32 VPS:Current config highlights
anthropic/claude-opus-4-6(200k context)contextTokenscompaction.keepRecentTokenscompaction.reserveTokensFloorcompaction.modelclaude-sonnet-4-6contextPruning.modecache-ttl(1h)subagents.maxConcurrentagents.defaults.maxConcurrentmemorySearch.enabledheartbeattimeoutSecondsRequest
Perform a systematic analysis of potential performance bottlenecks that could cause reasoning slowness in this native setup. Specifically:
1. Context assembly & prompt size
contextTokens: 800000and models that have 200k native windows, how does OpenClaw handle the mismatch? Is there unnecessary token counting, truncation overhead, or wasted prompt assembly work?2. Memory search overhead
memorySearchwith session recall enabled — does the embedding search (OpenAItext-embedding-3-small) happen synchronously before each model call?3. Compaction pipeline
claude-sonnet-4-6). When does this fire vs. the actual reasoning call? Is it sequential or parallel?4. Subagent orchestration
maxConcurrent: 3subagents +maxConcurrent: 4agents, what is the actual concurrency behavior?5. Telegram channel latency
streaming: off+blockStreaming: truemeans the full response must complete before delivery. For long reasoning chains this adds perceived latency.queuemode — does message queueing add artificial delays between user messages and processing start?timeoutSeconds: 90on Telegram — does this cause premature aborts on complex multi-tool reasoning turns?6. Hook overhead per turn
boot-md,bootstrap-extra-files,command-logger,session-memory). What is their per-turn cost?session-memoryhook do synchronous I/O on every turn?7. Auth fallback chain
8. Node.js / OS level
LimitNOFILE=524288— is there any event loop contention when running gateway + multiple subagent sessions?Expected outcome
A documented analysis (or instrumentation plan) that identifies:
Environment