Thread (2 messages) flat view 2 messages, 2 authors, 2012-08-14

Re: [PATCH] ipv4: Cache local output routes

From: David Miller <davem@davemloft.net>
Date: 2012-08-14 21:47:29

From: "Yan, Zheng" <redacted>
Date: Mon, 13 Aug 2012 14:09:59 +0800
Commit caacf05e5ad1abf causes big drop of UDP loop back performance.
The cause of the regression is that we do not cache the local output
routes. Each time we send a datagram from unconnected UDP socket,
the kernel allocates a dst_entry and adds it to the rt_uncached_list.
It creates lock contention on the rt_uncached_lock.

Reported-by: Alex Shi <redacted>
Signed-off-by: Yan, Zheng <redacted>
I was pretty sure not using 'fi' was necessary for semantic
reasons here, but I can't find any such requirement, so I've
applied this, thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help