Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jun 2004 18:47:49 +0100
From:      Bruce M Simpson <bms@spc.org>
To:        Ed Maste <emaste@sandvine.com>
Cc:        'Sergey Lyubka' <devnull@uptsoft.com>
Subject:   Re: memory mapped packet capturing - bpf replacement ?
Message-ID:  <20040614174749.GF14722@empiric.dek.spc.org>
In-Reply-To: <FE045D4D9F7AED4CBFF1B3B813C8533701BD40C7@mail.sandvine.com>
References:  <FE045D4D9F7AED4CBFF1B3B813C8533701BD40C7@mail.sandvine.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jun 14, 2004 at 08:38:57AM -0400, Ed Maste wrote:
> Hello Sergey.  I haven't looked at your code, but I'll provide 
> some comments, having implemented a mmaped ringbuffer BPF 
> replacement myself.

We've had some prior interest in this. Do you have patches? If so, I'd be
more than happy to look at them.

Linux has something similar, but when I looked at the mechanism involved,
I was loathe to adopt the same logic because the buffer(s) involved were
allocated from userland and then mapped accordingly; we generally can't
afford to take a page fault in that path, for mutex related reasons.

Regards,
BMS



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