TCPDUMP performance

sp0ng3b0b sp0ng3b0b at sbcglobal.net
Tue Jan 4 09:29:14 PST 2005


James Kilton wrote:
> Hello,
> 
> We've installed some FreeBSD machines as Gigabit sniffers, and I'm
> wondering if there are any things I can tweak (e.g., buffer size) to help
> TCPDUMP capture better (we often see packets dropped by the kernel).
> 
> Any advice would be appreciated.
> 
> Thanks,
> James
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
> 

Enable device polling.

Add the following options to your kernel config, and then compile and 
install the new kernel:
	options DEVICE_POLLING
	options HZ=1000

After reboot, enable polling mode on with:
	sysctl kern.polling.enable=1



More information about the freebsd-questions mailing list