Repository navigation
Closed as not planned
Closed as not planned
Copy link
Labels
Description
同一根本原因(performance-memory)的 open issue 汇聚,由根因归类板自动维护(10min 刷新,勿手编)。
本批 issue
- 镜像 [PR] fix(dsh): parse the pre-send request body once per request #5798(GitHub [perf][dsh] 25.8-32.7 s of each step elapses before bili sees the body (bili itself: 5.5-7.2 s) | TTFT 归因:每步 25.8-32.7 s 发生在 bili 收到请求体之前 #5792) — [perf][dsh] 25.8-32.7 s of each step el…
根因: TTFT attribution on a 29,619-msg/51.2MiB dsh session: aligning DSH step/start e… - 镜像 [PR] fix(persist): stop re-reading the envelope on every index-only save (#5805) #5808(GitHub [perf][pool] Default residency budget of 512 MiB causes a 33 MB session to be evicted every round alongside a 578 MB lar | [perf][pool] 默认驻留预算 512 MiB 让 33 MB 会话在 578 MB 大会话旁每轮被驱逐(每次重载 3.4 s,全在事件循环上) #5806) — [perf][pool] Default residency budget o…
根因: default sessions.residentMaxBytes=512MiB sits below a single large session's me… - 镜像 [PR] Revert "[PR] feat(fastpath): v6 composite-identity incremental fastpath lane (full rework, #5576 line voided)" #5854(GitHub decision request: resident-pool default budget — keep 512 MiB, raise to 2 GiB, or scale with physical RAM (+ two related pending calls) | 决策请求:常驻池默认预算维持/上调/按物理内存自适应(附两项关联待决) #5852) — decision request: resident-pool default…
根因: decision request: default sessions.residentMaxBytes=512MiB vs A2 static ~2GiB v… - 镜像 [PR] fix(nudge): no billing sample this round → hold pressure-band injection one round (phantom-pressure guard) #5860(GitHub [Bug][dsh] 0.1.212 / Windows: host exit 134 (2.2 GB V8 heap OOM) on a 3.8 MiB long session — likely #5811 + #5813 + #5418 combined | 3.8 MiB 长会话触发 host OOM #5858) — [Bug][dsh] 0.1.212 / Windows: host exit…
根因: dsh desktop HOST process (not proxy) exits 134: V8 heap OOM at 1.7-2.2GB reside… - 镜像 #4516's oversize circuit breaker has a dual false positive: B/4 token estimation overestimates CJK content by 7x + windo | #4516 的 oversize 熔断存在双重误判:B/4 token 估算对 CJK 内容高估 7 倍 + 窗口比较未使用实际请求模型的上下文窗口 #5871(GitHub 0.1.212 still reproduces the structural issue from #4528: single-request local preprocessing peaks at 144.7s; conversati | 0.1.212 仍复现 #4528 的结构性问题:单请求本地预处理最高 144.7s,关闭插件后对话明显变快 #5869) — 0.1.212 still reproduces the structural…
根因: Long sessions starve the event loop: a 4,600-message session blocks the proxy and the web UI for 7–50 s per turn #4528 structural cost persists in 0.1.212 despite [PR] fix(#4528): yield to the event loop during long turns; warn on slow sessions #4544 stopgap: every turn run… - 镜像 [Bug][dsh lane] 0.1.213 macOS: a detached proxy that outlives the host keeps running but loses Local Network authorization (all LAN upstreams EHOSTUNREACH, cloud fine), and host restart re-attaches to it so it never heals | 守护进程跨宿主存活后失去本地网络授权,attach 复用旧进… #6257(GitHub [Bug][storage] CPU profile of v0.1.213 slow-ingest: canonicalJson + serialize + canonicalDigest dominate the delta save path #6254) — [Bug][storage] CPU profile of v0.1.213 …
根因: a CPU profile of a live v0.1.213 proxy attributes the recurring slow-ingest wal… - 镜像 Kernel authorization request: On first write, the visibility watermark for the time attribute is set below the stamped r | Kernel authorization request: 时间属性可见水位线首次写入时定在已盖戳引用之下(从 v0.1.213 更新后的第一个请求会把所有现有标签的 time= 去掉) #6327(GitHub Performance issue: saving a sub-2 KB config snapshot and a few new messages, yet rewriting 13 MB every round. | 性能问题:保存不到 2 KB 的配置快照和几条新消息,每轮重写 13 MB #6325) — Performance issue: saving a sub-2 KB co…
根因: single session of 33,332 messages, zero concurrency, unified storage (index.db …
任务
对本批 issue 做一个根本性修复 PR:
- PR 描述里用
Fixes #...逐个列出上面每一个 GitHub issue 号(没有 GitHub 号的写镜像号) - 若某个 issue 已有自己的 PR 且方向一致,cherry-pick 其 commit 并保留原作者署名(
-x);由你判断是否值得 - 标签按本 PR 的 diff 独立判断(类别 + 优先级),不要抄任何来源 issue
- 修完后回帖本线程:改了什么、为什么一次修了整批
Activity
[-][根因] performance-memory(自动维护,勿手动关闭)[/-][+][Root Cause] performance-memory (auto-maintained, do not close manually) | [根因] performance-memory(自动维护,勿手动关闭)[/+]ranxianglei commentedon Nov 12, 2026
[bot]
(ai: vllm-qwen/qwen3.8-27b)
进程被强制重启(30 分钟无输出),工作树干净,上一会话未留下阶段性产物。已重新读完本批全部 7 个 issue,报状态与计划。
查重:本单是根因归类板(自动维护),7 个 issue 同属 performance-memory 族。逐一核过 open+closed,本批无新的并行修复 PR 与我在途工作重叠;#5755 / #5846 / #5815 是各自 issue 既有的在途 PR(见下表)。
机制地图(我逐个读过的独立结论,非照抄来源 issue):
本批未覆盖的公共根因:#6254 与 #6325 是同一机制的两个面——统一存储的 save 路径每轮把整个会话状态重做/重写一遍,而不是只处理 delta(#6325 是列层面:sessions 行 4 个 13MB 大列全量覆盖;#6254 是内容层面:canonicalJson / serialize / canonicalDigest 无内容缓存)。其余 5 个:已修 / 在途 / 决策请求。
计划(一个根因修复 PR,聚焦未覆盖的 save 路径冗余):
src/storage/的 ingest/save 路径,钉死 Performance issue: saving a sub-2 KB config snapshot and a few new messages, yet rewriting 13 MB every round. | 性能问题:保存不到 2 KB 的配置快照和几条新消息,每轮重写 13 MB #6325 列覆盖 + [Bug][storage] CPU profile of v0.1.213 slow-ingest: canonicalJson + serialize + canonicalDigest dominate the delta save path #6254 无 memo 的代码位置;Fixes #6325(+[Bug][storage] CPU profile of v0.1.213 slow-ingest: canonicalJson + serialize + canonicalDigest dominate the delta save path #6254 若同 PR 覆盖),Refs其余 5 个并说明各自去向;待你拍板(不阻塞本 PR,§7.4 默认值/架构级不拍板不动):#5852 默认预算(推荐 A3 自适应);#5869 读侧 O(n) 方向(推荐 A 记忆化)。
标签:按本 PR diff 独立判断(类别 + 优先级),PR 开出后补。
避开上一轮可能卡住的操作(长时构建 / 全量测试 / 挂起网络请求),改走定向小步。