Commit cca5d68
committed
erts: Cap the adaptive esock rcvbuf at 256 KB
Draining a local bulk stream on an M2 Pro is flat or slightly better
with a 128 KB or 256 KB cap (7.4-7.6 GB/s) than with 1 MB (6.0 GB/s),
so past the point where the buffer amortises the syscall the larger
memcpy only costs. 256 KB keeps 2x headroom over the measured knee
for links with more latency than loopback.1 parent 595c377 commit cca5d68
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
214 | 214 | | |
215 | 215 | | |
216 | 216 | | |
217 | | - | |
| 217 | + | |
218 | 218 | | |
219 | 219 | | |
220 | 220 | | |
| |||
0 commit comments