Date: Mon, 24 Jun 2002 15:14:41 +0100 From: "local.freebsd.questions" <freebsd-questions-local@insignia.com> To: "'freebsd-questions@freebsd.org'" <freebsd-questions@freebsd.org> Subject: Network speed funnies Message-ID: <2F03DF3DDE57D411AFF4009027B8C3670289CE4E@exchange-uk.isltd.insignia.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2F03DF3DDE57D411AFF4009027B8C3670289CE4E>