Repository navigation
Description
docs/contrib/dgx-spark.md lists a crates/threads P/E split under P3, and the row at line 141 says the default
thread count is the primary-core count (20 on GB10) with equal chunks, so the 10 E-cores gate every barrier. I looked
at where that barrier sits on a DGX Spark before writing any code, and on the default path I could not find a term for
the split to move. I am not opening a pull request for it now.
Where the pool runs. On the default Spark path (Qwen3.6-35B-A3B Q4_K_M, all of it on the card, through
generate_qwen3moe), the only call into the pool is memcpy_pool in crates/gpu/src/upload.rs:239, the host side of
the weight upload at load. Its pieces are 1 to 32 MiB, so a 21.5 GB file is about 650 dispatches, once per load. The
decode and prefill steps make no dispatch. Every other threads:: use in crates/gpu/src is under host/ (the host
tier and the NVMe tier), which this placement does not start, and crates/gpu/src/arch/qwen3moe/, crates/app/src and
generate_qwen3moe.rs have none.
The cores. Both Sparks I have read the same from sysfs: cpu_capacity 718 on cpu0-4 and 731 on cpu10-14
(Cortex-A725, cpuinfo_max_freq 2808000), 997 on cpu5-9, 1017 on cpu15-18 and 1024 on cpu19 (Cortex-X925, 3900000);
L3 groups 0-9 and 10-19. Each group lists its E-cores first, so by my reading of ccd_slot and cpu_for,
BLOOMERY_THREADS=10 puts all nine workers on A725 cores.
A check of the one place it runs. I ran the load on two Sparks with BLOOMERY_THREADS=20, 10 (the workers all
on E-cores, as above) and 1, alternating the order over three rounds, with the model file already in the page cache.
The load line read the same at 20 and at 10 on both machines, and 1 was clearly slower, so the setting did take
effect. The upload is not bound by the cores the pool runs on. I ran this directly rather than through a lease runner,
so I give no table; it only says there is no term here to measure.
If you want the pool to know core capacity later, the smallest form I see is in detect_topology: order each L3
group's primaries by cpu_capacity (then cpuinfo_max_freq, then id) so the first workers land on the large cores.
ccd_slot, CcdMap::span and chunk_bounds stay as they are, and a host whose cores are all the same sees no change.
It would only matter once the host tier or a P4 path runs on aarch64 with a barrier bound by its cores, and main has no
such path on a Spark today.
Docs. I did not change them. The row at docs/contrib/dgx-spark.md:141 ("the 10 E-cores gate every barrier",
"M in P3") does not hold for the default Spark path.
I am keeping this open as the note for that P3 item. If later work on the Spark changes any of this (a host tier or
a P4 path that does run the pool in a step, or a measurement through a lease runner), I will update this issue and
leave a comment here.
Machine: DGX Spark, NVIDIA GB10, driver 595.84, CPU 10 Cortex-X925 and 10 Cortex-A725, 128 GB unified memory, Ubuntu
24.04.5 LTS, kernel 6.17.0-1032-nvidia; main at 2ce989d7 with the local-mode and single-card timing commits (#38,
#39). git log 2ce989d7..0c8397db -- crates/threads crates/gpu/src/upload.rs crates/gpu/src/weights.rs is empty.
Activity
midagedev commentedon Oct 11, 2026
Thank you, this is clear and saves a round. I agree: on the default Spark path the pool runs only in the load's upload, and no step dispatches to it. I will correct the row at docs/contrib/dgx-spark.md:141 in our next docs commit and point it here. The capacity ordering in detect_topology stays as the note for when a host tier runs on aarch64.