mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #2333] Community benchmark: RTX 3060 12GB - IQ3_XXS vs IQ3_S on engine 0.1.44 #940
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#940
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 @peercaster on GitHub (Oct 13, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/2333
Community benchmark on NVIDIA GeForce RTX 3060 — IQ3_XXS vs IQ3_S on engine 0.1.44
Measured on 2026-10-14 with
tools/strata_bench.py(suite 1, 3 runs per test, medians with ranges).Speeds are the engine's own timings; first-token times are measured by the client over HTTP.
Speed only: no correctness check was run.
Two quantization sizes of the same Qwen3.8-Flash-Next GSQ-RCO pack, measured back to back on the same
machine and the same server settings. Engine 0.1.44's release notes state that answers from the GSQ-RCO
packs are byte-identical to 0.1.43.1 in the project's identity gates, so the two runs below are directly
comparable to each other.
Hardware and software
ed4773eb; engine 0.1.44 (ready-made Windows x64 build, sm_86)(~0.9 GB) and a monitoring agent (~0.8 GB); ~10.7 GiB of RAM left free with IQ3_XXS loaded.
No other workload was started for the measurement.
Model and configuration (identical for both sizes)
--kv int8 --kv-resident 32768 --spec 4 --spec-min-p 0.5--expert-cache auto --prefill auto--vram-reserve-mib 100instead of the default 700. It leaves 600 MiB moreVRAM for the expert cache, about 12% larger (~38 more expert slots). The other engine
arguments in the line above are setup's own defaults. Both sizes were measured with the same
value, so the comparison between them is unaffected; a run at the default 700 would decode a
little slower.
Method
Run by
python tools/strata_bench.pyagainst the HTTP API of a Strata server (already running); modelloading is not timed. One warm-up chat and a 1K prompt are discarded first. Every prompt starts with a
unique tag, so the conversation cache cannot help the fresh-prompt tests.
tools/ab_engine.py, up to 100 new tokens, 3 runsfile and continue from the model's own earlier answers (the way agent clients resend a conversation),
64 new tokens per turn, 3 sessions
Results
Medians, ranges over the runs. "Delta" is IQ3_XXS relative to IQ3_S.
Agent session detail (run 1, IQ3_XXS)
The IQ3_S turn-by-turn numbers are the same shape (609 / 3120 / ~1500 / ~3400 / 2862 / 2899 tokens
read per turn). The suite's "earlier-turn tokens read again per session" metric reports medians of 3
for IQ3_S and 74 for IQ3_XXS, but the raw per-turn reads differ by only ~70 tokens per session in
total, so we treat that metric as level between the two, not as an IQ3_S advantage.
Engine state reported by the server at the time of the run
Both sizes exhaust the 12 GiB card. IQ3_S's larger arena is mostly RAM-resident, and with less room
left for the VRAM expert cache it loses the decode lead it would otherwise have from its higher
precision.
Correctness and limitations
measured here — only how fast each one answers.
--clients), no 32K prompt test (--long) in this round.re-calibrated before its run.
Conclusion
On a 12 GiB RTX 3060 with 64 GiB of RAM, IQ3_XXS is faster than IQ3_S on every test in the suite,
by 9-19% on prompts and 19-38% on decode, and it leaves twice the free RAM. IQ3_S's arena does not
fit the card either way, so the extra precision does not pay for itself here. Engine 0.1.44's setup
menu now recommends IQ3_S as the 64 GB default, which this measurement does not support on 12 GiB
of VRAM.
Where IQ3_S starts to win is not measured here: 12 GiB is the only VRAM this machine has. We would
expect it from about 16 GiB up, where the larger expert cache keeps more of the experts in VRAM, but
that is an expectation from the cache-size arithmetic, not a result. The measured conclusion holds
for 12 GiB; cards above that need their own run.
Per-request data:
results.jsonin each run's folder. Home folders, user and host names and IPaddresses are already replaced.
@wojski commented on GitHub (Oct 14, 2026):
Thanks for sharing your benchmark results! They actually helped me notice that something was off with the RTX 3080 10GB I was testing.
After comparing the results, I investigated the configuration and found that the default memory allocation was severely limiting performance. Prefill improved from ~628 to ~1,568 tok/s at ~16K context after tuning, with GPU expert cache increasing from 756 to 1,416 experts.
I also asked GPT-6.1 Sol to investigate the relevant code paths, and the findings suggest that KV residency and GPU expert cache allocation are the main factors, rather than calibration itself.
I've documented the benchmarks, findings, and limitations here: #2342 .
Thanks again — without your results, I probably wouldn't have noticed this! 😄
@peercaster commented on GitHub (Oct 14, 2026):
Glad it was useful — that is exactly what publishing the full config line is for.
Your gate arithmetic checks out. I ran the numbers from
setup.pyon your configuration (IQ3_S, 131,072 context, int8 KV):which matches your ~64.799 GiB figure exactly. So on a 64 GB machine
stream_fitsis False and setup does not write--kv-resident— the auto path really does leave the KV cache in VRAM and starves the expert cache. Your #620 reference is the right thread for that.Worth adding one data point: the same gate blocks it on my machine too, even though my config carries
--kv-resident 32768. I run IQ3_XXS at 262,144 context, wherekv_ram_gbis 3.599 GB and the gate is 60 + 3.599 + 1 = 64.599 GB against 63.8 GiB installed. Sostream_fitsis False there as well. My flag is a manual addition, not something setup wrote — which is consistent with your finding that the flag has to be asked for explicitly.For whatever it is worth, at that configuration I measured KV streaming holding 99.5% of block reads in VRAM (3.9 MiB read from RAM over a 200K-token request), with the expert cache at 5,251 MiB and 3,142 slots. So the lower residency did not cost cache locality on a long request; the trade was in RAM headroom, which was 10.7 GiB free with everything loaded.
On IQ3_S specifically, your result and mine sit on opposite sides of the same VRAM boundary, so they complement each other rather than disagree:
--kv-resident 32768: 1,416 experts / 2.73 GiB cache, 1,528.7 tok/s prefill and 61.5 tok/s decode at ~130K--kv-resident 32768: 2,477 slots / 4,869 MiB cache, 959 tok/s prefill and 26.9 tok/s decode — but 0 MiB VRAM free after load, and IQ3_XXS beat it on every test (34.7 vs 29.2 tok/s chat decode)The difference I would point at is that my card never had room for the arena, so the extra precision bought nothing; yours gained both cache and decode once the KV moved out of VRAM. A controlled run of
--kv-resident 32768vs--kv-resident 8192at matched prompt length would be a clean way to confirm the mechanism on your side, since your 8192 row was already close to the 16K row.One correction to my own published numbers, since you are citing them: the
--vram-reserve-mib 100in my config is non-default (setup writes 700). Both of my sizes used the same value so the comparison between them holds, but a run at 700 would have had a ~600 MiB smaller expert cache and decoded a little slower. Everything else in my engine arguments was setup's own default.Thanks for writing #2342 up with the limitations stated — the "not a controlled 1:1 comparison" note is the part most people leave out, and it is what makes the numbers usable by the next person.
@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.