Skip to content

[Performance]: Performance regression: sysbench #33076

Done

Description

@fengttt

Is there an existing issue for performance?

  • I have checked the existing issues.

Environment

- Version or commit-id (e.g. v0.1.0 or 8b23a93):
- Hardware parameters:
- OS type:
- Others:

Details of Performance

Sysbench performance regression. Most likely due to 520ee5c

Additional information

For example: Have you compared MatrixOne with other databases?
If yes, what's their difference?

Activity

  1. self-assigned this
    on Nov 23, 2026
  2. fengttt commented on Nov 23, 2026

    @fengttt
    ContributorAuthor

    #33074 This PR is closed, as we won't revert the commit. We will continue vector work to fix this. Moving junks out of vector is absolutely the right thing so we keep going.

  3. fengttt commented on Nov 26, 2026

    @fengttt
    ContributorAuthor

    @Ariznawlll can you please verify the regression is gone? I tested/checked on local build and the regression has been fixed. Thank you.

  4. XuPeng-SH commented on Nov 26, 2026

    @XuPeng-SH
    Contributor

    补充 #33081 合入后的独立 QA 证据,原回归不必从头复跑:Ariznawlll 在 #33064 的复验 使用包含修复 32c9bc65 的 main@b6f4ca00,TKE 1 TP + 2 AP、1,000 并发、300 秒。random_points、random_ranges、nopk_random_points 分别为 9,284、9,109、2,625 TPS,零请求错误,TP 的 Sysbench 比较与门禁通过。

    验证边界:前两项超历史中位数,无主键点查仍低约 15%,但在门禁 25% 范围内。这是一次共享 TKE 运行,未取得该窗口 CPU profile,也早于 #33091;不是当前 main 的新跑分,整个 nightly 并非全绿。若还需要补测,重点是最新 main 的无主键点查及同窗口 CPU profile。

  5. Ariznawlll commented on Nov 27, 2026

    @Ariznawlll
    Collaborator

    收尾复验:原 Sysbench 随机读回归已恢复,按 COMPLETED 关闭

    本次复核采用已执行的独立 TKE 复验,不把作者本地结果或整个 nightly 的状态代替性能证据;不是今天新跑的一组隔离 A/B。

    • 修复:fix(prepare): never allocate for parameter binding after the first execution (#33076) #33081 已合入 main,merge SHA 32c9bc6527f8b2c1f7b66e92a548137679085da5。
    • 实测版本:MatrixOne b6f4ca00abd9f8cb9aa5e72d1be830238df22264,包含上述修复。
    • 环境:TKE run 45421481573,1 TP + 2 AP、1,000 并发、300 秒,三项请求错误均为 0。
    • random_points:回归时 3,232 TPS,修复后 9,284 TPS,历史中位数 6,607 TPS。
    • random_ranges:回归时 3,669 TPS,修复后 9,109 TPS,历史中位数 8,047 TPS。
    • nopk_random_points:回归时 1,889 TPS,修复后 2,625 TPS,历史中位数 3,091 TPS;较回归提升约 39%,仍低于中位数约 15%,但在既定 25% 回退门槛内。
    • TP Sysbench 性能比较与门禁 job 为 SUCCESS。

    边界:这是一次共享资源环境的 nightly 结果,不是隔离多轮 A/B;该窗口没有 CPU profile,不能据此断言热点已在所有环境消失。整个 workflow 因其他 IVF/CDC/Fulltext 等任务失败而是 FAILURE,不能描述为全绿;与本次 TP 门禁分开判断。若 nopk_random_points 后续继续低于基线或出现新回退,应另开针对性性能跟踪。

  6. Ariznawlll commented on Nov 27, 2026

    @Ariznawlll
    Collaborator

    版本口径更正:重新打开,需在当前最新 main 复验

    前面的关闭依据是 TKE run 45421481573 中 MatrixOne b6f4ca00abd9f8cb9aa5e72d1be830238df22264 的一次跑分;它包含 #33081,但不是当前最新 main。截至本次复核,官方 refs/heads/main 为 9bf005bfcd06ef722351bccd9c9a59833ce2b5bd。

    因此,既有结果仍可作为“修复后曾恢复且 TP 门禁通过”的证据,但不能满足“main 修复必须在最新 main 验证”的收尾门槛。此前以 COMPLETED 关闭得过早,现重新打开。

    关闭前需在最新 main 的明确完整 SHA 上复测原 Sysbench 随机读场景,并保留同口径基线/回归对照、请求错误和性能门禁证据;若使用 nightly,还需单独披露共享资源、workflow 其他任务及 CPU profile 边界,不能再用旧 nightly 代替最新分支验收。

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions