delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/10/05/12:21:31

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Wed, 5 Oct 2011 18:20:43 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Performance issue in SFTP , CygWin Server
Message-ID: <20111005162043.GA7915@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <32595286 DOT post AT talk DOT nabble DOT com>
MIME-Version: 1.0
In-Reply-To: <32595286.post@talk.nabble.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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 Oct  5 06:41, BhavyaMadiri wrote:
> 
> Our application downloads files from various source systems to our server. We
> have Red Hat Enterprise Linux (RHEL) 5.5 with Advanced Platform version on
> our server. Windows sources system (SRC1) , has Windows Server 2003 on their
> server that hosts Cygwin. They recently moved from FTP to SFTP. They are
> using Cygwin to support SFTP on Windows. The Cygwin setup version is 2.738. 
> 
> During sFTP load testing with SRC1, we encountered significant performance
> issue. Transferring 120K files of total size 58GB takes 4.5 hours using FTP
> but it takes 28 hours using SFTP. 

I'd always expect some performance hit when using sftp compared to ftp,
in the order of 8 to 12 hours in your scenario, but 28 hours sounds a lot
compared to 4.5 hours.

What network connection do you have from your client to SRC1?  Gigabit
ethernet?

Are the 58 Gigs files located on a local disk, or are they on a remote
fileserver?  If remote, what server and what underlying protocol, SMB or
NFS?

> We have not encountered any performance problems with downloading files
> (same number and size ) from unix/linux systems using SFTP. 
> 
> We suspect this performance issue to be related to Cygwin. 

Unfortunately we don't know your Cygwin you're using on SRC1.  Please
send a cygcheck -svr output as per http://cygwin.com/problems.html
Did you try a recent Cygwin snapshot from http://cygwin.com/snapshots/ ?


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019