Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 04 Jan 2005 09:29:16 -0800
From:      sp0ng3b0b <sp0ng3b0b@sbcglobal.net>
To:        James Kilton <kilton9@yahoo.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: TCPDUMP performance
Message-ID:  <41DAD26C.9010500@sbcglobal.net>
In-Reply-To: <20050102152416.65565.qmail@web51904.mail.yahoo.com>
References:  <20050102152416.65565.qmail@web51904.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@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



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