Date: Sun, 11 Jan 2004 19:57:40 +0000 From: Bruce M Simpson <bms@spc.org> To: Guy Helmer <ghelmer@palisadesys.com> Cc: Richard Bejtlich <richard_bejtlich@yahoo.com> Subject: Re: Paper on device polling and packet capture performance Message-ID: <20040111195740.GK17555@saboteur.dek.spc.org> In-Reply-To: <FPEBKMIFGFHCGLLKBLMMEEIKCDAA.ghelmer@palisadesys.com> References: <20040109171717.33976.qmail@web60804.mail.yahoo.com> <FPEBKMIFGFHCGLLKBLMMEEIKCDAA.ghelmer@palisadesys.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jan 09, 2004 at 03:51:43PM -0600, Guy Helmer wrote: > I want to look at memory-mapped access to the BPF device. > This would preserve the existing network device drivers > while reducing mbuf copies, context switches/user-kernel > transitions, and latency. Performance ought to be > comparable to Luca's approach, and this would also > preserve bpf filtering capability. > > (If someone else has already done this, I'd love to > know where to find the code!) I did review some patches related to this last month but they weren't for FreeBSD. One big problem with the approach involved which leapt out at me was that the space was allocated within user address space, which introduces the risk of page faults (as you may know we can't ever fault with a mutex held -- or it's game over). I'd be happy to review other patches for this. My personal feeling though is that the actual performance increase may not be that great, but it's a case of someone implementing it and doing the math. BMS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040111195740.GK17555>