delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/03/23/14:38:06

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.1 required=5.0 tests=AWL,BAYES_50
X-Spam-Check-By: sourceware.org
Message-ID: <49C7E50F.1050804@princeton.edu>
Date: Mon, 23 Mar 2009 15:37:51 -0400
From: Vinod Gupta <vinod AT Princeton DOT EDU>
User-Agent: Thunderbird 1.5.0.12 (X11/20090107)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: rsync under cygwin too slow
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

Further to my earlier thread (Re: ls -lR too slow) which seems to have 
died, I tried backing up my laptop to smbshared folder on desktop using 
rsync. Both machines are running Vista+SP1 and on gigabit LAN sitting 
next to each other. The following statistics displayed by rsync is 
completely misleading:

rsync -rtuplg --stats --verbose --progress --modify-window=2 
/cygdrive/c/localfolder /cygdrive/z/backups/
...
...
Number of files: 24518
Number of files transferred: 0
Total file size: 5805610746 bytes
Total transferred file size: 0 bytes
Literal data: 0 bytes
Matched data: 0 bytes
File list size: 497277
File list generation time: 188.978 seconds
File list transfer time: 0.000 seconds
Total bytes sent: 644377
Total bytes received: 147104

sent 644377 bytes  received 147104 bytes  454.22 bytes/sec
total size is 5805610746  speedup is 7335.12


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.

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

Vinod


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