On Fri, Dec 2, 2016 at 10:25 AM, Eric Dumazet <eduma...@google.com> wrote: > Under very high TX stress, CPU handling NIC TX completions can spend > considerable amount of cycles handling TSQ (TCP Small Queues) logic. > > This patch series avoids some atomic operations, but more important > patch is the 3rd one, allowing other cpus processing ACK packets and > calling tcp_write_xmit() to grab TCP_TSQ_DEFERRED so that > tcp_tasklet_func() can skip already processed sockets. > > This avoid lots of lock acquisitions and cache lines accesses, > particularly under load. >
Please do not merge this version. I probably messed something, I need to make more tests. Thanks.