Date: Tue, 8 Jul 2008 09:34:48 -0700 From: "Artem Belevich" <fbsdlist@src.cx> To: "Robert Watson" <rwatson@freebsd.org> Cc: FreeBSD Net <freebsd-net@freebsd.org> Subject: Re: Freebsd IP Forwarding performance (question, and some info) [7-stable, current, em, smp] Message-ID: <ed91d4a80807080934x7578d45fw2fa67d84444c2658@mail.gmail.com> In-Reply-To: <20080708085227.J31157@fledge.watson.org> References: <4867420D.7090406@gtcomm.net> <486FFF70.3090402@gtcomm.net> <48701921.7090107@gtcomm.net> <4871E618.1080500@freebsd.org> <20080708002228.G680@besplex.bde.org> <48724238.2020103@freebsd.org> <20080708034304.R21502@delplex.bde.org> <20080708045135.V1022@besplex.bde.org> <ed91d4a80807071227q5d9ca283g59270a1ab92c80a9@mail.gmail.com> <20080708085227.J31157@fledge.watson.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 7/8/08, Robert Watson <rwatson@freebsd.org> wrote: > There were some patches floating around for if_em to do a prefetch of the > first bit of packet data on packets before handing them up the stack. My I found Andre Oppermann's optimization patch mentioned in july 2005 status report: http://lists.freebsd.org/pipermail/freebsd-announce/2005-July/001012.html http://www.nrg4u.com/freebsd/tcp_reass+prefetch-20041216.patch Is that the patch you had in mind? In the report Andre says: "Use [of prefetch] in both of these places show a very significant performance gain but not yet fully quantified." "very significant" bit looks promising. Unfortunately, it does not look like prefetch changes in the patch made it into official kernel. I wonder why. It should be easy enough to apply prefetch-related changes and see if/how it affects forwarding performance. --Artem
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ed91d4a80807080934x7578d45fw2fa67d84444c2658>