Subject: Re: bpf/pcap performance
To: None <ragge@ludd.luth.se>
From: Mipam <mipam@ibb.net>
List: tech-net
Date: 04/07/2004 16:49:45
On Wed, 7 Apr 2004 ragge@ludd.luth.se wrote:

> >
> > Does anyone know why using bpf/pcap would drop packets when running
> > netbsd as opposed to freebsd ?
> >
> Be sure that you have increased bpf_bufsize to some reasonable value,
> instead of the default. I have no problem capturing data at 1Gbit
> speed using an 1MB buffer.

I believe the default bpf_bufsize in freebsd is 4096
net/bpf.c:static int bpf_bufsize = 4096;

Unless this value is bumped, i cannot imagine fbsd would not drop packets
where netbsd would?
Bye,

Mipam.