Commit ffe5acf
revert(wt_bridge): remove recvmmsg batch reads
Go's netpoller wakes the goroutine per-packet, so ReadBatch consistently
returns batch=1 — no syscall reduction. The mmsghdrsPacker setup adds
overhead for no benefit. Revert to plain ReadFromUDP.
The pprof endpoint (--pprof) is kept.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 39d1805 commit ffe5acf
1 file changed
Lines changed: 8 additions & 19 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | 15 | | |
17 | 16 | | |
18 | 17 | | |
| |||
88 | 87 | | |
89 | 88 | | |
90 | 89 | | |
91 | | - | |
92 | 90 | | |
93 | | - | |
| 91 | + | |
94 | 92 | | |
95 | 93 | | |
96 | 94 | | |
| |||
106 | 104 | | |
107 | 105 | | |
108 | 106 | | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
| 107 | + | |
116 | 108 | | |
117 | | - | |
| 109 | + | |
118 | 110 | | |
119 | 111 | | |
120 | 112 | | |
121 | 113 | | |
122 | 114 | | |
123 | 115 | | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
132 | 121 | | |
133 | 122 | | |
0 commit comments