Skip to content

Opt-in server energy sampling and IOReport reuse - #1308

Merged
CC-Yeh merged 2 commits into
mainfrom
perf/opt-in-server-energy
Dec 3, 2026
Merged

CC-Yeh merged 2 commits into
mainfrom
perf/opt-in-server-energy

Conversation

@CC-Yeh

@CC-Yeh CC-Yeh commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

- Addresses #1304
- Make server energy sampling opt-in with --measure-energy
- Reuse IOReport subscriptions, saving 33–44 ms on tested M5 Pro requests with sampling on
@CC-Yeh
CC-Yeh requested a review from alexxale as a code owner December 3, 2026 11:10
@CC-Yeh
CC-Yeh requested review from eugenebokhan and uuuvn December 3, 2026 11:11
@CC-Yeh CC-Yeh changed the title Make server energy sampling opt-in and reuse IOReport subscriptions Opt-in server energy sampling and IOReport reuse Dec 3, 2026
@CC-Yeh
CC-Yeh merged commit cb91d1d into main Dec 3, 2026
18 checks passed
@CC-Yeh
CC-Yeh deleted the perf/opt-in-server-energy branch December 3, 2026 12:26
@github-actions

github-actions Bot commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

Benchmark of cb91d1d5 against c176965e, the commit before it on main (log)

Host Model Decode Prefill
tokens/s
First token
s
Memory
GiB
m5max Qwen3.8-27B-M 25.78 fwd/s +0.7% × 4.79 tok/fwd -3.0% 1513 -0.1% 2.69 -0.3% 16.89 +0.0%
m5max Qwen3.5-9B-Dash 87.66 fwd/s -0.2% × 6.25 tok/fwd +1.0% 5188 +0.7% 0.71 -0.1% 4.47 +0.0%
m5max Qwen3.5-2B-M 306.39 fwd/s -0.1% × 1.00 tok/fwd +0.0% 14163 +0.3% 0.23 +0.1% 1.32 +0.0%
m4max Qwen3.8-27B-M 20.30 fwd/s -0.2% × 4.10 tok/fwd -1.8% 261 -0.2% 5.24 +0.0% 16.39 +0.0%
m4max Qwen3.5-9B-Dash 52.47 fwd/s -0.2% × 4.73 tok/fwd -1.8% 908 -0.1% 1.53 +0.8% 4.04 +0.0%

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants