|
|
|
|
|
by Matthias247
1516 days ago
|
|
I think the socket buffers (sk_buff) are actually shared. They are all packet sized, and whatever socket needs to transmit some data or receives it gets the buffers attached. So my assumption is that the amount of required socket buffers scales more with the amount of data transmission than with the number of sockets. But independent of socket buffers, the kernel obviously needs to allocate other state per socket, which tracks the state of the TCP connection. |
|