OSDN Git Service

Merge branch 'tcp-synflood-perf'
authorDavid S. Miller <davem@davemloft.net>
Fri, 15 Apr 2016 20:45:45 +0000 (16:45 -0400)
committerDavid S. Miller <davem@davemloft.net>
Fri, 15 Apr 2016 20:45:45 +0000 (16:45 -0400)
commit125c8d1233b7dd4688f14dd992d724c20d055dee
treefd1010fca7c152ca547f02d80a02dc9d1b9d7b20
parentac18dd9e842294377dbaf1e8d169493567a81fa1
parent8804b2722dc5d6f9b7ba0a9e812eae9ee5ce95bc
Merge branch 'tcp-synflood-perf'

Eric Dumazet says:

====================
tcp: final work on SYNFLOOD behavior

In the first patch, I remove the costly association of SYNACK+COOKIES
to a listener. I believe other parts of the stack should be ready.

The second patch removes a useless write into listener socket
in tcp_rcv_state_process(), incurring false sharing in
tcp_conn_request()

Performance under SYNFLOOD goes from 3.2 Mpps to 6 Mpps.

Test was using a single TCP listener, on a host with 8 RX queues
on the NIC, and 24 cores (48 ht)
====================

Signed-off-by: David S. Miller <davem@davemloft.net>