From owner-freebsd-questions@FreeBSD.ORG Wed Feb 10 03:35:55 2010 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 AD728106566C for ; Wed, 10 Feb 2010 03:35:55 +0000 (UTC) (envelope-from mahlerrd@yahoo.com) Received: from web51007.mail.re2.yahoo.com (web51007.mail.re2.yahoo.com [206.190.38.138]) by mx1.freebsd.org (Postfix) with SMTP id 4BC858FC14 for ; Wed, 10 Feb 2010 03:35:55 +0000 (UTC) Received: (qmail 1661 invoked by uid 60001); 10 Feb 2010 03:35:54 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1265772954; bh=5p8kS4ZNSG6tePOSWCug6q73ZhY+2c6lX2buSITc8aU=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=JC3UJeFnP3j6q06/Qu88P6VDg+1Il4agmahYp57uNFPhYuG8USyl9oJQZ7rf4Tf6O8IKPlR5XyR2xLvO/ruXwk+YXo492+h+5DH6u+52uJFdHpAzS+ia/fXzljUQejtXPX53fZP0YgoYV4IIjsNGGSUaSJHmhZK98D6vLtanJHA= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=QkESYCtmb5jIC+CATJu+l1c162W60oRcRN+ArZvS0uGFkqj6LAaaxQk7yp63+NSVk1u+gAAhHEgU5vCbfgpUGcSTxCJHY7ex9uycRZhATpOlHFxoje0jU8pqV0+RyNUxOKLGK//9Zw0dWQIwepaKCOXbn+b0ir2eFDsZf095HXY=; Message-ID: <8356.477.qm@web51007.mail.re2.yahoo.com> X-YMail-OSG: LdS.gHwVM1lVIaQZnlx4gVVx4qI1NrA5RvJms1rC_HWpx8ZI.vbKSBYoSdSbWd6nMre9eEONl9X4INpeJCFMKvBEO4pDgnJYT6b2RY5Zw2gTvHEm3UiA73Zkmu3X5GPlgUAetIhWB3Lo_sVmby9EuhTdMGs4xs_CvRgbe1Ds8rZzbbqxYWxE9JxCNXeL1l.HmExCkIEJ2B90XkCqaA9aOvEGsGlWUhQFAZ59LcKVIQ35KNRENvJgVoN4fk5I87wP_1FuNjofIxGz_8v7jg2rgSnnM93xFmHyT48aQ8Dce6guvpmPUk_nUYHdmdr9kTZiQm1KgJBGSY_NmBsmLX0xYfOWfgxbfRGVlqWyJ1NTGpCImOd4dhAZ.mlv1G4- Received: from [208.95.208.226] by web51007.mail.re2.yahoo.com via HTTP; Tue, 09 Feb 2010 19:35:53 PST X-Mailer: YahooMailRC/272.7 YahooMailWebService/0.8.100.260964 References: <20100209231601.GF41851@mech-cluster241.men.bris.ac.uk> <4B71EEC0.1030201@unsane.co.uk> <20100209233825.GG41851@mech-cluster241.men.bris.ac.uk> Date: Tue, 9 Feb 2010 19:35:53 -0800 (PST) From: Richard Mahlerwein To: Anton Shterenlikht , Vincent Hoffman In-Reply-To: <20100209233825.GG41851@mech-cluster241.men.bris.ac.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: sftp from home wireless box to work - get is much faster that put X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Richard Mahlerwein List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Feb 2010 03:35:55 -0000 >From: Anton Shterenlikht >To: Vincent Hoffman >Cc: freebsd-questions@freebsd.org >Sent: Tue, February 9, 2010 5:38:25 PM >Subject: Re: sftp from home wireless box to work - get is much faster that put > >On Tue, Feb 09, 2010 at 11:24:48PM +0000, Vincent Hoffman wrote: >> On 09/02/2010 23:16, Anton Shterenlikht wrote: >> > I was trying to measure the file transfer >> > rates between my home and my office boxes. >> > Both are 9.0-current. [snip] >> > At home I've wireless, TL-WN851N, using ath(4) driver. [snip] >> > I used sftp(1), which I launch from the home box. >> > So putting (sending) a file is about 5-17 times faster >> > than getting (receiving) it. >> > >> > What is the reason behind this? >> Just a thought, Since you are in the uk, do you have ADSL at home? If so >> the upload on ADSL is much lower than the download. > >yes, probably. It's a Virgin broadband. I guess it's ADSL. >Anyway, that's just what I wanted to hear. > >many thanks >anton Isn't that the wrong way around? Put some numbers to it and you'll see. Pretend a 5Mb download and 1 Mb upload at home. To a faster-than-you location, you would download at 5Mb, upload at 1Mb. NOT the other way around as the OP mentions. Now, if your upload was slower, as is mine, a 5 to 1 speed ratio the other way isn't a stretch at all. Here's mine (inexpensive 1 Mb/384Kb ADSL at home to 45 Mb symmetric fiber at work) sftp> put output.txt Uploading output.txt to /output.txt output.txt 100% 12MB 38.8KB/s 05:15 sftp> get output.txt output.txt2 Fetching /output.txt to output.txt2 /output.txt 100% 12MB 102.7KB/s 01:59 sftp> 38KB/s up, 102 KB/s down. 3 to 1. Some cable modems do larger asymmetries, like 5 Mb/256 Kb, and that could give you a ratio like that, but only if the work was on a connection like that and you were on something more symmetric. 17:1 is a bit hard to fathom. That's some serious asymmetry on the work end.