diff options
Diffstat (limited to 'man7/socket.7')
| -rw-r--r-- | man7/socket.7 | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/man7/socket.7 b/man7/socket.7 index 15bff45b1a..81e15b663b 100644 --- a/man7/socket.7 +++ b/man7/socket.7 @@ -504,8 +504,12 @@ setsockopt(fd, SOL_SOCKET, SO_INCOMING_CPU, &cpu, &len); .fi .in -The typical use case is one listener per RX queue, as the associated listener -should accept only flows handled in softirq by the same CPU. +Because all of the packets for a single stream +(i.e., all packets for the same 4-tuple) +arrive on the single RX queue that is associated with a particular CPU, +the typical use case is to employ one listening process per RX queue, +with the incoming flow being handled by a listener +on the same CPU that is handling the RX queue. This provides optimal NUMA behavior and keeps CPU caches hot. .TP .B SO_KEEPALIVE |
