[GH-ISSUE #5206] [Benchmark] DFlash2 alone on a 2x RTX 4060 Ti layer split (0.2.10) #3098

Closed
opened 2026-11-07 14:38:03 +07:00 by bsakaguchi · 5 comments
Owner

Originally created by @fioruccione on GitHub (Nov 4, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/5206

The 0.2.10 notes have DFlash2 numbers for one card only, so here is a GeForce Ada pair on a layer split.

Box: 2x RTX 4060 Ti 16 GB (Gen4 x8, probe 13.3 GB/s), TR PRO 3975WX, 128 GB, Linux. Qwen3.8-Flash-Next UD-IQ4_XS, auto layer split, --pcie-frac 0.00 (experts that miss the cards run on the CPU), 256K context, it+en draft vocabulary (#1259) for both drafters. 0.2.10 built from source for sm_89 (CUDA 12.6). VRAM memory offset +2000 in every arm.

Method: fresh server per start, order A T U V V U T A, one warm-up discarded, then prose / code / 20K-token summary x2 at T=0, prose and code once at T=0.7, and prefill at 20K / 32K / 69K. Rates are the engine's own timings. n = 4 per T=0 cell, so read differences under ~3% as noise.

  • A = 0.2.7.1, MTP (my production config)
  • T = 0.2.10, same config, MTP ("drafting": "mtp")
  • U = 0.2.10, DFlash2 alone, --spec 6 --draft-conf 0.5 (what Auto picks for ~7.6K slots)
  • V = U with --draft-conf 0.7
decode tok/s (median) A T U V
prose T=0 77.3 80.8 77.8 75.8
code T=0 83.5 84.5 87.8 81.9
summary, 20K context 56.9 56.9 55.2 53.9
prefill 20K / 32K / 69K 1765 / 2076 / 2346 1786 / 2071 / 2330 1918 / 2244 / 2461 1925 / 2247 / 2464
expert slots in VRAM 4024+3588 3905+3586 3905+3765 3907+3765
GPU energy per token 2.25 J 2.26 J 2.21 J 2.24 J

What I read from it:

  • 0.2.10 against 0.2.7.1 with MTP: level, within noise. CUDA0 holds ~120 fewer slots.
  • DFlash2 at 0.5 against MTP on 0.2.10: code +4%, prose level, the 20K summary −3%. Prefill +5-9%, and that is the tightest result here: both starts of each arm agree within a few tok/s.
  • 0.7 is worse than 0.5 on this box. Acceptance goes up (74-84% against 63-73%) but the windows are shorter, and decode drops, worst on the summary (−2.5% against U).
  • VRAM: on this pair DFlash2 frees only ~180 slots (+2.4%, all on the drafter's card, CUDA1) against my MTP layer. The 5.2 GB in the notes is the MTP download, not its VRAM cost, so a two-card user should not expect many more experts on the cards.
  • Errors: none in the engine logs of any arm, and no fallback to MTP.

Most of my real traffic is Codex at 40K-200K context, where the summary row is the closest proxy, so I'm staying on 0.2.7.1 with MTP for now. Happy to run U on real work for a day if the per-context-band numbers would help.

Host side as in #4610: same link probe (13.3 GB/s on both cards) and the PLE lock refused at the 15.7 GiB memlock limit in every arm (0.2.10 now says so in one clear line, thanks to #4671). From earlier A/Bs in #4610, the memlock alone was worth +0.2% here.

Results folder and configs available if anyone wants them.

Originally created by @fioruccione on GitHub (Nov 4, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/5206 The 0.2.10 notes have DFlash2 numbers for one card only, so here is a GeForce Ada pair on a layer split. **Box:** 2x RTX 4060 Ti 16 GB (Gen4 x8, probe 13.3 GB/s), TR PRO 3975WX, 128 GB, Linux. Qwen3.8-Flash-Next UD-IQ4_XS, auto layer split, `--pcie-frac 0.00` (experts that miss the cards run on the CPU), 256K context, it+en draft vocabulary (#1259) for both drafters. 0.2.10 built from source for sm_89 (CUDA 12.6). VRAM memory offset +2000 in every arm. **Method:** fresh server per start, order A T U V V U T A, one warm-up discarded, then prose / code / 20K-token summary x2 at T=0, prose and code once at T=0.7, and prefill at 20K / 32K / 69K. Rates are the engine's own timings. n = 4 per T=0 cell, so read differences under ~3% as noise. - A = 0.2.7.1, MTP (my production config) - T = 0.2.10, same config, MTP (`"drafting": "mtp"`) - U = 0.2.10, DFlash2 alone, `--spec 6 --draft-conf 0.5` (what Auto picks for ~7.6K slots) - V = U with `--draft-conf 0.7` | decode tok/s (median) | A | T | U | V | |---|---|---|---|---| | prose T=0 | 77.3 | 80.8 | 77.8 | 75.8 | | code T=0 | 83.5 | 84.5 | 87.8 | 81.9 | | summary, 20K context | 56.9 | 56.9 | 55.2 | 53.9 | | prefill 20K / 32K / 69K | 1765 / 2076 / 2346 | 1786 / 2071 / 2330 | 1918 / 2244 / 2461 | 1925 / 2247 / 2464 | | expert slots in VRAM | 4024+3588 | 3905+3586 | 3905+3765 | 3907+3765 | | GPU energy per token | 2.25 J | 2.26 J | 2.21 J | 2.24 J | What I read from it: - **0.2.10 against 0.2.7.1 with MTP:** level, within noise. CUDA0 holds ~120 fewer slots. - **DFlash2 at 0.5 against MTP on 0.2.10:** code +4%, prose level, the 20K summary −3%. Prefill +5-9%, and that is the tightest result here: both starts of each arm agree within a few tok/s. - **0.7 is worse than 0.5 on this box.** Acceptance goes up (74-84% against 63-73%) but the windows are shorter, and decode drops, worst on the summary (−2.5% against U). - **VRAM:** on this pair DFlash2 frees only ~180 slots (+2.4%, all on the drafter's card, CUDA1) against my MTP layer. The 5.2 GB in the notes is the MTP download, not its VRAM cost, so a two-card user should not expect many more experts on the cards. - **Errors:** none in the engine logs of any arm, and no fallback to MTP. Most of my real traffic is Codex at 40K-200K context, where the summary row is the closest proxy, so I'm staying on 0.2.7.1 with MTP for now. Happy to run U on real work for a day if the per-context-band numbers would help. Host side as in #4610: same link probe (13.3 GB/s on both cards) and the PLE lock refused at the 15.7 GiB memlock limit in every arm (0.2.10 now says so in one clear line, thanks to #4671). From earlier A/Bs in #4610, the memlock alone was worth +0.2% here. Results folder and configs available if anyone wants them.
Author
Owner

@bob-u commented on GitHub (Nov 4, 2026):

I am curious how does 2x RTX 4060Ti compare to single card performance on your setup?

<!-- gh-comment-id:6632448703 --> @bob-u commented on GitHub (Nov 4, 2026): I am curious how does 2x RTX 4060Ti compare to single card performance on your setup?
Author
Owner

@fioruccione commented on GitHub (Nov 4, 2026):

@bob-u good question, and I had never measured it, so I did it this afternoon. Honestly I expected the single card to fall a lot further behind. For decode the second card buys me only about 4%; where it really pays is long prompts.

Same box, same production config (0.2.7.1, MTP, UD-IQ4_XS, experts RAM-resident), only "gpu": [0]. Fresh server per start, medians at T=0:

2x 4060 Ti 1x 4060 Ti
decode, prose / code / 20K summary 77.2 / 84.9 / 57.9 tok/s 74.0 / 81.0 / 55.8 −4%
prefill 20K / 32K / 69K 1807 / 2097 / 2368 tok/s 1354 / 1410 / 1406 −25 / −33 / −41%

The surprise came after: with one card the CPU carries much more of the work, and a smaller quant on one card beats the bigger one on two. I put the whole thing, with the CPU curve and what the code does, in #4610 (https://github.com/Niko1221/Strata/issues/4610#issuecomment-6642881834), because it is really a question about the host more than about the cards.

<!-- gh-comment-id:6642883577 --> @fioruccione commented on GitHub (Nov 4, 2026): @bob-u good question, and I had never measured it, so I did it this afternoon. Honestly I expected the single card to fall a lot further behind. For decode the second card buys me only about 4%; where it really pays is long prompts. Same box, same production config (0.2.7.1, MTP, UD-IQ4_XS, experts RAM-resident), only `"gpu": [0]`. Fresh server per start, medians at T=0: | | 2x 4060 Ti | 1x 4060 Ti | | |---|---|---|---| | decode, prose / code / 20K summary | 77.2 / 84.9 / 57.9 tok/s | 74.0 / 81.0 / 55.8 | −4% | | prefill 20K / 32K / 69K | 1807 / 2097 / 2368 tok/s | 1354 / 1410 / 1406 | −25 / −33 / −41% | The surprise came after: with one card the CPU carries much more of the work, and a smaller quant on one card beats the bigger one on two. I put the whole thing, with the CPU curve and what the code does, in #4610 (https://github.com/Niko1221/Strata/issues/4610#issuecomment-6642881834), because it is really a question about the host more than about the cards.
Author
Owner

@Niko1221 commented on GitHub (Nov 5, 2026):

Thank you for the benchmark. We have collected these results for the benchmarks page on the Strata website, so we are closing this here. If you measure again, for example on 0.2.11, you are welcome to open a new report.

The Strata project

<!-- gh-comment-id:6658838979 --> @Niko1221 commented on GitHub (Nov 5, 2026): Thank you for the benchmark. We have collected these results for the benchmarks page on the Strata website, so we are closing this here. If you measure again, for example on 0.2.11, you are welcome to open a new report. The Strata project
Author
Owner

@bob-u commented on GitHub (Nov 5, 2026):

So single card is faster than two (matches my experience on HIP). Why do you blame the host rather than strata scheduler?

<!-- gh-comment-id:6659662409 --> @bob-u commented on GitHub (Nov 5, 2026): So single card is faster than two (matches my experience on HIP). Why do you blame the host rather than strata scheduler?
Author
Owner

@fioruccione commented on GitHub (Nov 5, 2026):

@bob-u it's the other way round in my numbers, sorry if the table was unclear: the last column is one card relative to two. Two cards are faster, just not by much in decode (+4%), and a lot in long-context prefill (+68% at 69K).

I'm not ruling out the scheduler. I point at the host because with the same Strata build, changing only the CPU pool workers moved decode by up to 21% on two cards and 31% on one, and the same kind of second card gives +27/+32% decode on another box (#4603). Today @Norhiro measured where the decode time goes on a 6-core i7-7800X: the CPU expert work is 38-53% of each window, against 21-30% on my 32 cores (https://github.com/Niko1221/Strata/issues/4610#issuecomment-6660618223). Scheduler overhead could contribute too, but I haven't isolated it. Your HIP result, where one card beats two, would be interesting on its own: that sounds more like the backend than the host.

<!-- gh-comment-id:6661850574 --> @fioruccione commented on GitHub (Nov 5, 2026): @bob-u it's the other way round in my numbers, sorry if the table was unclear: the last column is one card relative to two. Two cards are faster, just not by much in decode (+4%), and a lot in long-context prefill (+68% at 69K). I'm not ruling out the scheduler. I point at the host because with the same Strata build, changing only the CPU pool workers moved decode by up to 21% on two cards and 31% on one, and the same kind of second card gives +27/+32% decode on another box (#4603). Today @Norhiro measured where the decode time goes on a 6-core i7-7800X: the CPU expert work is 38-53% of each window, against 21-30% on my 32 cores (https://github.com/Niko1221/Strata/issues/4610#issuecomment-6660618223). Scheduler overhead could contribute too, but I haven't isolated it. Your HIP result, where one card beats two, would be interesting on its own: that sounds more like the backend than the host.
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#3098
No description provided.