Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Dec 2003 10:17:06 -0800
From:      Luigi Rizzo <rizzo@icir.org>
To:        Don Bowman <don@sandvine.com>
Cc:        net@freebsd.org
Subject:   Re: how to saturate 100Mbit
Message-ID:  <20031213101706.A79791@xorpc.icir.org>
In-Reply-To: <FE045D4D9F7AED4CBFF1B3B813C85337035E418B@mail.sandvine.com>; from don@sandvine.com on Sat, Dec 13, 2003 at 10:50:33AM -0500
References:  <FE045D4D9F7AED4CBFF1B3B813C85337035E418B@mail.sandvine.com>

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



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