delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:content-type:mime-version | |
:content-transfer-encoding:subject:from:to:message-id:date; q= | |
dns; s=default; b=QBNSchhv8znrxTWoQ7CN5d1In606+KLbrolQCsonN01BW5 | |
gsaZQrGfmhTVtdydBcaQaGCWqb3+9rJpFJOf5+zDqLC9M4aijarDzUNQ2XWJ2FTH | |
pitKcuN0y6gVdwaF2T1hS3+StNOkMdZVFXsI6rCvoN+Z3ydw0SQRkoXWVFfLQ= | |
DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:content-type:mime-version | |
:content-transfer-encoding:subject:from:to:message-id:date; s= | |
default; bh=Qkit/mtnUtO371Cflu4OeMCtvf4=; b=xgOyUPncoN6Tn/zSn1N3 | |
EpSpDJecWpPmYTZ5SCi7HTSqTpEHthnrKu77ZIWpwp24VWnqCrqo3jU8pIG62rf6 | |
cEVIU4yHi5sGRHIuCkc2f9vHdUQV4UR2K5J0ZxRpRIhBmkqXZvhRj5dzhpeZLT07 | |
Sbd0t11zkUBZhoheGJnuj8s= | |
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 |
Authentication-Results: | sourceware.org; auth=none |
X-Virus-Found: | No |
X-Spam-SWARE-Status: | No, score=-2.7 required=5.0 tests=AWL,BAYES_50,GIT_PATCH_2,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=HX-Envelope-From:sk:cygwin., Hours, noa, Minutes |
X-HELO: | mail.gishpuppy.com |
MIME-Version: | 1.0 |
Subject: | Cygwin rsync slow with noacl in fstab [GishPuppy] |
From: | cygwin DOT 63zb AT gishpuppy DOT com |
To: | cygwin AT cygwin DOT com |
Message-Id: | <20180126154909.BE6D648DAA@mail.gishpuppy.com> |
Date: | Fri, 26 Jan 2018 15:49:09 +0000 (UTC) |
X-IsSubscribed: | yes |
I have a directory tree on my FreeNAS system that I back up to my work PC remotely using rsync. As is commonly known, cygwin rsync creates all kinds of weird permissions issues when syncing files between POSIX systems and Windows (even when using --no-A and --chmod=ugo=rwX). To solve this issue I edited the cygwin fstab file to contain the noacl directive. The problem is that with noacl in the fstab, rsync takes 231 seconds to process the directory tree with 0 file changes in comparison to 11 seconds without noacl. I tried --no-c and there was no speedup. The actual rsync command in question is: rsync --stats -rltDHzvu --no-c --compress-level=6 "192.168.1.2::foo/bar/" "/cygdrive/Y/foo/bar/" The output of Measure-Command in Windows Powershell is below. Without noacl ----- PS Y:\> Measure-Command {rsync --stats -rltDHzvu --no-c --compress-level=6 "192.168.1.2::foo/bar/" "/cygdrive/Y/foo/bar/"} Days : 0 Hours : 0 Minutes : 0 Seconds : 11 Milliseconds : 179 Ticks : 111794753 TotalDays : 0.000129392075231481 TotalHours : 0.00310540980555556 TotalMinutes : 0.186324588333333 TotalSeconds : 11.1794753 TotalMilliseconds : 11179.4753 With noacl ----- PS Y:\> Measure-Command {rsync --stats -rltDHzvu --no-c --compress-level=6 "192.168.1.2::foo/bar/" "/cygdrive/Y/foo/bar/"} Days : 0 Hours : 0 Minutes : 3 Seconds : 50 Milliseconds : 724 Ticks : 2307248234 TotalDays : 0.00267042619675926 TotalHours : 0.0640902287222222 TotalMinutes : 3.84541372333333 TotalSeconds : 230.7248234 TotalMilliseconds : 230724.8234 Any ideas appreciated. Gishpuppy | To change the delivery settings for this email, click here: http://www.gishpuppy.com/cgi-bin/edit.py?email=cygwin AT cygwin DOT com -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |