From owner-freebsd-questions@FreeBSD.ORG Wed Nov 23 07:20:44 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 81AA1106566B for ; Wed, 23 Nov 2011 07:20:44 +0000 (UTC) (envelope-from b.smeelen@ose.nl) Received: from mail.ose.nl (mail.ose.nl [212.178.134.164]) by mx1.freebsd.org (Postfix) with ESMTP id 1F1178FC0C for ; Wed, 23 Nov 2011 07:20:42 +0000 (UTC) X-Footer: b3NlLm5s Received: from localhost ([127.0.0.1]) by mail.ose.nl (using TLSv1/SSLv3 with cipher AES256-SHA (256 bits)) for freebsd-questions@freebsd.org; Wed, 23 Nov 2011 08:20:40 +0100 Message-ID: <4ECC9EC8.3050104@ose.nl> Date: Wed, 23 Nov 2011 08:20:40 +0100 From: Bas Smeelen User-Agent: Mozilla/5.0 (X11; Linux i686; rv:5.0) Gecko/20110627 Thunderbird/5.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4ECBBD0B.6090600@ose.nl> <4ECBC951.3080800@infracaninophile.co.uk> In-Reply-To: <4ECBC951.3080800@infracaninophile.co.uk> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: 9.0-PRERELEASE slow scp transfer X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Nov 2011 07:20:44 -0000 On 11/22/2011 05:09 PM, Matthew Seaman wrote: > On 22/11/2011 15:17, Bas Smeelen wrote: >> When i copy a file with scp which is a few hundred megabytes on2. from 1.i >> get about 130 KB/s >> >> I can find nothing in the logs or netstat errors on this 9.0-PRERELEASE box. >> I have switched network kabels and ports on the switch. >> >> How could i further investigate? > Check the duplex settings in ifconfig(8) output on all three machines. > They should all say: > > media: Ethernet autoselect (1000baseTX ) > > assuming you're not forcing everything to a particular speed. Any > mention of '100baseTX ' indicates a failure to negotiate > the link settings, which could well be due to a hardware problem. Mind > you, in that case you'ld see plenty of errors in the output of 'netstat -i' > > If that's not the problem then it sounds like you've eliminated all the > obvious causes. Which means a bug in 9.0-PRERELEASE, so please bring > this up on freebsd-current@... where it should come to the attention of > the developers working on getting 9.0 out of the door. Include 'pciconf > -lbv' output for the NICs and PHYs on all three machines if you would be > so kind. > > Cheers, > > Matthew > OK, thanks for the reply. They're all autonegotiated (1) 7.3-RELEASE-p2 has 1000baseTX (2) 9.0-PRERELEASE has 1000baseT (3) 7.4-RELEASE-p4 has 1000baseTX So I have switched the cables of (1) and (2) but ifconfig output stays the same, though I would suspect that (1) would become 1000baseT and (2) would become 1000baseTX I have rebooted (2) just to make sure, but still no change in de output of ifconfig Putting (2) on another port of the switch doesn't change ifconfig output either But it's solved! scp now completes with: 100% 338MB 30.7MB/s 00:11 Hmm still it should be able to go up to 120MB/s, but this could a limitation somewhere else Sorry for the noise Disclaimer: http://www.ose.nl/email