From nobody@FreeBSD.org  Thu Nov 30 05:32:04 2000
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id E691337B402
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 30 Nov 2000 05:32:03 -0800 (PST)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.1/8.11.1) id eAUDW3L16568;
	Thu, 30 Nov 2000 05:32:03 -0800 (PST)
	(envelope-from nobody)
Message-Id: <200011301332.eAUDW3L16568@freefall.freebsd.org>
Date: Thu, 30 Nov 2000 05:32:03 -0800 (PST)
From: oliver@n2mail.com
Sender: nobody@FreeBSD.org
To: freebsd-gnats-submit@FreeBSD.org
Subject: FTP REALLY slow on internal NIC aswel (12kb/s)
X-Send-Pr-Version: www-1.0

>Number:         23192
>Category:       conf
>Synopsis:       FTP REALLY slow on internal NIC aswel (12kb/s)
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 30 05:40:00 PST 2000
>Closed-Date:    Mon Dec 23 09:41:47 PST 2002
>Last-Modified:  Mon Dec 23 09:41:47 PST 2002
>Originator:     oliver
>Release:        4.2
>Organization:
student
>Environment:
FreeBSD starlight.are-b.org 4.2-RELEASE FreeBSD 4.2-RELEASE #2: Wed Nov 29 22:47
:39 CET 2000     root@starlight.are-b.org:/usr/src/sys/compile/STARLIGHT  i386
>Description:
Hi, I got a major problem with my ftp (and possible other) connections. I have two 10Mbit 3com NIC's One for internet usage (tp full duplex hooked up to a full duplex switch) and a BNC internal NIC. Now the problem is that sometimes, the download speed drops below 15 kb/s i only got one box internally so it's not because the lan is so busy. Further on the outside world the same happends. most of the time i can download (even when the internal connection is down to 15kb/s) at full speed (about 800kb/s) but sometimes the connection outside aswell drops way below 40 kb/s (havent' heard of 12kb/s so far.
I stepped over from linux somewhere this week where everything was running just fine. Since i started using BSD this happend. : /
And i really don't wanna give up on BSD just yet, but if this contiunue's .. then i'll be going back to slackware again ...
thanks in advance
oliver.
>How-To-Repeat:
connect with windows or linux ftp (linux ftp was faster though)
>Fix:


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: bmah 
State-Changed-When: Sat Nov 17 10:49:02 PST 2001 
State-Changed-Why:  
Is this still a problem for more recent versions of FreeBSD? 
If so, can you provide more details about your configuration? 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=23192 

From: Taavi Burns <tburns@ualberta.ca>
To: <freebsd-gnats-submit@FreeBSD.org>
Cc:  
Subject: Re: conf/23192: FTP REALLY slow on internal NIC aswel (12kb/s)
Date: Wed, 21 Nov 2001 23:26:36 -0700 (MST)

 I have the same problem; Installed FreeBSD4.4-RELEASE just a couple
 of weeks ago, and the network speed is a dud (got 1MBps from Linux,
 get ~10kBps from FreeBSD).  WindowsXP clients generally get a
 disconnect after the first 4k of a file.  Win98SE gets the file, but
 ~10kBps.  This also appears to affect HTTP; WinXP client got ~10kBps
 from FreeBSD4.4-RELEASE running Apache.
 
 FreeBSD4.4-RELEASE, compiled from 4.4-RELEASE source
 AOpen 10/100bT ethernet (r8139)
 5-port 10bT hub
 AMD K6/2-350
 256 MB RAM
 6.8 GB HD
 FIC VA-503+ mobo
 
 Taavi Burns
 /*eof*/
 

From: G Muthukumar <kmuthu@hotmail.com>
To: freebsd-gnats-submit@FreeBSD.org, oliver@n2mail.com,
	tburns@ualberta.ca
Cc:  
Subject: Re: conf/23192: FTP REALLY slow on internal NIC aswel (12kb/s)
Date: Mon, 26 Nov 2001 10:18:27 +0530

 Hi  there,
 
     I am submitting a follow up for this problem since I too faced this
 problem. I was running FreeBSD 4.3 when I first observed this problem.
 Thinking that this could be a problem with 4.3, I upgraded to 4.4 but it
 was of no use.
 
     I have two more OS's on the same machine and I get a transfer rate
 of 700-800 KB/s in an ftp transfer (all to the same machine) anytime I
 start the transfer. With FreeBSD it was very very poor (12-15 KB/s and
 it was slightly better [150KB/s ] when I 'put' the file). Needless to
 say, I was disappointed since I was running FreeBSD for a long time.
 
     I am happy now. Guess what? This seems to be a problem with the LAN
 driver or its interaction with TCP/IP.  My NIC was Realtek RTL 8139A.
 Since I wanted to submit a PR, I tested with different machines & NICs
 to give enough details.  When I changed my NIC to  COMPEX  RL100 ATX,
 the problem went away.
 
     I don't think there is any problem with the NIC itself since the
 transfer rate was very good in win98 & linux on the same machine.
 Looking at Taavi Burns's config (r8139),  I can say that my guess is
 correct.
 
 Taavi:
     Can you try replacing the NIC & see?
 
 FreeBSD development team:
     Can the problem associated with the rl dirver be fixed asap?
 
 Thanks,
 Muthu
 

From: "Borja Fernndez" <mbp@telecable.es>
To: <freebsd-gnats-submit@FreeBSD.org>, <oliver@n2mail.com>
Cc:  
Subject: Re: conf/23192: FTP REALLY slow on internal NIC aswel (12kb/s)
Date: Fri, 15 Mar 2002 18:29:24 +0100

  Im have this problem with two cards, rl and xl chipsets.
 
 cya
 
 

From: "Chris Knight" <chris@aims.com.au>
To: <freebsd-gnats-submit@FreeBSD.org>, <oliver@n2mail.com>,
	<mbp@telecable.es>, <kmuthu@hotmail.com>, <tburns@ualberta.ca>
Cc:  
Subject: Re: conf/23192: FTP REALLY slow on internal NIC aswel (12kb/s)
Date: Wed, 19 Jun 2002 20:11:42 +1000

 Howdy,
 
 The most common cause of this problem is incorrect duplex setting.
 It is worth using ifconfig to find out the current duplex setting
 of the card, then use ifconfig to change the duplex setting.
 You may need to look at the man page for the driver you are using
 as not all drivers use the same method for changing the duplex.
 Also, numerous network performance issues were resolved as of 4.5.
 It may be worth upgrading to 4.5 or 4.6 to see if the problem goes
 away.
 
 Regards,
 Chris Knight
 Systems Administrator
 AIMS Independent Computer Professionals
 Tel: +61 3 6334 6664  Fax: +61 3 6331 7032  Mob: +61 419 528 795
 Web: http://www.aims.com.au
 
 

From: "Gene Washington" <yrrat209@hotmail.com>
To: freebsd-gnats-submit@FreeBSD.org, oliver@n2mail.com
Cc:  
Subject: Re: conf/23192: FTP REALLY slow on internal NIC aswel (12kb/s)
Date: Sun, 04 Aug 2002 04:48:48 -0600

 Greetings,
 
 Thanks for all the notes on this.  My problem was the same, terribly slow 
 performance (12-15 Kb/s) on everything from mput's to Windows file transfer 
 operations.  The card in my FreeBSD server is a generic utp-only thing with 
 a Realtek 8029 chipset.  After reading your notes I changed rc.conf by 
 adding "media 10baseT/UTP" to specify what seemed obvious, since there is 
 only one physical connector.  (The default for the rl driver is apparently 
 AutoSelect)  Now I am flying around between my FreeBSD server and all the 
 Windows clients at speeds of 750-900 Kb/s)
 
 I am a bit new to the Unix world and I appreciate all the help!
 
 _________________________________________________________________
 Send and receive Hotmail on your mobile device: http://mobile.msn.com
 

From: Rodger Castle <druid@castlehollow.com>
To: freebsd-gnats-submit@FreeBSD.org, oliver@n2mail.com
Cc:  
Subject: Re: conf/23192: FTP REALLY slow on internal NIC aswel (12kb/s)
Date: Thu, 3 Oct 2002 01:17:26 -0400

 Gene,
 
 I've been having the same problem as described above--very, very slow response between two systems on the local network running through a 10/100M NIC system.  Particularly with trying to integrate a FreeBSD box and a WindowsXP machine.  After trying adding "media 10baseT/UTP" to ifconfig, all is well.  This seems to have fixed the slow response on the "rl" NICs.
 
 Rodger Castle
State-Changed-From-To: feedback->closed 
State-Changed-By: trhodes 
State-Changed-When: Mon Dec 23 09:40:24 PST 2002 
State-Changed-Why:  
Several people have offered opinions.  This PR no longer needs to remain open 
as we are several versions away && has sat in feedback for over a year. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=23192 
>Unformatted:
