www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/03/23/15:02:42

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW
X-Spam-Check-By: sourceware.org
In-Reply-To: <49C7E50F.1050804@princeton.edu>
References: <49C7E50F DOT 1050804 AT princeton DOT edu>
Mime-Version: 1.0 (Apple Message framework v753.1)
Message-Id: <DE0B8EAC-9D86-4B7B-89F7-C64897AB7C05@von-campe.com>
Cc: cygwin AT cygwin DOT com
From: Alfred von Campe <alfred AT von-campe DOT com>
Subject: Re: rsync under cygwin too slow
Date: Mon, 23 Mar 2009 16:02:24 -0400
To: Vinod Gupta <vinod AT Princeton DOT EDU>
X-IsSubscribed: yes
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

> rsync -rtuplg --stats --verbose --progress --modify-window=2 / 
> cygdrive/c/localfolder /cygdrive/z/backups/
> ...
> ...
> The local and remote folders were already synchronized, that is why  
> 0 files were transferred. File list generation did take only 3  
> minutes but the whole process took more than 1.5 hours to finish  
> and consumed a whopping 1.9 GB of downloaded bytes and 0.4 GB of  
> uploaded bytes as per network counters. For what? Zero files, Zero  
> bytes of file data.

I'm pretty sure this is because rsync has to copy all the files  
locally to compare them to see if they need to be copied.  Try  
running the rsync as a service on the system that hosts the Z: drive  
(or run rsync over ssh to the system that hosts the Z drive) and you  
will see large performance improvement.

> As far as I can see, rsync under cygwin is also too slow to be useful.

This has nothing to do with Cygwin or rsync.  If you ran ROBOCOPY  
under Windows using the same setup you would see the same performance  
penalty.

Alfred


--
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/

- Raw text -


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