Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 09 Nov 2012 01:48:09 +0400
From:      "Alexander V. Chernikov" <melifaro@FreeBSD.org>
To:        Adrian Chadd <adrian@freebsd.org>
Cc:        freebsd-net@freebsd.org, freebsd-hackers@freebsd.org
Subject:   Re: [patch] reducing arp locking
Message-ID:  <509C2899.8010701@FreeBSD.org>
In-Reply-To: <CAJ-Vmo=tw1peswao9hwk=1fdmvr6SFDfE5T0cmw0b1w_YWRJtQ@mail.gmail.com>
References:  <509AEDAC.10002@FreeBSD.org> <CAJ-Vmo=tw1peswao9hwk=1fdmvr6SFDfE5T0cmw0b1w_YWRJtQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 08.11.2012 03:46, Adrian Chadd wrote:
> On 7 November 2012 15:24, Alexander V. Chernikov<melifaro@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?
We have lots of FreeBSD routers doing 10G firewalling, so we're very 
much concerned with forwarding/firewalling performance, constantly 
looking for something to optimize :)
>
>
>
> Adrian
>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?509C2899.8010701>