Eric Dumazet
e994b2f0fb
tcp: do not lock listener to process SYN packets
...
Everything should now be ready to finally allow SYN
packets processing without holding listener lock.
Tested:
3.5 Mpps SYNFLOOD. Plenty of cpu cycles available.
Next bottleneck is the refcount taken on listener,
that could be avoided if we remove SLAB_DESTROY_BY_RCU
strict semantic for listeners, and use regular RCU.
13.18% [kernel] [k] __inet_lookup_listener
9.61% [kernel] [k] tcp_conn_request
8.16% [kernel] [k] sha_transform
5.30% [kernel] [k] inet_reqsk_alloc
4.22% [kernel] [k] sock_put
3.74% [kernel] [k] tcp_make_synack
2.88% [kernel] [k] ipt_do_table
2.56% [kernel] [k] memcpy_erms
2.53% [kernel] [k] sock_wfree
2.40% [kernel] [k] tcp_v4_rcv
2.08% [kernel] [k] fib_table_lookup
1.84% [kernel] [k] tcp_openreq_init_rwin
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-10-03 04:32:46 -07:00
..
2015-09-29 20:21:32 +02:00
2015-09-29 20:40:33 -07:00
2015-08-25 13:38:50 -07:00
2015-09-26 16:08:27 -07:00
2015-04-03 12:11:15 -04:00
2015-07-29 22:44:04 -07:00
2015-09-15 15:25:02 -07:00
2015-05-28 11:23:20 +08:00
2015-10-02 07:21:25 -07:00
2015-07-24 22:46:11 -07:00
2015-09-09 14:19:50 -07:00
2015-09-01 14:32:44 -07:00
2015-09-17 16:36:34 -07:00
2015-08-29 13:07:54 -07:00
2015-08-10 14:03:54 -07:00
2015-04-03 12:11:15 -04:00
2015-09-29 20:40:33 -07:00
2015-09-29 16:27:47 -07:00
2015-10-03 04:32:45 -07:00
2015-10-03 04:32:41 -07:00
2015-07-26 21:00:15 -07:00
2015-10-03 04:32:41 -07:00
2013-12-29 16:34:25 -05:00
2015-09-21 16:32:29 -07:00
2015-08-28 13:32:36 -07:00
2015-09-17 17:18:37 -07:00
2015-09-29 20:40:33 -07:00
2015-08-29 13:07:54 -07:00
2015-09-17 17:18:37 -07:00
2015-04-03 12:11:15 -04:00
2015-09-29 20:40:32 -07:00
2015-06-24 02:58:51 -07:00
2015-09-24 14:31:37 -07:00
2015-08-10 14:03:54 -07:00
2015-09-17 17:18:32 -07:00
2015-04-03 12:11:15 -04:00
2015-08-12 16:40:22 -07:00
2015-08-10 14:03:54 -07:00
2015-09-17 17:18:37 -07:00
2015-08-27 15:42:48 -07:00
2015-08-27 15:42:48 -07:00
2015-09-29 20:21:32 +02:00
2015-07-09 21:09:10 -07:00
2015-07-21 22:36:33 -07:00
2014-09-19 17:15:31 -04:00
2015-09-17 17:18:37 -07:00
2015-10-02 07:21:25 -07:00
2015-10-03 04:32:41 -07:00
2015-08-28 13:28:47 -07:00
2015-07-09 14:22:52 -07:00
2015-07-09 14:22:52 -07:00
2015-09-25 13:00:38 -07:00
2015-09-17 22:35:07 -07:00
2015-06-10 23:28:33 -07:00
2015-06-15 19:49:22 -07:00
2015-10-03 04:32:43 -07:00
2015-07-09 14:22:52 -07:00
2015-07-09 14:22:52 -07:00
2015-07-09 14:22:52 -07:00
2015-07-09 14:22:52 -07:00
2015-10-03 04:32:43 -07:00
2015-10-03 04:32:46 -07:00
2014-05-03 19:23:07 -04:00
2015-02-12 18:54:10 -08:00
2015-08-28 13:32:36 -07:00
2015-10-03 04:32:39 -07:00
2015-06-11 16:33:10 -07:00
2015-10-03 04:32:43 -07:00
2014-09-01 18:12:45 -07:00
2015-07-09 14:22:52 -07:00
2015-07-09 21:44:38 -07:00
2015-07-09 14:22:52 -07:00
2015-04-29 17:10:38 -04:00
2015-07-09 14:22:52 -07:00
2015-05-05 19:50:09 -04:00
2015-01-28 22:18:37 -08:00
2015-09-29 16:53:10 -07:00
2012-03-11 23:42:51 -07:00
2015-06-15 19:49:22 -07:00
2015-03-02 13:06:31 -05:00
2015-04-03 12:11:15 -04:00
2015-08-27 15:42:47 -07:00
2015-09-29 20:40:32 -07:00
2014-05-23 16:28:53 -04:00
2015-09-17 17:18:37 -07:00
2013-12-26 13:43:21 -05:00
2015-03-25 14:07:04 -04:00
2015-09-17 17:18:37 -07:00
2015-09-29 20:40:33 -07:00
2014-06-30 07:49:47 +02:00
2013-12-18 16:58:20 -05:00
2013-05-31 17:19:05 -07:00