public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Cygwin rsync slow with noacl in fstab [GishPuppy]
@ 2018-01-26 15:41 cygwin.63zb
  0 siblings, 0 replies; only message in thread
From: cygwin.63zb @ 2018-01-26 15:41 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-01-26 15:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-26 15:41 Cygwin rsync slow with noacl in fstab [GishPuppy] cygwin.63zb

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).