Commit 1f8fd82
authored
perf(umbp): optimize PoolClient BatchPut/BatchGet (#403)
- Per-pair RDMA transfer merge (get + put): collapse pages sharing a (localMR, remoteMR) pair into one BatchRead/BatchWrite with a single TransferStatus/uid; per-pair failures map back to per-key. Also fixes an unlocked dram_memories read race and exposes RDMA knobs via MORI_IO_* env.
- BatchGet: split into PartitionBatchGetTargets + ExecuteBatchGetPlan on one Submit/Wait path; the zero-copy path submits all peers and runs local DRAM/SSD + remote SSD inside the in-flight window, then waits all.
- BatchPut: mirror the same submit/wait split (SubmitRemoteBatchPut / WaitRemoteBatchPut); multi-peer writes posted before waiting, deferred local puts run in the in-flight window, staging stays per-peer serial, slot commit/abort finalized at wait.
- Cleanup: regroup the Put/Get hot paths into clear sections; best-effort logging on BatchAbortSlots RPC failure.1 parent 1db01d8 commit 1f8fd82
6 files changed
Lines changed: 1529 additions & 476 deletions
File tree
- docs
- src
- io/rdma
- umbp
- distributed
- include/umbp/distributed
- tests/cpp/umbp/distributed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
169 | | - | |
170 | | - | |
171 | | - | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
172 | 174 | | |
173 | 175 | | |
174 | 176 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
| 32 | + | |
31 | 33 | | |
32 | 34 | | |
33 | 35 | | |
| |||
73 | 75 | | |
74 | 76 | | |
75 | 77 | | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
76 | 99 | | |
77 | 100 | | |
78 | 101 | | |
| |||
1235 | 1258 | | |
1236 | 1259 | | |
1237 | 1260 | | |
| 1261 | + | |
| 1262 | + | |
| 1263 | + | |
| 1264 | + | |
| 1265 | + | |
| 1266 | + | |
| 1267 | + | |
| 1268 | + | |
1238 | 1269 | | |
1239 | 1270 | | |
1240 | 1271 | | |
| |||
0 commit comments