Date: Wed, 7 Nov 2012 15:46:31 -0800 From: Adrian Chadd <adrian@freebsd.org> To: "Alexander V. Chernikov" <melifaro@freebsd.org> Cc: freebsd-net@freebsd.org, freebsd-hackers@freebsd.org Subject: Re: [patch] reducing arp locking Message-ID: <CAJ-Vmo=tw1peswao9hwk=1fdmvr6SFDfE5T0cmw0b1w_YWRJtQ@mail.gmail.com> In-Reply-To: <509AEDAC.10002@FreeBSD.org> References: <509AEDAC.10002@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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? Adrian
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-Vmo=tw1peswao9hwk=1fdmvr6SFDfE5T0cmw0b1w_YWRJtQ>