This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Cygwin rsync slow with noacl in fstab [GishPuppy]


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@cygwin.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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]