[patch] reducing arp locking

Adrian Chadd adrian at freebsd.org
Wed Nov 7 23:46:32 UTC 2012


On 7 November 2012 15:24, Alexander V. Chernikov <melifaro at freebsd.org> wrote:
> Hello list!
>
> Currently we need to acquire 2 read locks to perform simple 6-byte copying
> from arp record to packet ethernet header.
>
> It seems that acquiring lle lock for fast path (main traffic flow) is not
> necessary even with current code.
>
> My tests shows ~10% improvement with this patch applied.
>
> If nobody objects I plan to commit this change at the end of next week.

That's a great catch! How'd you discover it?



Adrian


More information about the freebsd-hackers mailing list