feat: per-NUMA-node task slices and counters in the CPU expert pool (opt-in)
This commit is contained in:
1 parent
90767252f4
commit
709f8dc63d
4 files changed
+337
-31
No files matched your search
@@ -16304,10 +16304,13 @@ int main(int argc, char** argv) {
|
||||
(double) (drive.d.multi_entries - entries0) / (double) (rounds * g.n_layers));
|
||||
if (rounds > 0)
|
||||
std::printf("%-24s gate/up %.3f quantize %.3f down %.3f ms/round; %.1f GB/s over the rows phases; "
|
||||
"CPU pool call %.3f ms/round\n", "pool multi", pool.ms_multi_gu / rounds,
|
||||
"CPU pool call %.3f ms/round", "pool multi", pool.ms_multi_gu / rounds,
|
||||
pool.ms_multi_q / rounds, pool.ms_multi_down / rounds,
|
||||
(double) pool.multi_bytes / 1e6 / std::max(1e-9, pool.ms_multi_gu + pool.ms_multi_down),
|
||||
(drive.cpu_ms - pool_ms0) / rounds);
|
||||
if (rounds > 0 && pool.numa_slices() == 2) // STRATA_NUMA_SPLIT: each slice's drain, publish to its last task
|
||||
std::printf("; numa slices: s0 %.3f ms s1 %.3f ms", pool.numa_slice_ms(0) / rounds, pool.numa_slice_ms(1) / rounds);
|
||||
if (rounds > 0) std::printf("\n");
|
||||
if (rounds > 0)
|
||||
std::printf("%-24s plan %.3f activation quantize %.3f jobs %.3f run %.3f ms/round\n", "dispatch",
|
||||
drive.d.ms_plan / rounds, drive.d.ms_actq / rounds, drive.d.ms_jobs / rounds,
|
||||
|
||||
Reference in new issue
Block a user