Commit 8fb2eaa
committed
prov/shm: add unexpected message buffering on demand when needed
In order to support unlimited unexpected messaging, add a flag
SMR_BUFFER_RECV for the sender to let the receiver know that
resources are limited and the whole message should get buffered
on the target. This allows the command to be immediately returned
to the sender so that the sender is never blocked due to unexpected
messages at the target.
Buffering unexpected messages hurts performance so the default is to
wait until only a single command is left before requesting buffering,
but an environment variable is also added to toggle this for either
debugging purposes or workarounds.
Signed-off-by: Alexia Ingerson <alexia.ingerson@intel.com>1 parent e48c9a9 commit 8fb2eaa
File tree
5 files changed
+234
-71
lines changed- man
- prov/shm/src
5 files changed
+234
-71
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
179 | 187 | | |
180 | 188 | | |
181 | 189 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
478 | 478 | | |
479 | 479 | | |
480 | 480 | | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
481 | 485 | | |
482 | 486 | | |
483 | 487 | | |
| |||
499 | 503 | | |
500 | 504 | | |
501 | 505 | | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
502 | 510 | | |
503 | 511 | | |
504 | 512 | | |
| |||
566 | 574 | | |
567 | 575 | | |
568 | 576 | | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
569 | 581 | | |
570 | 582 | | |
571 | 583 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
| |||
51 | 52 | | |
52 | 53 | | |
53 | 54 | | |
| 55 | + | |
| 56 | + | |
54 | 57 | | |
55 | 58 | | |
56 | 59 | | |
| |||
216 | 219 | | |
217 | 220 | | |
218 | 221 | | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
219 | 225 | | |
220 | 226 | | |
221 | 227 | | |
| |||
0 commit comments