From owner-freebsd-net@FreeBSD.ORG Fri Dec 12 22:13:23 2003 Return-Path: <owner-freebsd-net@FreeBSD.ORG> Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2232116A4CE for <net@freebsd.org>; Fri, 12 Dec 2003 22:13:23 -0800 (PST) Received: from heelflip.ncsa.uiuc.edu (12-221-104-90.client.insightBB.com [12.221.104.90]) by mx1.FreeBSD.org (Postfix) with ESMTP id DC5A443D32 for <net@freebsd.org>; Fri, 12 Dec 2003 22:13:21 -0800 (PST) (envelope-from nick@buraglio.com) Received: from [127.0.0.1] (localhost [127.0.0.1]) by heelflip.ncsa.uiuc.edu (Postfix) with ESMTP id CC5DE1D9C83; Sat, 13 Dec 2003 00:13:32 -0600 (CST) In-Reply-To: <3FDAAC5B.5030008@vt.edu> References: <20031213054654.GA850@grosbein.pp.ru> <3FDAAC5B.5030008@vt.edu> Mime-Version: 1.0 (Apple Message framework v606) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <76FB9BF4-2D33-11D8-8DDA-000393B61F2E@buraglio.com> Content-Transfer-Encoding: 7bit From: Nick Buraglio <nick@buraglio.com> Date: Sat, 13 Dec 2003 00:13:27 -0600 To: net@freebsd.org X-Pgp-Agent: GPGMail 1.0 (v30, 10.3) X-Mailer: Apple Mail (2.606) cc: Eugene Grosbein <eugen@grosbein.pp.ru> Subject: Re: how to saturate 100Mbit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD <freebsd-net.freebsd.org> List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-net>, <mailto:freebsd-net-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-net> List-Post: <mailto:freebsd-net@freebsd.org> List-Help: <mailto:freebsd-net-request@freebsd.org?subject=help> List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-net>, <mailto:freebsd-net-request@freebsd.org?subject=subscribe> X-List-Received-Date: Sat, 13 Dec 2003 06:13:23 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 You can also use a tool like iperf to test things like this. Just a thought. nb On Dec 13, 2003, at 12:06 AM, Clark Gaylord wrote: > Eugene Grosbein wrote: >> Is it possible to saturate 100Mbit ethernet using FreeBSD 4.9-STABLE, >> Pentium-133 & Intel 430VX-based motherboard (PCI-33), >> Intel 82559 Pro/100 Ethernet (fxp) ? I tried to use sendfile(2) on >> /dev/zero but that does not work. >> Then I created 8Tb holey file and used sendfile() on it. >> That gave 100% CPU load and only 37Mbit/s on wire. > > I usually use ttcp for tcp throughput measurement. You may not be > able to do 100Mbps, due to tcp-ness, but it has a udp mode as well. > Depends on what you are interested in doing. But ttcp is pretty low > impact. Also, when you use it, boost the buffersize; this can help > performance (and lower cpu hit) considerably. > > I am doing 800+Mbps on gigE with FreeBSD 5.1 these days. The other > trick we use for link utilization with tcp is to multiplex several > sessions; we do a few score (or a few hundred :-) simultaneous ttcp's > just with a shell script and background the processes. > > ping -f with larger packets can also be useful. > > --ckg > > _______________________________________________ > 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" > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (Darwin) iD8DBQE/2q4LFOm2Sy5bRPQRAmO6AJ9tdPc6X8jf6lE0qRqGsjyXnQRZ/QCcDdNw hakmV6u54zdrp7XRyEaMn4M= =05mX -----END PGP SIGNATURE-----