Date: Mon, 28 Apr 2008 11:01:42 +0300 From: "Vlad GALU" <dudu@dudu.ro> To: Ganbold <ganbold@micom.mng.net> Cc: freebsd-net@freebsd.org Subject: Re: capturing packets on 250mb link Message-ID: <ad79ad6b0804280101t12ccc191g3d4fe3e4ff2a7427@mail.gmail.com> In-Reply-To: <48154EA2.6070105@micom.mng.net> References: <48154EA2.6070105@micom.mng.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On 4/28/08, Ganbold <ganbold@micom.mng.net> wrote: > Hi all, > > What is the best way to capture packets on 250mb link? > What kernel features/modules or tools (less CPU/RAM overhead) should I use? Given your OS version, I'd say that setting the BPF buffer size to around 1MB and setting the monitor flag on the capture interface would give you very good results. In that combination we've been doing packtet capture at gigabit speeds without packet loss. > > I have FreeBSD 7.0-STABLE machine ( > CPU: Intel(R) Xeon(TM) CPU 2.80GHz (2822.51-MHz 686-class CPU), > FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs > 1GM RAM, ad2: 76319MB <Maxtor 6L080M0 BANC1G10> at ata1-master SATA150). > > #uname -an > FreeBSD ng1.micom.mng.net 7.0-STABLE FreeBSD 7.0-STABLE #3: Sat Apr 26 > 14:08:06 ULAT 2008 tsgan@ng1.micom.mng.net:/usr/obj/usr/src/sys/NG i386 > > #pciconf -lv|more > ... > bge0@pci0:2:0:0: class=0x020000 card=0x1659103c chip=0x165914e4 > rev=0x11 hdr=0x00 > vendor = 'Broadcom Corporation' > device = 'BCM5721 NetXtreme Gigabit Ethernet PCI Express' > class = network > subclass = ethernet > ... > > Are there any considerations on hardware? > > thanks in advance, > > Ganbold > > -- > Cats, no less liquid than their shadows, offer no angles to the wind. > > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to > "freebsd-net-unsubscribe@freebsd.org" > -- ~/.signature: no such file or directory
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ad79ad6b0804280101t12ccc191g3d4fe3e4ff2a7427>