Skip to content

[P1] 排名负载:32 客户端、热点轮盘、30s 预热 + 3×150s 窗口 #9

Description

@Kosthi

父任务 / 依赖

背景

当前 executor 为「N 线程 × M 事务」均匀随机仓模型。2026 正式测量为饱和时长负载 + 确定性路由。

正式规格(可配置缩小用于本地)

默认正式值 CLI 建议
仓库数 50 -s/--scale
客户端 32 --clients(替换或别名 --threads
预热 30s --warmup-secs
测量窗口 3 × 150s --windows / --window-secs
事务混合 45/43/4/4/4 已有 --txn-probs
轮盘 160 槽 + 4 热点仓 --workload-seed

任务清单

  • 实现 160 槽确定性轮盘(赛题公式 slot_index(client_id, txn_no)
  • 由 seed 派生 4 热点仓;热点约 65% 归属流量;热点 district / 热点商品规则
  • NewOrder 远程供货仓约 8%;Payment 远程客户仓约 30%(与事务参数生成对齐)
  • 无思考时间饱和发送;按墙钟窗口切换,非固定事务数
  • 预热阶段统计不计入排名
  • 连续 3 窗口,窗口间不单独预热
  • 重试复用首次参数(归属仓、明细等),不重抽、不换仓
  • txn_no 规则:最终放弃也占序号,重试不增序号
  • 本地快速模式:如 -s 1 --clients 4 --warmup-secs 5 --window-secs 10 --windows 1

验收标准

  • 正式默认参数与赛题一致(或文档标明偏差)
  • 预热与测量计数隔离
  • 覆盖统计可输出(为门禁 issue 提供数据)

参考

赛题第三章(一)、指标一览表

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    2026-final2026 final contest alignmentarea/workloadBenchmark load modelenhancementNew feature or requestpriority/p1Ranking workload & semantics

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions