4 ms·
Is the Linux tcp_autocorking setting sufficient? https://marc.info/?l=openbsd-tech&m=171573285422908&w=2 https://marc.info/?l=openbsd-tech&m=171573285422908&w=
by jdougan 2y ago
Is the Linux tcp_autocorking setting sufficient?
https://marc.info/?l=openbsd-tech&m=171573285422908&w=2 https://marc.info/?l=openbsd-tech&m=171573285422908&w=2
tcp_autocorking - BOOLEAN
Enable TCP auto corking :
When applications do consecutive small write()/sendmsg() system calls,
we try to coalesce these small writes as much as possible, to lower
total amount of sent packets. This is done if at least one prior
packet for the flow is waiting in Qdisc queues or device transmit
queue. Applications can still use TCP_CORK for optimal behavior
when they know how/when to uncork their sockets.
Default : 1
- bhaney 2y agoI have no idea! This is the first I'm hearing of corking, so I don't really know how it behaves in reality. It certainly seems pretty close to what I was talking about at first glance.
- londons_explore 2y ago> This is done if at least one prior packet for the flow is waiting in Qdisc queues or device transmit queue. It should be 'or was sent less than rtt/2 ago'.