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]

Slow rsync


Recently, my cygwin programs have been slowing down, way
down. Hardware is unchanged. My network environment has changed,
but I am trying to concentrate on an rsync execution that does not
use networking. The rsync operation used to complete in less than an
hour. Now it takes longer than 12 hours. I don't have the patience
to wait for it to complete. During execution, CPU usage is less than
5%. Rates of I/O as reported by Windows Task Manager are very low.

I execute these commands from a bash script:

    export PATH='/bin:/usr/bin:/usr/local/bin:${HOME}/bin:${HOME}/pub/bin'
    arena='/cygdrive/c/users/darnstein/Wongo'
    repo='repo.2'
    cd /cygdrive/c || exit
    rsync -i -a -R --delete --delete-excluded --force \
            'cygpac' \
            'cygwin64/.config' \
            'cygwin64/bin' \
            'cygwin64/etc' \
            'cygwin64/lib' \
            'cygwin64/sbin' \
            'cygwin64/usr' \
            'cygwin64/var' \
            'cygwin64/Cygwin.bat' \
            'cygwin64/Cygwin.ico' \
            'cygwin64/Cygwin-Terminal.ico' \
            "${arena}/${repo}"

In more detail:

The bash shell executes in a mintty box. The above shell script lives in
${HOME}/abnnnnnn.

/etc/nsswitch.conf has this only:
    passwd:   files db
    group:    files db

/etc/fstab has this only:
    C:/TEMP /tmp some_fs binary 0 0
    W: /projects/bse_refsw_sanjose some_fs posix=0,binary,notexec 0 0
    S: /projects/bse_refsw_scratch some_fs posix=0,binary,notexec 0 0
    none /cygdrive cygdrive notexec,binary,posix=0,user 0 0

/etc/passwd has this only:

abnnnnnn:*:1150387:1049089:U-BIGCOMP\abnnnnnn,S-1-5-21-1809887368-26462515
70-4199628040-101811:/home/abnnnnnn:/bin/bash

The computer is in an active directory system, but I am trying to
shield rsync from that. The above rsync command has both inputs
and outputs on C:, the main spinning disk on the peecee.

Output from "cygcheck -s -v -r" is attached.

Another operation that is very slow is opening a file in vim.

Is there any other info that might be relevant? Anything I can try
to fix the problem?

Attachment: cygcheck.out
Description: Binary data

--
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]