delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
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 |
To: | cygwin AT cygwin DOT com |
From: | Thorsten Kampe <thorsten AT thorstenkampe DOT de> |
Subject: | Re: rsync very slow, but not a network issue |
Date: | Tue, 13 Jul 2004 13:30:45 +0200 |
Lines: | 29 |
Message-ID: | <x567asez68wb.dlg@thorstenkampe.de> |
References: | <40F2CE78 DOT 7030109 AT alexisgallagher DOT com> |
Mime-Version: | 1.0 |
X-Complaints-To: | usenet AT sea DOT gmane DOT org |
X-Gmane-NNTP-Posting-Host: | isi-dial-142-106.isionline-dialin.de |
User-Agent: | 40tude_Dialog/2.0.12.1de |
* Alexis Gallagher (2004-07-12 19:46 +0200) > I am finding that rsync+ssh is giving extremely slow file transfers. But > this slowdown is hitting not when it needs to send data over the > network, but when it applies the rsync algorithm which is supposed to be > faster than sending all the data over the network. This is very puzzling. > > For a benchmark, I tried transfering a 5.4 MB mp3 file three different > ways. Here were my results, as reported by 'scp -v' and 'rsync > --progress --stats': > > scp: 311000 B/s > rsync (file not there): 309000 B/s > rsync (file already there): 741 B/s > > When the file is alredy there, rsync reports a speedup of about 70. > (When the file is not already there, the speed up is 1, of course.) I am > running rsync over ssh with pre-generated keys installed in my .ssh > directories. rsync under Cygwin is extremly slow and CPU intensive. For example a simple script that syncs my dot files from my local NetWare server takes 1:10 minutes to run and eats about 60% CPU while on my Gentoo box (which has exactly the same hardware) it takes 7 seconds and 2% CPU. Try disabling checksumming, zipping and transfer the whole file ('-W'). Try it without ssh. Thorsten -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |