Shawn Bohrer
fbf8866d65
net: ipv4 only populate IP_PKTINFO when needed
...
The since the removal of the routing cache computing
fib_compute_spec_dst() does a fib_table lookup for each UDP multicast
packet received. This has introduced a performance regression for some
UDP workloads.
This change skips populating the packet info for sockets that do not have
IP_PKTINFO set.
Benchmark results from a netperf UDP_RR test:
Before 89789.68 transactions/s
After 90587.62 transactions/s
Benchmark results from a fio 1 byte UDP multicast pingpong test
(Multicast one way unicast response):
Before 12.63us RTT
After 12.48us RTT
Signed-off-by: Shawn Bohrer <sbohrer@rgmadvisors.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-10-08 16:27:33 -04:00
..
2013-09-11 12:34:13 -07:00
2013-10-07 15:40:44 -04:00
2013-09-23 16:29:41 -04:00
2013-09-23 16:29:42 -04:00
2013-04-08 17:16:57 -04:00
2013-10-01 17:06:14 -04:00
2013-09-30 21:59:38 -07:00
2013-08-14 01:12:58 +02:00
2013-09-23 16:29:42 -04:00
2013-07-31 17:24:22 -07:00
2013-09-28 15:56:15 -04:00
2013-07-31 17:50:01 -07:00
2013-08-10 01:16:44 -07:00
2013-07-27 22:14:06 -07:00
2013-07-31 17:50:02 -07:00
2013-07-31 17:50:02 -07:00
2013-08-28 17:45:48 -04:00
2013-08-29 14:08:24 -04:00
2013-07-31 17:50:02 -07:00
2013-09-05 14:54:29 -07:00
2013-09-20 14:49:32 -04:00
2013-09-20 14:49:32 -04:00
2013-09-20 14:49:32 -04:00
2013-09-20 14:49:32 -04:00
2013-09-20 14:49:32 -04:00
2013-09-20 14:49:32 -04:00
2013-09-20 14:49:32 -04:00
2013-09-20 14:49:32 -04:00
2013-09-20 14:49:32 -04:00
2013-09-20 14:49:32 -04:00
2013-09-20 14:49:33 -04:00
2013-03-26 12:32:13 -04:00
2013-10-03 15:36:37 -04:00
2013-09-20 14:49:33 -04:00
2013-09-20 14:49:33 -04:00
2013-09-20 14:49:33 -04:00
2013-09-20 14:49:33 -04:00
2013-07-03 14:37:39 -07:00
2013-09-20 14:49:33 -04:00
2013-07-16 09:58:05 +03:00
2013-04-08 12:00:16 -04:00
2013-09-04 14:53:20 -04:00
2013-09-21 14:01:38 -04:00
2013-09-21 14:01:38 -04:00
2013-09-21 14:01:38 -04:00
2013-09-21 14:01:38 -04:00
2013-05-28 23:49:07 -07:00
2013-05-06 11:06:51 -04:00
2013-10-03 15:33:35 -04:00
2013-10-03 15:33:35 -04:00
2013-10-03 17:43:39 -04:00
2013-09-21 14:01:38 -04:00
2013-09-27 17:32:16 -04:00
2013-09-21 14:01:38 -04:00
2013-09-04 00:27:25 -04:00
2013-09-21 14:01:38 -04:00
2013-09-04 00:27:25 -04:00
2013-10-01 17:06:14 -04:00
2013-10-08 16:27:33 -04:00
2013-09-21 14:01:38 -04:00
2013-09-21 14:01:38 -04:00
2013-09-21 14:01:39 -04:00
2013-09-21 14:01:38 -04:00
2013-04-29 15:41:56 -04:00
2013-09-21 14:01:38 -04:00
2013-09-21 14:01:38 -04:00
2013-09-21 14:01:38 -04:00
2013-09-21 14:01:38 -04:00
2013-09-21 14:01:38 -04:00
2013-09-21 14:01:38 -04:00
2013-09-21 14:01:38 -04:00
2013-09-21 14:01:38 -04:00
2013-09-21 14:01:38 -04:00
2013-08-29 14:08:24 -04:00
2013-09-04 14:53:20 -04:00
2013-10-01 17:06:14 -04:00
2013-09-21 14:01:39 -04:00
2013-07-31 17:50:02 -07:00
2013-10-01 17:06:14 -04:00
2013-09-21 14:01:39 -04:00
2013-09-21 14:01:39 -04:00
2013-09-05 14:54:29 -07:00
2013-09-21 14:01:39 -04:00
2013-09-21 14:01:39 -04:00
2013-09-23 01:51:07 -04:00
2013-07-31 17:24:22 -07:00
2013-08-31 00:32:32 -04:00
2013-09-23 01:51:08 -04:00
2013-09-23 01:51:08 -04:00
2013-09-23 01:51:08 -04:00
2013-09-23 01:51:08 -04:00
2013-09-23 01:51:08 -04:00
2013-09-23 01:51:08 -04:00
2013-09-28 15:21:52 -07:00
2013-09-23 01:51:09 -04:00
2013-09-20 14:41:02 -04:00
2013-09-23 01:51:09 -04:00
2013-10-01 17:06:14 -04:00
2013-10-08 16:27:33 -04:00
2013-09-23 01:51:09 -04:00
2013-09-24 10:39:58 -04:00
2013-06-04 16:43:42 -07:00
2013-10-08 16:27:33 -04:00
2013-09-23 16:29:40 -04:00
2013-07-27 22:14:06 -07:00
2013-09-05 12:44:30 -04:00
2013-09-23 16:29:40 -04:00
2013-09-23 16:29:41 -04:00
2013-09-23 16:29:41 -04:00
2013-09-30 15:24:57 -04:00