全部书籍

专业

应用 关于 Coach 登录 开始阅读

书籍暂未推出简体中文版——当前显示英文版。

Quantitative Finance · 术语表

什么是 Message burst, receive buffer overrun?

又称: message burst · receive buffer overrun

Definition 18.3 Low-Latency Software · 第 18 章 — The Feed Handler

A message burst is a period in which a feed’s rate exceeds the rate its receiver sustains. A receive buffer overrun is the loss of datagrams that arrive while the socket’s receive buffer is full: the kernel drops them silently, and the handler sees only a gap.

How many datagrams a UDP socket keeps for a reader that is not reading, by receive-buffer size: 50 000 datagrams sent on loopback during the stall. The kernel grants twice the size asked and charges each datagram its full memory footprint. Measured on a laptop (Intel Core Ultra 7 155H) under WSL2 (kernel 6.18); rmem_max 4 MiB. Data: bench_feed.py.
Figure 18.3. How many datagrams a UDP socket keeps for a reader that is not reading, by receive-buffer size: 50 000 datagrams sent on loopback during the stall. The kernel grants twice the size asked and charges each datagram its full memory footprint. Measured on a laptop (Intel Core Ultra 7 155H) under WSL2 (kernel 6.18); rmem_max 4 MiB. Data: bench_feed.py.
在原文中阅读 →