[GH-ISSUE #922] RTX 5070 Ti 16GB / Windows / IQ3_S: calibration ~94 tok/s #402

Closed
opened 2026-11-04 01:42:41 +07:00 by bsakaguchi · 23 comments
Owner

Originally created by @annD-annD on GitHub (Oct 5, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/922

Summary

I am seeing much lower decode performance than expected with Qwen3.8-Flash-Next IQ3_S on a Windows system with an RTX 5070 Ti 16 GB.

Strata itself calibrates this system at only about 13–14.4 tok/s.

In controlled requests with ~2.85K uncached prompt tokens and 256 generated tokens, decode speed is consistently around 9–10.6 tok/s.

This seems much lower than the published IQ3_S numbers for an RTX 5070 12 GB.

I am not sure whether this is a configuration issue, a Windows/Blackwell-specific performance problem, or expected behavior with my setup.


Hardware

  • GPU: NVIDIA GeForce RTX 5070 Ti
  • VRAM: 15.9 GB
  • Compute capability: 12.0
  • NVIDIA driver: 591.74
  • CPU: AMD Ryzen 9 9950X 16-Core Processor
  • AVX-512: available
  • RAM: 126 GB usable
  • OS: Windows
  • PCIe host -> device probe: ~47.3 GB/s

Strata

  • Version: 0.1.39
  • Engine: prebuilt Windows x64 CUDA 13.0
  • GPU architecture included: sm_120
  • Model: Qwen3.8-Flash-Next
  • Quantization: IQ3_S
  • Context: 131072
  • KV cache: int8
  • KV resident: 32768
  • MTP: enabled
  • Spec depth: 4
  • spec-min-p: 0.5
  • Vision: enabled, encoder on CPU
  • Parallel requests: 1

The setup completed without errors.


Calibration results

Command:
.\START-HERE.bat --calibrate

Results:
PCIe share 0.00: 13.0 tok/s
PCIe share 0.20: 13.4 tok/s
PCIe share 0.35: 13.4 tok/s
PCIe share 0.55: 13.2 tok/s
PCIe share 0.75: 12.5 tok/s

draft floor 0.30: 13.7 tok/s
draft floor 0.50: 14.4 tok/s
draft floor 0.70: 13.7 tok/s

15 workers: 13.1 tok/s
10 workers: 13.7 tok/s
8 workers: 13.6 tok/s

Strata selected:
--pool-workers 10
--spec 4
--spec-min-p 0.5

Startup / memory layout
Typical startup:
experts loaded: 46.84 GiB at ~6.7 GiB/s

filling the GPU's expert cache:
4222 experts
8.06 GiB of VRAM

KV streaming:
32768 of 131072 cells per QSA layer in VRAM
K/V in ~1.55 GiB pinned RAM

MTP draft layer:
835 MiB VRAM

VRAM free with everything loaded:
~401 MiB

Relevant expert arena messages:
expert arena: cudaHostRegister PORTABLE ok

large pages refused for 50295996416 B
(GetLargePageMinimum=2097152, VirtualAlloc error 1314)
using 4 KB pages

The main engine detects the GPU correctly:
GPU 0: NVIDIA GeForce RTX 5070 Ti, compute capability 12.0

There is also an early:
ggml_cuda_init: failed to initialize CUDA: no CUDA-capable device is detected

but this appears to come from the CPU vision process. The main Strata engine detects and uses GPU 0 correctly.
Controlled decode test
I sent three fresh requests through the OpenAI-compatible API.
Each request had:

  • ~2850 prompt tokens
  • cached_tokens = 0
  • max_tokens = 256
  • temperature = 0
    Results:
    Run 1:
    prompt_tokens: 2852
    completion_tokens: 256
    elapsed: 31.7 s

Run 2:
prompt_tokens: 2850
completion_tokens: 256
elapsed: 33.3 s

Run 3:
prompt_tokens: 2853
completion_tokens: 256
elapsed: 34.7 s

Strata log showed approximately:
9.2 tok/s
10.6 tok/s
10.3 tok/s

Example:
done: 256 tokens in 32 s (10.6 tok/s)
expert cache 84.7% hit
+10.8% of routed experts over PCIe

Other runs showed:
expert cache hit rate: ~80–85%
additional routed experts over PCIe: ~10–14%

Real chat runs
I also see large variation during normal use.
Examples:
794 tokens in 78 s = 13.8 tok/s
expert cache 83.1% hit
+11.6% over PCIe

and:
583 tokens in 178 s = 3.3 tok/s
expert cache 79.0% hit
+14.8% over PCIe

Another 64K-context test:
1305 tokens in 475 s = 2.9 tok/s
expert cache 83.4% hit
+11.3% over PCIe

Reducing the context from 128K to 64K did not materially improve performance.
I also tested a smaller resident KV area, which allowed a slightly larger expert cache:
4357 experts / 8.31 GiB VRAM

but performance remained around:
2.8 tok/s

with:
78.2% expert cache hit
15.1% routed over PCIe

Why this looks unusual
The published IQ3_S speed measurements for an RTX 5070 12 GB appear to be around:
~52 tok/s at short context
~53 tok/s around 4K
~45 tok/s around 128K

My RTX 5070 Ti 16 GB system is consistently far below that, including during Strata's own calibration.
Because the calibration itself reports only ~14 tok/s, this does not appear to be caused only by OpenWebUI or by a particular chat prompt.
Questions

  1. Is ~13–14 tok/s during calibration expected for IQ3_S on a 5070 Ti 16 GB?
  2. Does the ~80–85% expert-cache hit rate explain such a large difference from the published RTX 5070 results?
  3. Could the Windows pinned-memory / 4 KB page path cause this level of slowdown?
  4. Is there a recommended benchmark command or configuration I should run to reproduce the official IQ3_S speed measurements exactly?
  5. Are there any known sm_120 / RTX 5070 Ti performance issues in 0.1.39?
    I am happy to provide the full strata-iq3_s.log, config JSON, or additional benchmark results if useful.
Originally created by @annD-annD on GitHub (Oct 5, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/922 ### Summary I am seeing much lower decode performance than expected with Qwen3.8-Flash-Next IQ3_S on a Windows system with an RTX 5070 Ti 16 GB. Strata itself calibrates this system at only about 13–14.4 tok/s. In controlled requests with ~2.85K uncached prompt tokens and 256 generated tokens, decode speed is consistently around 9–10.6 tok/s. This seems much lower than the published IQ3_S numbers for an RTX 5070 12 GB. I am not sure whether this is a configuration issue, a Windows/Blackwell-specific performance problem, or expected behavior with my setup. --- ### Hardware - GPU: NVIDIA GeForce RTX 5070 Ti - VRAM: 15.9 GB - Compute capability: 12.0 - NVIDIA driver: 591.74 - CPU: AMD Ryzen 9 9950X 16-Core Processor - AVX-512: available - RAM: 126 GB usable - OS: Windows - PCIe host -> device probe: ~47.3 GB/s --- ### Strata - Version: 0.1.39 - Engine: prebuilt Windows x64 CUDA 13.0 - GPU architecture included: sm_120 - Model: Qwen3.8-Flash-Next - Quantization: IQ3_S - Context: 131072 - KV cache: int8 - KV resident: 32768 - MTP: enabled - Spec depth: 4 - spec-min-p: 0.5 - Vision: enabled, encoder on CPU - Parallel requests: 1 The setup completed without errors. --- ### Calibration results Command: .\START-HERE.bat --calibrate Results: PCIe share 0.00: 13.0 tok/s PCIe share 0.20: 13.4 tok/s PCIe share 0.35: 13.4 tok/s PCIe share 0.55: 13.2 tok/s PCIe share 0.75: 12.5 tok/s draft floor 0.30: 13.7 tok/s draft floor 0.50: 14.4 tok/s draft floor 0.70: 13.7 tok/s 15 workers: 13.1 tok/s 10 workers: 13.7 tok/s 8 workers: 13.6 tok/s Strata selected: --pool-workers 10 --spec 4 --spec-min-p 0.5 Startup / memory layout Typical startup: experts loaded: 46.84 GiB at ~6.7 GiB/s filling the GPU's expert cache: 4222 experts 8.06 GiB of VRAM KV streaming: 32768 of 131072 cells per QSA layer in VRAM K/V in ~1.55 GiB pinned RAM MTP draft layer: 835 MiB VRAM VRAM free with everything loaded: ~401 MiB Relevant expert arena messages: expert arena: cudaHostRegister PORTABLE ok large pages refused for 50295996416 B (GetLargePageMinimum=2097152, VirtualAlloc error 1314) using 4 KB pages The main engine detects the GPU correctly: GPU 0: NVIDIA GeForce RTX 5070 Ti, compute capability 12.0 There is also an early: ggml_cuda_init: failed to initialize CUDA: no CUDA-capable device is detected but this appears to come from the CPU vision process. The main Strata engine detects and uses GPU 0 correctly. Controlled decode test I sent three fresh requests through the OpenAI-compatible API. Each request had: - ~2850 prompt tokens - cached_tokens = 0 - max_tokens = 256 - temperature = 0 Results: Run 1: prompt_tokens: 2852 completion_tokens: 256 elapsed: 31.7 s Run 2: prompt_tokens: 2850 completion_tokens: 256 elapsed: 33.3 s Run 3: prompt_tokens: 2853 completion_tokens: 256 elapsed: 34.7 s Strata log showed approximately: 9.2 tok/s 10.6 tok/s 10.3 tok/s Example: done: 256 tokens in 32 s (10.6 tok/s) expert cache 84.7% hit +10.8% of routed experts over PCIe Other runs showed: expert cache hit rate: ~80–85% additional routed experts over PCIe: ~10–14% Real chat runs I also see large variation during normal use. Examples: 794 tokens in 78 s = 13.8 tok/s expert cache 83.1% hit +11.6% over PCIe and: 583 tokens in 178 s = 3.3 tok/s expert cache 79.0% hit +14.8% over PCIe Another 64K-context test: 1305 tokens in 475 s = 2.9 tok/s expert cache 83.4% hit +11.3% over PCIe Reducing the context from 128K to 64K did not materially improve performance. I also tested a smaller resident KV area, which allowed a slightly larger expert cache: 4357 experts / 8.31 GiB VRAM but performance remained around: 2.8 tok/s with: 78.2% expert cache hit 15.1% routed over PCIe Why this looks unusual The published IQ3_S speed measurements for an RTX 5070 12 GB appear to be around: ~52 tok/s at short context ~53 tok/s around 4K ~45 tok/s around 128K My RTX 5070 Ti 16 GB system is consistently far below that, including during Strata's own calibration. Because the calibration itself reports only ~14 tok/s, this does not appear to be caused only by OpenWebUI or by a particular chat prompt. Questions 1. Is ~13–14 tok/s during calibration expected for IQ3_S on a 5070 Ti 16 GB? 2. Does the ~80–85% expert-cache hit rate explain such a large difference from the published RTX 5070 results? 3. Could the Windows pinned-memory / 4 KB page path cause this level of slowdown? 4. Is there a recommended benchmark command or configuration I should run to reproduce the official IQ3_S speed measurements exactly? 5. Are there any known sm_120 / RTX 5070 Ti performance issues in 0.1.39? I am happy to provide the full strata-iq3_s.log, config JSON, or additional benchmark results if useful.
Author
Owner

@ladno64 commented on GitHub (Oct 5, 2026):

I managed to get pretty good results on my aging 4060 Ti, but I reworked the project specifically for my machine. IQ3_S. Check your settings.

Image
<!-- gh-comment-id:5992891497 --> @ladno64 commented on GitHub (Oct 5, 2026): I managed to get pretty good results on my aging 4060 Ti, but I reworked the project specifically for my machine. IQ3_S. Check your settings. <img width="1274" height="791" alt="Image" src="https://github.com/user-attachments/assets/631cf634-c650-48be-84b5-df42822b8c50" />
Author
Owner

@annD-annD commented on GitHub (Oct 5, 2026):

Would you give me a hint which settings I should adjust?

Image
<!-- gh-comment-id:5995119391 --> @annD-annD commented on GitHub (Oct 5, 2026): Would you give me a hint which settings I should adjust? <img width="1103" height="702" alt="Image" src="https://github.com/user-attachments/assets/73484352-a559-47d1-a70f-2e7c2a32c231" />
Author
Owner

@ladno64 commented on GitHub (Oct 5, 2026):

Ver. CUDA? >=13?
If CUDA is unavailable or not detected, processing will run on the slower mechanism. A low GPU temperature indicates that the graphics card is idling.

<!-- gh-comment-id:5995248810 --> @ladno64 commented on GitHub (Oct 5, 2026): Ver. CUDA? >=13? If CUDA is unavailable or not detected, processing will run on the slower mechanism. A low GPU temperature indicates that the graphics card is idling.
Author
Owner

@dandandelion commented on GitHub (Oct 5, 2026):

Ver. CUDA? >=13? If CUDA is unavailable or not detected, processing will run on the slower mechanism. A low GPU temperature indicates that the graphics card is idling.

GPU load shows 100% so it's working overtime. This is something else entirely, for comparison, a much weaker GPU like mine + a gen 4 PCIe should be destroyed by his box there. But here it's not even close. This might be a bug in the engine

Image
<!-- gh-comment-id:5995558531 --> @dandandelion commented on GitHub (Oct 5, 2026): > Ver. CUDA? >=13? If CUDA is unavailable or not detected, processing will run on the slower mechanism. A low GPU temperature indicates that the graphics card is idling. GPU load shows 100% so it's working overtime. This is something else entirely, for comparison, a much weaker GPU like mine + a gen 4 PCIe should be destroyed by his box there. But here it's not even close. This might be a bug in the engine <img width="3728" height="1934" alt="Image" src="https://github.com/user-attachments/assets/09586d6e-1df1-4b4f-99e1-3fdb2ee140f9" />
Author
Owner

@ladno64 commented on GitHub (Oct 5, 2026):

Загрузка GPU показывает 100%, значит, он работает на пределе возможностей. Это совсем другое дело, для сравнения, гораздо более слабая видеокарта, как у меня, плюс PCIe 4-го поколения, должны были бы быть уничтожены его системой. Но здесь даже близко нет. Возможно, это ошибка в движке.

Which LLM model do you have loaded?

<!-- gh-comment-id:5995692208 --> @ladno64 commented on GitHub (Oct 5, 2026): > Загрузка GPU показывает 100%, значит, он работает на пределе возможностей. Это совсем другое дело, для сравнения, гораздо более слабая видеокарта, как у меня, плюс PCIe 4-го поколения, должны были бы быть уничтожены его системой. Но здесь даже близко нет. Возможно, это ошибка в движке. Which LLM model do you have loaded?
Author
Owner

@dandandelion commented on GitHub (Oct 5, 2026):

Загрузка GPU показывает 100%, значит, он работает на пределе возможностей. Это совсем другое дело, для сравнения, гораздо более слабая видеокарта, как у меня, плюс PCIe 4-го поколения, должны были бы быть уничтожены его системой. Но здесь даже близко нет. Возможно, это ошибка в движке.

Which LLM model do you have loaded?

IQ3_S at the moment.

Image Image
<!-- gh-comment-id:5995768935 --> @dandandelion commented on GitHub (Oct 5, 2026): > > Загрузка GPU показывает 100%, значит, он работает на пределе возможностей. Это совсем другое дело, для сравнения, гораздо более слабая видеокарта, как у меня, плюс PCIe 4-го поколения, должны были бы быть уничтожены его системой. Но здесь даже близко нет. Возможно, это ошибка в движке. > > Which LLM model do you have loaded? IQ3_S at the moment. <img width="3694" height="1936" alt="Image" src="https://github.com/user-attachments/assets/ba679b43-dceb-40ac-9a91-b358d4f3be3a" /> <img width="3716" height="1936" alt="Image" src="https://github.com/user-attachments/assets/7b355570-6a49-4b68-86ab-2c8ec86c671d" />
Author
Owner

@annD-annD commented on GitHub (Oct 5, 2026):

Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S, Nvidia Driver Version: 591.74, CUDA Version: 13.1
GPU Load is high (99-100%) but Power is always below 60 W and CPU is also quite low during generation.

<!-- gh-comment-id:5995996243 --> @annD-annD commented on GitHub (Oct 5, 2026): Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S, Nvidia Driver Version: 591.74, CUDA Version: 13.1 GPU Load is high (99-100%) but Power is always below 60 W and CPU is also quite low during generation.
Author
Owner

@ladno64 commented on GitHub (Oct 5, 2026):

Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S, версия драйвера Nvidia: 591.74, версия CUDA: 13.1. Загрузка графического процессора высокая (99-100%), но энергопотребление всегда ниже 60 Вт, а загрузка ЦП также довольно низкая во время генерации.

Graph-based load and actual load are different things; it depends on many factors. However, such discrepancies usually arise because data is being unnecessarily shuffled back and forth. You need to find the right balance between experts, KV cache, memory bus width, and PCIe bandwidth.

<!-- gh-comment-id:5996497015 --> @ladno64 commented on GitHub (Oct 5, 2026): > Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S, версия драйвера Nvidia: 591.74, версия CUDA: 13.1. Загрузка графического процессора высокая (99-100%), но энергопотребление всегда ниже 60 Вт, а загрузка ЦП также довольно низкая во время генерации. Graph-based load and actual load are different things; it depends on many factors. However, such discrepancies usually arise because data is being unnecessarily shuffled back and forth. You need to find the right balance between experts, KV cache, memory bus width, and PCIe bandwidth.
Author
Owner

@dandandelion commented on GitHub (Oct 5, 2026):

Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S, Nvidia Driver Version: 591.74, CUDA Version: 13.1 GPU Load is high (99-100%) but Power is always below 60 W and CPU is also quite low during generation.

Even more factors to consider

  • PCIe Gen5 might have some aggressive power saving (as both of us have only Gen4 and it's doing alot while yours mostly sit at < 1GB/s only spiking from time to time)
  • RTX card is also on extreme power saving pulling only 60W from the wall, try disabling any power saving on OS level AND BIOS level.
<!-- gh-comment-id:5996827837 --> @dandandelion commented on GitHub (Oct 5, 2026): > Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S, Nvidia Driver Version: 591.74, CUDA Version: 13.1 GPU Load is high (99-100%) but Power is always below 60 W and CPU is also quite low during generation. Even more factors to consider - PCIe Gen5 might have some aggressive power saving (as both of us have only Gen4 and it's doing alot while yours mostly sit at < 1GB/s only spiking from time to time) - RTX card is also on extreme power saving pulling only 60W from the wall, try disabling any power saving on OS level AND BIOS level.
Author
Owner

@ladno64 commented on GitHub (Oct 5, 2026):

It's better to look at the settings based on the data in the strata-iq3_s.json file, literally the first 40 lines.

"exe": "engine/strata.exe",
"args": [
"--pack",
"../Strata-data/packs/iq3_s",
"--native",
"../Strata-data/models/IQ3_S/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00001-of-00002.gguf",
"--ple-gguf",
"../Strata-data/models/IQ3_S/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00002-of-00002.gguf",
"--expert-cache",
"auto",
"--expert-profile",
"data/expert-profile.bin",
"--prefill",
"auto",
"--spec",
"4",
"--mtp",
"../Strata-data/mtp/rt",
"--max-context",
"262144",
"--kv",
"int8",
"--kv-resident",
"32768",
"--pcie-frac",
"0.20",
"--spec-min-p",
"0.70",
"--pool-workers",
"10",
"--vram-reserve-mib",
"128",
"--prompt-cache",
"32",
"--prompt-cache-every",
"16384",
"--conversation-cache-mib",
"24576",
"--conversation-cache-slots",
"6"

<!-- gh-comment-id:5996918440 --> @ladno64 commented on GitHub (Oct 5, 2026): It's better to look at the settings based on the data in the strata-iq3_s.json file, literally the first 40 lines. "exe": "engine/strata.exe", "args": [ "--pack", "../Strata-data/packs/iq3_s", "--native", "../Strata-data/models/IQ3_S/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00001-of-00002.gguf", "--ple-gguf", "../Strata-data/models/IQ3_S/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00002-of-00002.gguf", "--expert-cache", "auto", "--expert-profile", "data/expert-profile.bin", "--prefill", "auto", "--spec", "4", "--mtp", "../Strata-data/mtp/rt", "--max-context", "262144", "--kv", "int8", "--kv-resident", "32768", "--pcie-frac", "0.20", "--spec-min-p", "0.70", "--pool-workers", "10", "--vram-reserve-mib", "128", "--prompt-cache", "32", "--prompt-cache-every", "16384", "--conversation-cache-mib", "24576", "--conversation-cache-slots", "6"
Author
Owner

@krabokiller commented on GitHub (Oct 5, 2026):

Try to disable desktop visual effects, for me it was KWin (forceblur, better_blur_dx). got x3 improvement in token generation on my rtx4080. My 165hz refreh rate + blur killed near 60% of resources

<!-- gh-comment-id:5999961188 --> @krabokiller commented on GitHub (Oct 5, 2026): Try to disable desktop visual effects, for me it was KWin (forceblur, better_blur_dx). got x3 improvement in token generation on my rtx4080. My 165hz refreh rate + blur killed near 60% of resources
Author
Owner

@annD-annD commented on GitHub (Oct 6, 2026):

With Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS I get 3,2 t/s (280 t/s prefill). GPU never reaches the 300 W limit (it does with pure llama.cpp, copying ladno64 strata-iq3_s.json didn't help either).

strata-iq3_xxs.json:
"exe": "C:\AI\Strata\engine\strata.exe",
"args": [
"--pack",
"C:\AI\Strata-data\packs\iq3_xxs",
"--native",
"C:\AI\Strata-data\models\IQ3_XXS\Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00001-of-00002.gguf",
"--ple-gguf",
"C:\AI\Strata-data\models\IQ3_XXS\Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00002-of-00002.gguf",
"--expert-profile",
"C:\AI\Strata\data\expert-profile.bin",
"--expert-cache",
"auto",
"--prefill",
"auto",
"--spec",
"4",
"--spec-min-p",
"0.5",
"--mtp",
"C:\AI\Strata-data\mtp\rt",
"--max-context",
"131072",
"--kv",
"int8",
"--kv-resident",
"32768",
"--vision",
"--vram-reserve-mib",
"700"

strata-iq3_s.json (after calibrate):
"exe": "C:\AI\Strata\engine\strata.exe",
"args": [
"--pack",
"C:\AI\Strata-data\packs\iq3_s",
"--native",
"C:\AI\Strata-data\models\IQ3_S\Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00001-of-00002.gguf",
"--ple-gguf",
"C:\AI\Strata-data\models\IQ3_S\Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00002-of-00002.gguf",
"--expert-profile",
"C:\AI\Strata\data\expert-profile.bin",
"--expert-cache",
"auto",
"--prefill",
"auto",
"--spec",
"4",
"--mtp",
"C:\AI\Strata-data\mtp\rt",
"--max-context",
"131072",
"--kv",
"int8",
"--kv-resident",
"32768",
"--vision",
"--vram-reserve-mib",
"700",
"--spec-min-p",
"0.5",
"--pool-workers",
"10"

<!-- gh-comment-id:6009804805 --> @annD-annD commented on GitHub (Oct 6, 2026): With Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS I get 3,2 t/s (280 t/s prefill). GPU never reaches the 300 W limit (it does with pure llama.cpp, copying ladno64 strata-iq3_s.json didn't help either). strata-iq3_xxs.json: "exe": "C:\\AI\\Strata\\engine\\strata.exe", "args": [ "--pack", "C:\\AI\\Strata-data\\packs\\iq3_xxs", "--native", "C:\\AI\\Strata-data\\models\\IQ3_XXS\\Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00001-of-00002.gguf", "--ple-gguf", "C:\\AI\\Strata-data\\models\\IQ3_XXS\\Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00002-of-00002.gguf", "--expert-profile", "C:\\AI\\Strata\\data\\expert-profile.bin", "--expert-cache", "auto", "--prefill", "auto", "--spec", "4", "--spec-min-p", "0.5", "--mtp", "C:\\AI\\Strata-data\\mtp\\rt", "--max-context", "131072", "--kv", "int8", "--kv-resident", "32768", "--vision", "--vram-reserve-mib", "700" strata-iq3_s.json (after calibrate): "exe": "C:\\AI\\Strata\\engine\\strata.exe", "args": [ "--pack", "C:\\AI\\Strata-data\\packs\\iq3_s", "--native", "C:\\AI\\Strata-data\\models\\IQ3_S\\Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00001-of-00002.gguf", "--ple-gguf", "C:\\AI\\Strata-data\\models\\IQ3_S\\Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00002-of-00002.gguf", "--expert-profile", "C:\\AI\\Strata\\data\\expert-profile.bin", "--expert-cache", "auto", "--prefill", "auto", "--spec", "4", "--mtp", "C:\\AI\\Strata-data\\mtp\\rt", "--max-context", "131072", "--kv", "int8", "--kv-resident", "32768", "--vision", "--vram-reserve-mib", "700", "--spec-min-p", "0.5", "--pool-workers", "10"
Author
Owner

@ladno64 commented on GitHub (Oct 6, 2026):

"--pcie-frac",
"0.20", ?
If this parameter is missing and defaults to "0," then almost all calculations will run on the processor.

"--pool-workers",
"10"
This is the number of active cores. You can increase it to 14-15. But before that, disable multithreading in the processor in the BIOS.

It's worth considering that my environment is left over from ver: 0.1.20. I only change the kernel srata.exe. The environment has been heavily customized to suit my needs, so many of its settings have persisted since back then.

<!-- gh-comment-id:6010151118 --> @ladno64 commented on GitHub (Oct 6, 2026): "--pcie-frac", "0.20", ? If this parameter is missing and defaults to "0," then almost all calculations will run on the processor. "--pool-workers", "10" This is the number of active cores. You can increase it to 14-15. But before that, disable multithreading in the processor in the BIOS. It's worth considering that my environment is left over from ver: 0.1.20. I only change the kernel srata.exe. The environment has been heavily customized to suit my needs, so many of its settings have persisted since back then.
Author
Owner

@annD-annD commented on GitHub (Oct 6, 2026):

"--pcie-frac",
"0.20", did not improve speed on my system.

In llama.cpp (b11435) I get approx. 28 t/s for Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS on this PC with parameter gpu-layers = auto (but with gpu-layers = all I get only 3 t/s).

<!-- gh-comment-id:6010255878 --> @annD-annD commented on GitHub (Oct 6, 2026): "--pcie-frac", "0.20", did not improve speed on my system. In llama.cpp (b11435) I get approx. 28 t/s for Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS on this PC with parameter gpu-layers = auto (but with gpu-layers = all I get only 3 t/s).
Author
Owner

@djaafer1975 commented on GitHub (Oct 6, 2026):

Same model and pack here (Qwen3.8-Flash-Next GSQ-RCO IQ3_S), same Windows + single 16 GB Blackwell card class (RTX 5060 Ti). I ran your controlled test shape on our box and got 4-5x the decode, so the GPU/quant is not what's limiting you.

Our numbers (engine-side, generated in ... (tok/s)):

  • ~2.3K fresh prompt tokens + max_tokens=256, temp=0, three cold-prompt runs: 33.2 / 49.2 / 48.5 tok/s (first run cold).
  • Steady-state sessions log 38-42 tok/s.
  • Expert cache hit rate 67-75% — lower than your 80-85%, yet much faster.
  • VRAM headroom comparably tight: 406 MiB free with everything loaded (yours ~401 MiB).
  • KV int8 + --kv-resident 32768, spec 4 — same as yours.

Two config-level differences from your logs stand out as candidate causes:

  1. Large pages. Our arena logs large pages (2097152 B) succeeded; yours shows large pages refused for 50295996416 B ... (VirtualAlloc error 1314) using 4 KB pages — the entire 46 GiB expert pool running on 4 KB pages. Error 1314 is "no privilege": MEM_LARGE_PAGES needs SeLockMemoryPrivilege ("Lock Pages in Memory") granted to the account. A 46 GiB hot pool on 4 KB pages is a TLB disaster, and it fits your "GPU load 100% but always <60 W" symptom (stalled on page walks, not computing). This is my prime suspect for the 4-5x gap.
  2. Profile pre-fill. We ship a learned --expert-profile and pre-fill all 4196 slots before the first request; a cold auto cache starts empty. Also note we run an extra --control-vector-scaled speed-projection you don't have — that accounts for part of the gap, but not 4x.

One correction for the thread: "if --pcie-frac is missing it defaults to 0, so almost all calculations run on the processor" has the direction backwards. 0.00 means missed experts go to the CPU pool, and in our A/B scans (and another split-GPU user's independent scan in #791) 0.00 was the fastest setting; raising it toward 0.2+ made things slower, matching your own observation that 0.20 didn't help.

Suggested next step: grant "Lock Pages in Memory" to your user (or test once elevated), confirm the log line flips from large pages refused ... using 4 KB pages to large pages succeeding, then re-run --calibrate. If calibration jumps from ~14 to 30+, that's the answer. Your llama.cpp datapoint (IQ3_XXS at 28 t/s on the same box vs 3.2 t/s under Strata) supports "engine-side memory path on this machine", not hardware.

<!-- gh-comment-id:6012304187 --> @djaafer1975 commented on GitHub (Oct 6, 2026): Same model and pack here (Qwen3.8-Flash-Next GSQ-RCO IQ3_S), same Windows + single 16 GB Blackwell card class (RTX 5060 Ti). I ran your controlled test shape on our box and got 4-5x the decode, so the GPU/quant is not what's limiting you. Our numbers (engine-side, `generated in ... (tok/s)`): - ~2.3K fresh prompt tokens + max_tokens=256, temp=0, three cold-prompt runs: **33.2 / 49.2 / 48.5 tok/s** (first run cold). - Steady-state sessions log 38-42 tok/s. - Expert cache hit rate **67-75%** — *lower* than your 80-85%, yet much faster. - VRAM headroom comparably tight: 406 MiB free with everything loaded (yours ~401 MiB). - KV int8 + `--kv-resident 32768`, spec 4 — same as yours. Two config-level differences from your logs stand out as candidate causes: 1. **Large pages.** Our arena logs `large pages (2097152 B)` succeeded; yours shows `large pages refused for 50295996416 B ... (VirtualAlloc error 1314) using 4 KB pages` — the entire 46 GiB expert pool running on 4 KB pages. Error 1314 is "no privilege": MEM_LARGE_PAGES needs SeLockMemoryPrivilege ("Lock Pages in Memory") granted to the account. A 46 GiB hot pool on 4 KB pages is a TLB disaster, and it fits your "GPU load 100% but always <60 W" symptom (stalled on page walks, not computing). This is my prime suspect for the 4-5x gap. 2. **Profile pre-fill.** We ship a learned `--expert-profile` and pre-fill all 4196 slots before the first request; a cold auto cache starts empty. Also note we run an extra `--control-vector-scaled` speed-projection you don't have — that accounts for part of the gap, but not 4x. One correction for the thread: "if --pcie-frac is missing it defaults to 0, so almost all calculations run on the processor" has the direction backwards. 0.00 means *missed* experts go to the CPU pool, and in our A/B scans (and another split-GPU user's independent scan in #791) **0.00 was the fastest** setting; raising it toward 0.2+ made things slower, matching your own observation that 0.20 didn't help. Suggested next step: grant "Lock Pages in Memory" to your user (or test once elevated), confirm the log line flips from `large pages refused ... using 4 KB pages` to large pages succeeding, then re-run `--calibrate`. If calibration jumps from ~14 to 30+, that's the answer. Your llama.cpp datapoint (IQ3_XXS at 28 t/s on the same box vs 3.2 t/s under Strata) supports "engine-side memory path on this machine", not hardware.
Author
Owner

@ladno64 commented on GitHub (Oct 6, 2026):

--pcie-frac = 0 Doesn't this mean that the pool of experts within VRAM stops being updated?

<!-- gh-comment-id:6015749336 --> @ladno64 commented on GitHub (Oct 6, 2026): --pcie-frac = 0 Doesn't this mean that the pool of experts within VRAM stops being updated?
Author
Owner

@annD-annD commented on GitHub (Oct 6, 2026):

I changed the SeLockMemoryPrivilege in Windows and now "large pages (2097152 B)" works but did not improve a lot.
PCIe share 0.35 is best with 18,6 tok/s during calibration and workers do not much differ between 15, 10 or 8: 15,7 / 15,4 / 15,9 tok/s.
The expert profile is loaded and fully pre-filled: pre-filled 4222 of 4222 slots from the profile, R4 hit path ON

<!-- gh-comment-id:6017080954 --> @annD-annD commented on GitHub (Oct 6, 2026): I changed the SeLockMemoryPrivilege in Windows and now "large pages (2097152 B)" works but did not improve a lot. PCIe share 0.35 is best with 18,6 tok/s during calibration and workers do not much differ between 15, 10 or 8: 15,7 / 15,4 / 15,9 tok/s. The expert profile is loaded and fully pre-filled: pre-filled 4222 of 4222 slots from the profile, R4 hit path ON
Author
Owner

@ladno64 commented on GitHub (Oct 6, 2026):

Update your video driver to the latest version, 617.14.

<!-- gh-comment-id:6017150676 --> @ladno64 commented on GitHub (Oct 6, 2026): Update your video driver to the latest version, 617.14.
Author
Owner

@djaafer1975 commented on GitHub (Oct 6, 2026):

Following up on our side of the same thread — same model and pack (Qwen3.8-Flash-Next GSQ-RCO IQ3_S), Windows, single 16 GB Blackwell card. Sharing the directions and the method, not just numbers, in case it saves someone a detour.

Our machine / model config

  • GPU RTX 5060 Ti 16 GB (driver 610.88), i5-12600KF, 64 GB system RAM, Windows.
  • Model: Qwen3.8-Flash-Next GSQ-RCO IQ3_S (~54.8 GB split GGUF) + separate PLE n-gram table + BF16 mmproj for image input.
  • Engine profile: KV int8, --kv-resident 32768, spec depth 4, --spec-min-p 0.7, PLE table on. Steady-state decode 36–42 tok/s on this card.

Direction 1 — re-scan gate parameters locally; never copy another box's value.
spec-min-p default 0.5 was not our optimum: a local scan gave 0.7 (clearly better on Chinese, neutral on code), while other reported setups land at 0.8. Method that made it trustworthy: two fixed prompt sets (Chinese + code), 2 warm-up runs, median of 3 measured runs per arm, arms = 0.5 / 0.7 / 0.8 / 0.9. Same shape as the built-in calibration but with my own workload instead of synthetic prompts.

Direction 2 — on Windows, check the memory-page path before tuning anything else.
Our arena log shows large pages granted (2 MB); if your log says they were refused and it fell back to 4 KB pages across a ~46 GB expert pool, that is the first suspect for a 3–5× decode gap. Fix we suggested in this thread: grant the account "Lock pages in memory", then re-run calibrate.

Direction 3 — PLE table precision is a free upgrade if disk allows.
Swapped the IQ4 n-gram table for the upstream FP8 E4M3 table: byte-for-byte verified against the official shards, engine confirms it loads, speed unchanged (36–40 tok/s before and after), so it is strictly better fidelity for zero latency cost. Note: use a mirror that ships real FP8 tensors — the official index.json is missing weight_scale.

Method note (applies to all of the above): read tok/s from engine-side log lines, keep prompt size / max_tokens / temperature fixed across arms, and take medians. Wall-clock UI numbers with drifting prompts will happily "prove" a tuning that doesn't exist.

Attached render is unrelated to performance — a single-file voxel garden scene (pagoda on a frozen lake at night), just for fun.

voxel-pagoda

<!-- gh-comment-id:6019985204 --> @djaafer1975 commented on GitHub (Oct 6, 2026): Following up on our side of the same thread — same model and pack (Qwen3.8-Flash-Next GSQ-RCO IQ3_S), Windows, single 16 GB Blackwell card. Sharing the **directions and the method**, not just numbers, in case it saves someone a detour. **Our machine / model config** - GPU RTX 5060 Ti 16 GB (driver 610.88), i5-12600KF, 64 GB system RAM, Windows. - Model: Qwen3.8-Flash-Next GSQ-RCO IQ3_S (~54.8 GB split GGUF) + separate PLE n-gram table + BF16 mmproj for image input. - Engine profile: KV int8, `--kv-resident 32768`, spec depth 4, `--spec-min-p 0.7`, PLE table on. Steady-state decode 36–42 tok/s on this card. **Direction 1 — re-scan gate parameters locally; never copy another box's value.** `spec-min-p` default 0.5 was not our optimum: a local scan gave 0.7 (clearly better on Chinese, neutral on code), while other reported setups land at 0.8. Method that made it trustworthy: two fixed prompt sets (Chinese + code), 2 warm-up runs, median of 3 measured runs per arm, arms = 0.5 / 0.7 / 0.8 / 0.9. Same shape as the built-in calibration but with my own workload instead of synthetic prompts. **Direction 2 — on Windows, check the memory-page path before tuning anything else.** Our arena log shows large pages granted (2 MB); if your log says they were refused and it fell back to 4 KB pages across a ~46 GB expert pool, that is the first suspect for a 3–5× decode gap. Fix we suggested in this thread: grant the account "Lock pages in memory", then re-run calibrate. **Direction 3 — PLE table precision is a free upgrade if disk allows.** Swapped the IQ4 n-gram table for the upstream FP8 E4M3 table: byte-for-byte verified against the official shards, engine confirms it loads, speed unchanged (36–40 tok/s before and after), so it is strictly better fidelity for zero latency cost. Note: use a mirror that ships real FP8 tensors — the official index.json is missing `weight_scale`. **Method note (applies to all of the above):** read tok/s from engine-side log lines, keep prompt size / max_tokens / temperature fixed across arms, and take medians. Wall-clock UI numbers with drifting prompts will happily "prove" a tuning that doesn't exist. Attached render is unrelated to performance — a single-file voxel garden scene (pagoda on a frozen lake at night), just for fun. ![voxel-pagoda](https://gist.githubusercontent.com/djaafer1975/9bd02af0bd81814e6214985c324e3aa9/raw/5486c92eaf8a04123942150fb9554f6c4ba35bda/pagoda-night-snow.jpg)
Author
Owner
<!-- gh-comment-id:6020176836 --> @ladno64 commented on GitHub (Oct 6, 2026): https://huggingface.co/sleepyeldrazi/Qwen3.8-Flash-Next-GSQ-RCO-Q8_0-PLE-GGUF
Author
Owner

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

Please send the start line about the arena lock, the PCIe link state under load (GPU-Z or nvidia-smi -q) and the Windows power plan. Large pages were refused so the arena used 4 KB pages, and the GPU stays under 60 W: it waits for the host. Another user with a 5060 Ti measures 33-49 tok/s on the same pack, so the quant and the card are not the limit. Retest on 0.1.40 as well.

<!-- gh-comment-id:6037878800 --> @Niko1221 commented on GitHub (Oct 7, 2026): Please send the start line about the arena lock, the PCIe link state under load (GPU-Z or nvidia-smi -q) and the Windows power plan. Large pages were refused so the arena used 4 KB pages, and the GPU stays under 60 W: it waits for the host. Another user with a 5060 Ti measures 33-49 tok/s on the same pack, so the quant and the card are not the limit. Retest on 0.1.40 as well.
Author
Owner

@annD-annD commented on GitHub (Oct 7, 2026):

With new graphics driver 617.42, new release 0.1.40.2 it works with about 70 t/s now on RTX 5070 Ti. I do some tests and provide more info later.

<!-- gh-comment-id:6039673756 --> @annD-annD commented on GitHub (Oct 7, 2026): With new graphics driver 617.42, new release 0.1.40.2 it works with about 70 t/s now on RTX 5070 Ti. I do some tests and provide more info later.
Author
Owner

@annD-annD commented on GitHub (Oct 8, 2026):

Good news! The performance issue appears to be largely resolved after upgrading NVIDIA driver and Strata v0.1.40.3.

Hardware: RTX 5070 Ti 16 GB, Ryzen 9 9950X, 128 GB RAM, Qwen3.8-Flash-Next IQ3_S.

What changed:

  • Granted SeLockMemoryPrivilege on Windows. Large Pages (2 MiB) now work, but this alone only improved calibration from ~14 to ~16 tok/s.
  • Upgraded NVIDIA driver from 591.74 to 617.42.
  • Installed a fresh Strata v0.1.40.3 environment, reusing the existing model files.
  • Confirmed that expert-profile pre-fill and GPU expert caching were already working correctly.

Performance results:

The new calibration achieved up to 94.3 tok/s, compared to only ~14 tok/s originally.

More importantly, a real-world inference test with the calibrated adaptive expert-tier settings produced:

  • Prompt: ~7,005 tokens
  • Generated: 896 tokens
  • Decode speed: 83.7 tok/s
  • Expert cache hit rate: 81.8%
  • Additional experts processed over PCIe: 5.6%

The reported generation speed increased during the response and stabilized around 84 tok/s.

This confirms that the improvement is not limited to the calibration benchmark. Strata now achieves over 80 tok/s in actual inference with IQ3_S on my RTX 5070 Ti 16 GB!

The new calibration selected:

--pcie-frac 0.35
--spec-min-p 0.70
--adapt-every 1
--adapt-swaps 160
--adapt-decay 0.97

That's a massive improvement over the first results and over everything else!

Thanks for all the helpful suggestions and for developing such an impressive framework!

<!-- gh-comment-id:6052808996 --> @annD-annD commented on GitHub (Oct 8, 2026): Good news! The performance issue appears to be largely resolved after upgrading NVIDIA driver and **Strata v0.1.40.3**. **Hardware:** RTX 5070 Ti 16 GB, Ryzen 9 9950X, 128 GB RAM, Qwen3.8-Flash-Next IQ3_S. **What changed:** - Granted `SeLockMemoryPrivilege` on Windows. Large Pages (2 MiB) now work, but this alone only improved calibration from ~14 to ~16 tok/s. - Upgraded NVIDIA driver from 591.74 to 617.42. - Installed a fresh Strata v0.1.40.3 environment, reusing the existing model files. - Confirmed that expert-profile pre-fill and GPU expert caching were already working correctly. **Performance results:** The new calibration achieved **up to 94.3 tok/s**, compared to only ~14 tok/s originally. More importantly, a real-world inference test with the calibrated adaptive expert-tier settings produced: - **Prompt:** ~7,005 tokens - **Generated:** 896 tokens - **Decode speed:** 83.7 tok/s - **Expert cache hit rate:** 81.8% - **Additional experts processed over PCIe:** 5.6% The reported generation speed increased during the response and stabilized around 84 tok/s. This confirms that the improvement is not limited to the calibration benchmark. Strata now achieves over **80 tok/s in actual inference** with IQ3_S on my RTX 5070 Ti 16 GB! **The new calibration selected:** ```text --pcie-frac 0.35 --spec-min-p 0.70 --adapt-every 1 --adapt-swaps 160 --adapt-decay 0.97 ``` That's a massive improvement over the first results and over everything else! **Thanks for all the helpful suggestions and for developing such an impressive framework!**
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#402
No description provided.