X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=BAYES_00,J_CHICKENPOX_43,SPF_PASS X-Spam-Check-By: sourceware.org Message-ID: <49C84D31.3040801@gmail.com> Date: Tue, 24 Mar 2009 11:02:09 +0800 From: KHMan User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: rsync under cygwin too slow References: <49C7E50F DOT 1050804 AT princeton DOT edu> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Alfred von Campe wrote: >> 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. Agree, I mirror stuff locally and to external drives using Cygwin's rsync and sync'ing identical trees is never that slow. Could it be a security program? For example, AVG 8 Free checks for malware by default, IIRC, and the speed impact is really noticeable, even on a basic dual core. I turned off that feature after less than 5 minutes. -- Cheers, Kein-Hong Man (esq.) Kuala Lumpur, Malaysia -- 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/