Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Jun 2004 13:25:51 -0400
From:      Ed Maste <emaste@sandvine.com>
To:        freebsd-hackers@freebsd.org
Subject:   RE: memory mapped packet capturing - bpf replacement ?
Message-ID:  <FE045D4D9F7AED4CBFF1B3B813C8533701BD40E1@mail.sandvine.com>

next in thread | raw e-mail | index | archive | help
Matthew Dillon wrote:
> 
> There's no reason why the time has to be in microseconds or 
> even that it must be adjusted to realtime.  You also do not 
> have to support low power modes during testing which means 
> that just time-stamping the packets with the TSC plus a simple 
> base offset to correct for variences between cpus and machines 
> on the network ought to be sufficient.

Fair enough.  In my case I didn't need the timestamp anyway
so just disabling it was the least-effort way to remove the 
overhead.

I pointed out the timestamp issue only because it will penalize
BPF against a new method (that doesn't have them) more than one 
might expect.

-ed



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