From owner-freebsd-questions@FreeBSD.ORG Mon Feb 20 08:00:25 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EAD3116A420 for ; Mon, 20 Feb 2006 08:00:25 +0000 (GMT) (envelope-from infofarmer@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id 74B0443D45 for ; Mon, 20 Feb 2006 08:00:25 +0000 (GMT) (envelope-from infofarmer@gmail.com) Received: by zproxy.gmail.com with SMTP id 8so827093nzo for ; Mon, 20 Feb 2006 00:00:24 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ijHKqivTt6M4FZbHcbcT6SXpAIoLaVG6W174kCIOfutCOh2yZdDIzvrqhjBqZzfHkf9T0+Zo5Ks9p22wkqLJb8quZbtn0mLD+P000TqHcoe4OpZcKB8/Vr5PRz52faeVSIDaLgMxk+BtZXrYAo9tRX2yR5ZzVwXfWhUMuJ4kRmU= Received: by 10.36.227.24 with SMTP id z24mr5269259nzg; Mon, 20 Feb 2006 00:00:24 -0800 (PST) Received: by 10.37.20.11 with HTTP; Mon, 20 Feb 2006 00:00:24 -0800 (PST) Message-ID: Date: Mon, 20 Feb 2006 11:00:24 +0300 From: "Andrew Pantyukhin" To: "Xn Nooby" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: Cc: freebsd-questions@freebsd.org Subject: Re: WinSCP mega-slowness 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: Mon, 20 Feb 2006 08:00:26 -0000 On 2/20/06, Xn Nooby wrote: > For about a year I have noticed that whenever my Windows boxes talk to my > Unix boxes, they communicate at about 1/10 normal speed. I copy lots (300= GB) > of large files back and forth between machines as I try different OS's, a= nd > I always see this. > > Specifically, if I copy from FreeBSD to FreeBSD, files transfer at 11 meg= s > per second. Between FreeBSD and Linux, at about 8 megs per second. Betw= een > FreeBSD and Windows, about 1 megabyte per second. This is on identical > hardware. I've told other people about this, and they usually say I must= be > doing something wrong, but recently a friend of mine upgraded a Windows b= ox > to SP2, and now they are getting this same slowness. When I copy from > Windows to WIndows (XP or W2k), I get 11 megs per second. > > My machines are two P4's with gigabit NICs, and I'm using WinSCP and > (somtimes) pscp.exe on WIndows to talk to sshd on FreeBSD. It's always a > shock when I have to copy my data to WIndows, and it takes 30 hours inste= ad > of 3. > > Does anyone else ever see this slowness when copying files between FreeBS= D > and Windows? > > Is Windows maybe capping the transfer speed when it talks to Unix? > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" > It is very certainly a known issue. Not that its specifics and origins are clearly known, but most of us stumble upon it sooner or later. You can usually achieve wire speed only between two OSes of a kind. TCP/IP optimizations are very important here: if they differ, performance plummets. Depends on a multitude of things from quality of NICs to weather in your area. I've never been able to get more than 70Mbit/s between FreeBSD and Windows XP. I always get 90-100Mbit/s between two BSDs or two Win's. As for your case, 1MB/s is a serious limit. What can you tell us about CPU load? Interrupts? Can you try this: http://www.psc.edu/networking/projects/hpn-ssh/