gvisor/pkg/sentry/socket
Bhasker Hariharan 3d71c627fa Add support for TCP receive buffer auto tuning.
The implementation is similar to linux where we track the number of bytes
consumed by the application to grow the receive buffer of a given TCP endpoint.

This ensures that the advertised window grows at a reasonable rate to accomodate
for the sender's rate and prevents large amounts of data being held in stack
buffers if the application is not actively reading or not reading fast enough.

The original paper that was used to implement the linux receive buffer auto-
tuning is available @ https://public.lanl.gov/radiant/pubs/drs/lacsi2001.pdf

NOTE: Linux does not implement DRS as defined in that paper, it's just a good
reference to understand the solution space.

Updates #230

PiperOrigin-RevId: 253168283
2019-06-13 22:28:01 -07:00
..
control Update canonical repository. 2019-06-13 16:50:15 -07:00
epsocket Add support for TCP receive buffer auto tuning. 2019-06-13 22:28:01 -07:00
hostinet Implement getsockopt() SO_DOMAIN, SO_PROTOCOL and SO_TYPE. 2019-06-13 17:24:51 -07:00
netlink Plumb context through more layers of filesytem. 2019-06-13 18:40:38 -07:00
rpcinet Update canonical repository. 2019-06-13 16:50:15 -07:00
unix Plumb context through more layers of filesytem. 2019-06-13 18:40:38 -07:00
BUILD Update canonical repository. 2019-06-13 16:50:15 -07:00
socket.go Plumb context through more layers of filesytem. 2019-06-13 18:40:38 -07:00