Commit 4b49a6c
LeafNodeRank: kOutboundFanoutWindow=16, driver_threads=nproc/4 on SMT-on
Summary:
Two small platform-tuning changes:
1. LeafNodeRank.cc: kOutboundFanoutWindow 32 → 16. With nproc-sized
ThriftSrv.IO pool (D105119223) and per-MockClient EventBase
placement, 32 was overbatching outbound RPCs per request and
inflating dispatch_per_rpc tail latency on BGM/Turin (88-176
cores). 16 keeps a sane queue depth on big-SMT hosts without
meaningful throughput loss on smaller boxes.
2. run.sh: DRIVER_THREADS unified at nproc/4 across SMT-on and SMT-off.
Previously SMT-on used nproc/5, SMT-off used nproc/4 — an
inconsistency that under-pinned driver work on big SMT hosts (e.g.
BGM 176 logical: 35 SMT-on driver threads vs 44 SMT-off). Using
nproc/4 in both branches removes one source of cross-platform
variance.
Reviewed By: YifanYuan3
Differential Revision: D1056598091 parent 4707657 commit 4b49a6c
2 files changed
Lines changed: 8 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | 53 | | |
57 | 54 | | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | 55 | | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
62 | 63 | | |
63 | 64 | | |
64 | 65 | | |
| |||
Lines changed: 1 addition & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
728 | 728 | | |
729 | 729 | | |
730 | 730 | | |
731 | | - | |
732 | | - | |
733 | | - | |
734 | | - | |
735 | | - | |
| 731 | + | |
736 | 732 | | |
737 | 733 | | |
738 | 734 | | |
| |||
0 commit comments