how to saturate 100Mbit

Luigi Rizzo rizzo at icir.org
Sat Dec 13 10:17:12 PST 2003


On Sat, Dec 13, 2003 at 10:50:33AM -0500, Don Bowman wrote:
...
> There is a netgraph module called ng_source which can do this.
> It can achieve about 400Kpps or >1Gbps on a xeon system with
> a gigabit card, should be able to saturate a fxp.

the fxp has a problem which does not allow it to go above 103/110/120kpps
depending on which descriptor model you use, no matter how fast
the CPU is.

Even not using any special kernel modules, a simple loop over
a sendto() on a udp socket can achieve around 500kpps on a 2.4GHz
box (em or bge). With some tricks and a sufficiently fast PCI
bus you can reach some 750kpps but then it really depends
on how fast is your PCI bus.

	cheers
	luigi

> freebsd-net at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"


More information about the freebsd-net mailing list