[patch] reducing arp locking

Alexander V. Chernikov melifaro at FreeBSD.org
Wed Nov 7 23:24:39 UTC 2012


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.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: no_arp_lle_lock.diff
URL: <http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20121108/d556c799/attachment.ksh>


More information about the freebsd-hackers mailing list