[GH-ISSUE #4760] [Engine] strata 0.2.8 CPU reaches 100 C and thermal throttles for the whole prefill (i5-13600KF, RTX 3090) #2184

Closed
opened 2026-11-04 01:57:18 +07:00 by bsakaguchi · 4 comments
Owner

Originally created by @Hosein20000 on GitHub (Oct 30, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/4760

During prefill, my CPU temperature jumps to 100°C in under a second and stays there until the prompt is read. In a full stress test (AIDA64 with CPU, FPU and cache), the average is only about 80°C. Why is Strata’s prefill so much hotter than a full stress test?

Originally created by @Hosein20000 on GitHub (Oct 30, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/4760 During prefill, my CPU temperature jumps to 100°C in under a second and stays there until the prompt is read. In a full stress test (AIDA64 with CPU, FPU and cache), the average is only about 80°C. Why is Strata’s prefill so much hotter than a full stress test?
bsakaguchi 2026-11-04 01:57:18 +07:00
Author
Owner

@github-actions[bot] commented on GitHub (Oct 30, 2026):

Thanks for the issue. To keep the tracker readable, every item needs an area prefix in the title and the parts of the issue form filled in. This one is missing:

  • Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other], then a short description. Example: "[Engine] decode stops after 2 minutes".
  • Add the Strata version (Settings > About, or strata --version).

Edit the issue (title and description) and this note goes away on its own. If it is still missing parts in 5 days it will be closed, which is not a rejection: fix it and comment /reopen.

Details: CONTRIBUTING.md

<!-- gh-comment-id:6535138977 --> @github-actions[bot] commented on GitHub (Oct 30, 2026): Thanks for the issue. To keep the tracker readable, every item needs an area prefix in the title and the parts of the issue form filled in. This one is missing: - [ ] Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other], then a short description. Example: "[Engine] decode stops after 2 minutes". - [ ] Add the Strata version (Settings > About, or `strata --version`). Edit the issue (title and description) and this note goes away on its own. If it is still missing parts in 5 days it will be closed, which is not a rejection: fix it and comment `/reopen`. Details: [CONTRIBUTING.md](https://github.com/Niko1221/Strata/blob/main/CONTRIBUTING.md)
Author
Owner

@ronny332 commented on GitHub (Oct 31, 2026):

Made me laugh a bit. Totally off-topic on my end, so feel free to delete this if it's not wanted:
If your CPU temps are higher with Strata than in your benchmark, then your benchmark isn't a good one. Strata tries to put as much work as possible onto a single CPU core. The hotter your CPU gets, the worse your cooling is, and the better the code is working.
A hot CPU doesn't mean the code needs changing. It just means your cooling is weak, or your CPU is allowed to draw too much power.

<!-- gh-comment-id:6536238279 --> @ronny332 commented on GitHub (Oct 31, 2026): Made me laugh a bit. Totally off-topic on my end, so feel free to delete this if it's not wanted: If your CPU temps are higher with Strata than in your benchmark, then your benchmark isn't a good one. Strata tries to put as much work as possible onto a single CPU core. The hotter your CPU gets, the worse your cooling is, and the better the code is working. A hot CPU doesn't mean the code needs changing. It just means your cooling is weak, or your CPU is allowed to draw too much power.
Author
Owner

@Hosein20000 commented on GitHub (Oct 31, 2026):

Thanks for the reply, and no need to delete it, it's a useful point. Some details so it's clear what I'm seeing:

  • CPU: i5-13600KF, 360 mm AIO, fresh Honeywell PTM pad, power limits set to PL1 125 W / PL2 181 W. HWiNFO shows "Power Limit Exceeded: No" the whole time.
  • AIDA64 stress test (CPU + FPU + cache, 25 min): core averages about 77-86 C, peak 96 C, no throttling.
  • Strata with a ~145k-token prompt: while it reads the prompt (right after that "max_tokens shortened" line) the P-cores reach 100 C and stay there with "Core Thermal Throttling" = Yes until the prefill ends. It doesn't happen while generating.

So the cooler handles a sustained all-core load fine, but the prefill puts a heavy load on a few P-cores at once, and those get much hotter than in AIDA64 even at the same power limit. You may be right that this is how the engine is meant to work. I'm not reporting a bug, I just want to know if it is expected.

Two questions for you or the maintainer:

  1. Is it expected that prefill holds a few P-cores at full load for the whole prompt read, to the point where a 360 mm AIO throttles?
  2. Is there a setting to spread or soften that load without losing much speed? I'm already using --pool-workers 9 and --pcie-frac 0.30 (config below).

Thanks!

<!-- gh-comment-id:6539250251 --> @Hosein20000 commented on GitHub (Oct 31, 2026): Thanks for the reply, and no need to delete it, it's a useful point. Some details so it's clear what I'm seeing: - CPU: i5-13600KF, 360 mm AIO, fresh Honeywell PTM pad, power limits set to PL1 125 W / PL2 181 W. HWiNFO shows "Power Limit Exceeded: No" the whole time. - AIDA64 stress test (CPU + FPU + cache, 25 min): core averages about 77-86 C, peak 96 C, no throttling. - Strata with a ~145k-token prompt: while it reads the prompt (right after that "max_tokens shortened" line) the P-cores reach 100 C and stay there with "Core Thermal Throttling" = Yes until the prefill ends. It doesn't happen while generating. So the cooler handles a sustained all-core load fine, but the prefill puts a heavy load on a few P-cores at once, and those get much hotter than in AIDA64 even at the same power limit. You may be right that this is how the engine is meant to work. I'm not reporting a bug, I just want to know if it is expected. Two questions for you or the maintainer: 1. Is it expected that prefill holds a few P-cores at full load for the whole prompt read, to the point where a 360 mm AIO throttles? 2. Is there a setting to spread or soften that load without losing much speed? I'm already using --pool-workers 9 and --pcie-frac 0.30 (config below). Thanks!
Author
Owner

@Niko1221 commented on GitHub (Oct 31, 2026):

In prefill the CPU takes part: on a single CUDA card, for prompt chunks under 1,024 tokens, it computes the experts few tokens use while the GPU works on the rest (docs/DETAILS.md, STRATA_PREFILL_CPU_SHARE), and with the experts in RAM the CPU threads run flat out. That is more all-core work than your stress test. Strata does not check your cooling. If you want it cooler, lower the CPU thread count in the app's expert settings; tell us how prefill speed changes.

<!-- gh-comment-id:6547928113 --> @Niko1221 commented on GitHub (Oct 31, 2026): In prefill the CPU takes part: on a single CUDA card, for prompt chunks under 1,024 tokens, it computes the experts few tokens use while the GPU works on the rest (docs/DETAILS.md, `STRATA_PREFILL_CPU_SHARE`), and with the experts in RAM the CPU threads run flat out. That is more all-core work than your stress test. Strata does not check your cooling. If you want it cooler, lower the CPU thread count in the app's expert settings; tell us how prefill speed changes.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#2184
No description provided.