X-Spam-Check-By: sourceware.org In-Reply-To: <003501c64a2e$3dede630$f4598350@HAUPTPC> References: <003501c64a2e$3dede630$f4598350 AT HAUPTPC> Mime-Version: 1.0 (Apple Message framework v746.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <629E58EE-B71A-4DF8-8DE1-2BA1FAF576EF@sbcglobal.net> Cc: Content-Transfer-Encoding: 7bit From: Kevin K Subject: Re: sshd and scp/sftp: slow throughput on windows machines Date: Sat, 18 Mar 2006 16:10:39 -0600 To: Max Stein X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Mar 17, 2006, at 7:49 PM, Max Stein wrote: > Unfortunately, the performance of the cygwin sshd server is very > poor when it comes to copying large files. I have made this > observation on several new and fast machines (3 GHz, 512 MB RAM, > 100 MB/s Intel Pro network card) running with Windows XP or Windows > 2003 Server. The best speed achievable was about 4 MB/s when > copying a file from the SSH client to the SSH server; when doing it > the other way round, the throughput was even worse, about 2.3 MB/s. > I tried it on three different machines running the newest version > of cygwin's sshd und scp/sftp. The results were approximately the > same. > Neither the client's nor the server's processor was really busy. > The CPU usage oscillated around 30-40%. > > Setting up the same scenario on linux yielded a completely > different picture. Using the Knoppix disc 4.0.2 on the client and > the server machine I easily achieved a throughput of 10.8 MB/ in > both directions (pushing a file to the server or downloading a file > from it). > > What could be done to improve the performance of cygwin's SSH > server? There were already some older posts dealing with the same > problem but nobody had really a constructive idea or proposal. > > > Max Stein For what it is worth, I've also noticed his using the Putty tools, including Putty's scp client. At first I thought it had to do with my wifi connection, but even when both computers were connected directly to a switch together, it was much slower than I would have expected. The numbers you quoted above are in the ballpark of what I've measured with Cygwin's clients. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/