Subject: Re: [RFC] [PATCH] udp: optimize lookup of UDP sockets to by including destination address in the hash key

From: Andi Kleen <[email-masked]>
Date: Thu, 05 Nov 2009 13:12:07 +0100

Eric Dumazet <[email-masked]> writes:
>
> I have struct reorderings in progress to reduce number of cache lines read
> per socket from two to one. So this would reduce by 50% time to find
> a particular socket in the chain.

Assuming that each access takes equal time seems like a rather dubious
assumption. Consider caches.

-Andi
-- 
[email-masked] -- Speaking for myself only.