mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #2453] Windows/NVIDIA performance regression: v0.1.42 ~69 tok/s vs v0.1.44.1 ~55–58 tok/s on RTX 5060 Ti #999
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#999
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Celica4101 on GitHub (Oct 14, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/2453
Hi, I am seeing a fairly large decode performance regression on Windows/NVIDIA after updating Strata.
System
I have not manually changed the tuning parameters from the values generated by Strata setup.
Performance
Full v0.1.42 checkout
I cloned the
v0.1.42tag into a separate directory and started it from there.Observed:
The runtime log for this run shows:
session is up (engine 0.1.42)expert cache 4269 slots, 8.14 GiB of VRAM2078 generated in 30043 ms (69.2 tok/s)decode expert cache hit rate: 91.1%KV streaming: 99.93%I have attached this v0.1.42 runtime log.
Full v0.1.44.1 checkout
After updating my normal Strata checkout to v0.1.44.1, I repeatedly observed:
This was repeatable across multiple generations.
Before the update, v0.1.43.1 on this same machine was also running in roughly the same performance range as v0.1.42 (around 67–69 tok/s).
Engine rollback test
I also tried:
python setup.py --rollback-engineThis restored engine v0.1.43.1 while keeping the newer Strata checkout.
In that configuration:
So rolling back only the engine binary did not restore the previous performance.
When I instead ran the complete v0.1.42 checkout, RAM usage returned to about 64 GB and decode performance immediately returned to 69.2 tok/s.
This makes me wonder whether the regression may involve something outside the engine binary itself, such as generated configuration, expert/memory placement, or another change in the surrounding Strata tree.
PCIe check
I also monitored the GPU PCIe link while generating.
The RTX 5060 Ti remained at PCIe Gen5 x8 under load, so I do not appear to be seeing the Gen1 link-drop behavior reported in another issue.
Logs
Attached:
strata_full_0.1.42_69.2tps.logstrata_newtree_0.1.44.1_rollback_0.1.43.1.logstrata_v0.1.44.1_and_rollback_v0.1.43.1.log
↓strata_full_0.1.42_69.2tps.log
strata-iq3_s.log
@qiuzan2001 commented on GitHub (Oct 15, 2026):
I tried to reproduce this on Linux, comparing engine builds only. It does not reproduce here.
Box: RTX 5070 Ti 16 GB (sm_120, CUDA 13.1), Ryzen 7 5800X3D (AVX2), 76 GB RAM, Ubuntu. Swift 1.5 IQ3_S. The engines were built from source at
v0.1.42and at main296b59d2(0.1.44.1).Method:
tools/ab_engine.pywith one server (main'sserve/). Only the config'sexechanged between the two arms. 4 rounds, the arms' order alternating, greedy. The config: 64K context,--kv int8 --kv-resident 32768, the speed projection off (Swift).1. Default args, 512 new tokens. Decode tok/s per round:
2. Your setup's tuning added (
--pcie-frac 0.20 --pool-workers 15 --adapt-every 1 --adapt-swaps 160 --adapt-decay 0.97), long answers of up to 2,048 tokens:With the adaptive tier on, rounds of the same build range from 70 to 95 tok/s on this box. A single 0.1.42 run at 69 against 0.1.44.1 runs at 55-58, each on a different answer, is not enough to tell the builds apart. Your log points the same way: the engine-only rollback to 0.1.43.1 inside the new tree stayed at 52-58.
What this does not cover: Windows/WDDM, the RTX 5060 Ti's x8 link, the original model with the speed projection, and the Python side of the 0.1.42 checkout. Here the server was main's in both arms.
On your PC, the same kind of A/B would show whether it is the engine:
python tools/ab_engine.py <your config.json> A:exe=C:\...\Strata-0.1.42\engine\strata.exe B:exe=C:\...\Strata-git\engine\strata.exe --rounds 4To test the rest of the checkout, run it once from each checkout.
@Celica4101 commented on GitHub (Oct 15, 2026):
@qiuzan2001
<html> <html><head></head>Thank you for testing this on Linux and for suggesting the controlled A/B comparison!
I ran
tools/ab_engine.pyfor 4 rounds on my Windows system, alternating the A/B order. Both arms used the same server checkout, configuration (strata-iq3_s.json), model files, and the script’s default test prompts with greedy decoding. Only the engine executable was changed:A: 0.1.42
B: 0.1.44.1
I also verified the version embedded in each executable.
My environment:
Windows 11, Intel Core i9-14900K, 128 GB RAM
RTX 5060 Ti 16 GB
Qwen3.8-Flash-Next IQ3_S, Experimental Speed Projection enabled
Context: 65,536 tokens
Median speeds across the four rounds, in tokens/s:
Test
A decode
B decode
A prompt
B prompt
chat0
90.2
89.3
102.8
104.6
chat1
74.4
72.5
88.9
89.0
chat2
74.5
76.1
90.2
90.5
long
69.0
76.0
1681.8
1696.9
For the three short chat tests, B’s median decode speed differed from A by approximately −2.6% to +2.1%. On the long-prompt test, B was approximately 10.1% faster.
So, I could not reproduce the substantial slowdown from my earlier comparison of the two full installations when changing only the engine under these test conditions.
The cause of the original difference is still unclear, but this gives us a more controlled Windows data point and helps narrow down the investigation. Thank you again for your time and the helpful suggestion!
</html> </html>@qiuzan2001 commented on GitHub (Oct 16, 2026):
One more way to look at the 69 to 55 tok/s, for when the A/B has finished: see where the 10 tok/s went, not only that they went. Strata's own
STRATA_DECODE_TIMINGlines split a decode window into GPU, CPU experts, draft and adapt wait, and give the expert cache hit rate per request. tools/strata_profile.py writes that as a report per build, and Strata Profile Studio draws two reports side by side against the noise floor of the PC (measured from two runs with the same settings). On this box the floor is 3.3 % for short chats, so a 15 % drop would stand out, and the split says whether it sits in the CPU experts (RAM bandwidth), in the PCIe copies or in the draft.The Studio is not tested on Windows on hardware yet (its readers for Windows come from the tools' documentation). If you run
python3 studio.py --host-probe --config <your strata-<model>.json>, the output says what it could read on your PC, and I will fix what it could not.@Celica4101 commented on GitHub (Oct 16, 2026):
@qiuzan2001
Thank you! I ran
--host-probeon my Windows PC.My hardware is an Intel Core i9-14900K, an RTX 5060 Ti 16 GB, and 128 GB RAM, running Windows 11. The Python version is 3.12.10.
The CPU activity, CPU frequency, memory, GPU, and engine-log readers all returned data. CPU temperature and CPU power were reported as unavailable without third-party tools.
Here is the full probe output:
One additional observation since my A/B report: I also tried the 0.1.44.1 engine with the server and configuration from my 0.1.42 installation, changing the executable path in a copy of the old config.
The chat UI showed 66.7 tok/s with Experimental Speed Projection enabled, close to the approximately 69 tok/s I previously saw with the full 0.1.42 installation. This was a single normal-chat observation, not another controlled benchmark, but I thought it might help narrow down the investigation.
Thank you again for your help!
@qiuzan2001 commented on GitHub (Oct 16, 2026):
Thank you, that is the first Windows probe. The five readers that the breakdown needs (CPU busy, CPU frequency, memory, nvidia-smi, the engine log with the probe and pool lines) all returned data, so Windows shows the same Now and Compare views as Linux; only the CPU temperature and package power blocks say they are unavailable. Your PC is now in the Studio's "Works on" table: https://github.com/qiuzan2001/strata-profile-studio#works-on.
One correction on my side: Studio 0.1.0 needed two Strata pull requests that are not in 0.1.44.1 as released (#2660 and #2661), so a profile run would not have worked on your install. Studio 0.1.1 works with 0.1.44.1 as it is (
git pullin the Studio folder): https://github.com/qiuzan2001/strata-profile-studio/releases/tag/v0.1.1.Your 0.1.44.1 engine with the 0.1.42 server and config giving 66.7 tok/s, near the 69 of the full 0.1.42 install, is a useful single observation for this thread: it points at the server or the run config rather than the engine. A second and third request of the same kind would show whether it holds.
@Celica4101 commented on GitHub (Oct 17, 2026):
@qiuzan2001
Thank you for adding my Windows probe results to the “Works on” table, and for fixing compatibility with the released version of Strata!
I ran two more requests using exactly the same prompt as the original 66.7 tok/s observation.
The configuration was:
The additional results shown in the chat UI were:
Together with the original 66.7 tok/s result, all three observations were between 66.7 and 69.6 tok/s, close to the approximately 69 tok/s I previously saw with the full 0.1.42 installation.
These are normal-chat observations with varying response lengths, but the two additional requests support the earlier result for this combination of server, configuration, and engine.
@Celica4101 commented on GitHub (Oct 17, 2026):
A follow-up after updating to Strata 0.1.45 on the same Windows PC (i9-14900K, RTX 5060 Ti 16 GB, 128 GB RAM).
With the same IQ3_S model and experimental speed projection enabled, the displayed generation speed is now much closer to the ~69 tok/s I reported previously.
Using the same prompt:
「こんばんは。今夜も面白い素敵な話をしてくれる?」
(“Good evening. Could you tell me another interesting, lovely story tonight?”)
With the 0.1.45 UI temperature at 1.00:
An additional run after setting the UI temperature to 0.60 gave:
However, the 0.1.45 UI code appears to treat 0.60 with the default top-p/top-k as unset, so I cannot confirm that this third run actually used temperature 0.60.
I also noticed that the stories themselves were shorter. To compare, I returned to my 0.1.42 installation with IQ3_S and used a new chat with the same prompt, temperature 1.00, Thinking High, top-p 0.95, top-k 20, Max tokens left blank, and projection on:
The actual story text was substantially longer, so the difference was not just in thinking tokens. For context, my earlier runs with the 0.1.42 server/config and 0.1.44.1 engine, reported above, also produced 3,515 and 1,955 tokens.
These are preliminary observations from a few chat runs. The speed improvement is encouraging, but are there changes in 0.1.45’s generation settings or behavior that might explain the shorter responses?
I have saved the chat transcripts as Markdown and can share the relevant examples if useful. Thank you again for your help!
@Niko1221 commented on GitHub (Oct 19, 2026):
Thanks for taking the time to report this.
We're resetting the tracker for 0.2.0-beta. There are more than 1,300 open issues and pull requests, too many for us to read properly, so we're closing everything that isn't being worked on right now. Closed here does not mean rejected.
To reopen it takes about two minutes:
/reopen. A check runs and either reopens the issue or lists what is still missing.The rules are in CONTRIBUTING.md.
@Celica4101 commented on GitHub (Oct 19, 2026):
Thank you for your reply and for all your work on Strata! No worries at all about closing this issue—I was already planning to close it soon myself now that 0.2 is out.
I'm looking forward to trying 0.2, but I'll be busy with work for the next couple of days, so I'll give it a try when I have some free time. Thanks again!