From owner-freebsd-net Wed Aug 12 08:56:17 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA16275 for freebsd-net-outgoing; Wed, 12 Aug 1998 08:56:17 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from amalthea.salford.ac.uk (amalthea.salford.ac.uk [146.87.255.61]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id IAA16148 for ; Wed, 12 Aug 1998 08:56:03 -0700 (PDT) (envelope-from freebsd-net-list@salford.ac.uk) From: freebsd-net-list@salford.ac.uk Received: (qmail 3772 invoked by alias); 12 Aug 1998 15:48:57 -0000 Received: (qmail 3766 invoked from network); 12 Aug 1998 15:48:57 -0000 Received: from ananke.salford.ac.uk (146.87.255.67) by amalthea.salford.ac.uk with SMTP; 12 Aug 1998 15:48:57 -0000 Received: (qmail 29830 invoked by alias); 12 Aug 1998 15:48:54 -0000 Delivered-To: catchall-freebsd-net@freebsd.org Received: (qmail 29822 invoked by uid 6); 12 Aug 1998 15:48:53 -0000 Message-ID: <19980812154853.29821.qmail@ananke.salford.ac.uk> Reply-To: mark@nospam.salford.ac.uk (Mark Powell) Subject: Re: 2.2.6 net performance and panic with 1000's of sockets open To: freebsd-net@FreeBSD.ORG Date: 12 Aug 1998 16:48:46 +0100 X-Gated-To-News-By: NewsMaster Xref: ananke.salford.ac.uk salford.mailing-lists.freebsd.net:92 comp.unix.bsd.freebsd.misc:71360 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In article <6pigce$a6k$1@flea.best.net>, Matt Dillon wrote: > There are a lot of factors that can slow a transfer down. If you are > transfering from a disk file, for example, you will be limited to what > the disk can do. If you are doing encryption (i.e. scp or ssh) you will > be limited to 2-4 MBytes/sec depending on the cpu. If the TCP window > is too small the datarate will be limited. If the ethernet has CRC > errors on it the datarate will be limited (due to TCP backoff). If the > ethernet is half duplex, the packet rate will limit the datarate due > to transmit collisions. Yeah, I realise this. However, as I said, the workstation and server are both plugged into the same 100TX switch. The workstation is running 2.2.7-STABLE and the server runs either 2.2.7-STABLE or Netware 4.11, depending on which disk it boots from. Thus each server OS has exactly the same hardware and network traffic. >tick# route -n change news2 -recvpipe 65536 -sendpipe 65536 >tick:/home/dillon> dd if=/dev/zero bs=1m count=64 | rsh news2.best.com "cat >/dev/null" >64+0 records in >64+0 records out >67108864 bytes transferred in 7.341502 secs (9141027 bytes/sec) I try this and get no more the ~4.2MBs. The workstation and the server are both P166. This is with everything killed on the machines except the necessary processes. Maybe the CPU's aren't up to it, under 227? BTW 227 was cvsupped and compiled this morning. -- Mark Powell - System Administrator (UNIX) - Clifford Whitworth Building A.I.S., University of Salford, Salford, Manchester, UK. Tel: +44 161 295 5936 Fax: +44 161 295 5888 Email: M.S.Powell@ais.salfrd.ac.uk finger mark@ucsalf.ac.uk (for PGP key) NO SPAM please: Spell salford correctly to reply to me. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message