From owner-freebsd-hackers Sat Jul 17 16:23:44 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from apollo.backplane.com (apollo.backplane.com [209.157.86.2]) by hub.freebsd.org (Postfix) with ESMTP id 4674314F9C for ; Sat, 17 Jul 1999 16:23:24 -0700 (PDT) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.9.3/8.9.1) id QAA81716; Sat, 17 Jul 1999 16:20:39 -0700 (PDT) (envelope-from dillon) Date: Sat, 17 Jul 1999 16:20:39 -0700 (PDT) From: Matthew Dillon Message-Id: <199907172320.QAA81716@apollo.backplane.com> To: Vincent Poy Cc: sthaug@nethelp.no, tim@storm.digital-rain.com, freebsd-hackers@FreeBSD.ORG Subject: Re: poor ethernet performance? References: Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG : Hmmm, how did you do the measurement and how big of a file does it :need? : : With a 122MByte file, it only does 2644Kbytes/sec. This is :between two Pentium II 450 machines with Intel Pro100+ NICs. : : :Cheers, :Vince - vince@MCESTATE.COM - vince@GAIANET.NET ________ __ ____ 2.6 MB/sec is what I would expect if you were running the test over an ssh link on a fast cpu - the encryption eats a lot of cpu. But a normal rcp or ftp or data transfer can easily do 9-10 MBytes/sec. test3:/root# /usr/bin/rsh apollo -n "dd if=/images/swap/swap.209.157.86.6 bs=16k" > /dev/null 8192+0 records in 8192+0 records out 134217728 bytes transferred in 13.558270 secs (9899326 bytes/sec) test3:/root# /usr/bin/rsh apollo -n "dd if=/images/swap/swap.209.157.86.6 bs=16k" > /dev/null 8192+0 records in 8192+0 records out 134217728 bytes transferred in 13.530817 secs (9919410 bytes/sec) This is over 100BaseTX, *HALF* duplex running through a hub. 9.9 MBytes/sec. (using 1 MByte = 1000 * 1000). But if I use ssh instead, which I do only so I remember to turn off the shell service in my inetd.conf that I just turned on a moment ago, I am limited by apollo's poor PPro-200 and get: test3:/root# ssh apollo -n "dd if=/images/swap/swap.209.157.86.6 bs=16k" > /dev/null 8192+0 records in 8192+0 records out 134217728 bytes transferred in 96.545217 secs (1390206 bytes/sec) test3:/root# -Matt Matthew Dillon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message