From owner-freebsd-questions Mon Jun 24 7:15: 2 2002 Delivered-To: freebsd-questions@freebsd.org Received: from highland.isltd.insignia.com (highland.isltd.insignia.com [195.74.141.1]) by hub.freebsd.org (Postfix) with ESMTP id 8D6E637B403 for ; Mon, 24 Jun 2002 07:14:53 -0700 (PDT) Received: from scorpio.isltd.insignia.com (scorpio.isltd.insignia.com [172.16.1.1]) by highland.isltd.insignia.com (8.11.6/8.11.6) with ESMTP id g5OEElw50567 for ; Mon, 24 Jun 2002 15:14:47 +0100 (BST) Received: from exchange-uk.isltd.insignia.com (exchange-uk [172.16.1.6]) by scorpio.isltd.insignia.com (8.11.3/8.11.3) with ESMTP id g5OEEk217630 for ; Mon, 24 Jun 2002 15:14:47 +0100 (BST) Received: by exchange-uk.isltd.insignia.com with Internet Mail Service (5.5.2653.19) id ; Mon, 24 Jun 2002 15:14:46 +0100 Message-ID: <2F03DF3DDE57D411AFF4009027B8C3670289CE4E@exchange-uk.isltd.insignia.com> From: "local.freebsd.questions" To: "'freebsd-questions@freebsd.org'" Subject: Network speed funnies Date: Mon, 24 Jun 2002 15:14:41 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG We recently replaced an internal Web server, from an old Sparc to a FreeBSD PC, and shortly afterwards got complaints of slow access. Some testing revealed a strange situation: I have two machines, a file server and a web server, the former on 4.3 and the latter on 4.5. The file server is on a 10 Mbit hub and the web server on a 100 Mbit switch. If I telnet into a third FreeBSD machine, on a 100 Mbit connection, and ftp kernel.GENERIC off the two servers, I get about 900 Kb/s for the 10 Mbit one and 8500 Kb/s for the 100 Mbit one. No surprises. However if I do the same from a Windows 2000 box on the same 100 Mbit network I get 900 Kb/s from the server on the slow hub, but for the server on the 100 Mbit connection I get: >ftp> get kernel.GENERIC >200 PORT command successful. >150 Opening BINARY mode data connection for 'kernel.GENERIC' (3648397 bytes). >426 Data connection: Broken pipe. >ftp: 4344 bytes received in 60.10Seconds 0.07Kbytes/sec. The ftpd process on the server keeps going for a while after the client reports the error. The ftpd log shows: >Jun 24 14:59:24 speyburn ftpd[5316]: connection from tomatin (172.16.1.128) >Jun 24 14:59:28 speyburn ftpd[5316]: FTP LOGIN FROM tomatin as jim >Jun 24 15:00:44 speyburn ftpd[5316]: get /kernel.GENERIC = 69632 bytes >Jun 24 15:11:56 speyburn ftpd[5402]: connection from inchgower-e1 (172.16.0.128) >Jun 24 15:12:00 speyburn ftpd[5402]: FTP LOGIN FROM inchgower-e1 as jim >Jun 24 15:12:06 speyburn ftpd[5402]: get /kernel.GENERIC = 3648397 bytes The first is the failed connection, the second a successful one from the FreeBSD client. Note the strange size logged for the file. All four machines have Intel network cards so I don't think it's dodgy hardware. And I can repeat this on other client machines with different hardware. Baffling. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message