Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Feb 2010 11:52:55 +1300
From:      Jonathan Chen <jonc@chen.org.nz>
To:        Nikos Ntarmos <ntarmos@cs.uoi.gr>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: if_bge upload stalls repeatedly (Was: 8-STABLE outgoing scp stalling frequently)
Message-ID:  <20100203225255.GB14315@osiris.chen.org.nz>
In-Reply-To: <20100202212029.GA5295@asgard.cs.uoi.gr>
References:  <20100202193616.GA16953@osiris.chen.org.nz> <20100202212029.GA5295@asgard.cs.uoi.gr>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Feb 02, 2010 at 11:20:29PM +0200, Nikos Ntarmos wrote:
> On Wed, Feb 03, 2010 at 08:36:16AM +1300, Jonathan Chen wrote:
> > Hi,
> > 
> > I've noticed that on a recent 8-STABLE/amd64, scp(1) appears to be
> > stalling very frequently. This is the output from a "scp -v -v"
> > of a 300Mb file from a local to a remote within an internal network:

[...]
> > Does anyone know what's happening here? Any tips on how to track down
> > what the problem is? The network config appears to be fine - fetch(1) will
> > have downloads speeds of up to 300KB/s.
> 
> But how about upload speeds? It seems that's where scp is suffering as
> well.

This is the obvious test that I should have done; and you're hit the
nail on the head. bge(4) on 8-STABLE (csup'd 4-Feb-2010) has a very
bad upload speed.

I've just tried using ftp to transfer some files:

    Upload speed: starts at 63 KB/s, falls rapidly before stalling.
    Download speeds: starts at 9 MB/s, increasing slightly before completing.

Device from dmesg:
    bge0: <Broadcom NetXtreme Gigabit Ethernet Controller, ASIC rev. 0x00a002> mem 0xf1bf0000-0xf1bfffff irq 17 at device 0.0 on pci9

-- 
Jonathan Chen <jonc@chen.org.nz>
----------------------------------------------------------------------
                "I don't want to achive immortality through my works..
                 I want to achieve it through not dying" - Woody Allen



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100203225255.GB14315>