delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/11/04/08:00:04

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:date:subject:to:mime-version
:content-transfer-encoding:from:message-id; q=dns; s=default; b=
gH+n7SLmyB+Rgc3EyAjnCJef9S6OAD2NL4UyE1tVhaBmoyjwuf8WJ3YgJ1XbHAMb
gSkQZXlvyqke8wsmBNV8G4SsFNv9y3tHxcY/XQKrB/ZF0cNJVg8Vi7h3qZav81n0
I6xKNIzyxc9jr09v2Ufkfj16iDyA6toRqcKrEbqRots=
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:date:subject:to:mime-version
:content-transfer-encoding:from:message-id; s=default; bh=V6G4z9
6iI2Ggaw+kV5INJqjXOjE=; b=Xe5bqmLhqMAgo3TMATC7nsni3azi5/s+li1F9L
FRrl9ZQAVWNybXVTyyl7QGQjhcrIQVA8UuGdjHWGEjyvAQdFRygBtxhL+WwwStEA
4LybYpkPckzx8yo3/gO/2dR7VleTkNAi+dQy2kmYGWhpp5sgoQA6gpcsBeewa10u
qNJK0=
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-Spam-SWARE-Status: No, score=1.8 required=5.0 tests=BAYES_50,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE autolearn=no version=3.3.2 spammy=H*UA:Opera, H*u:Opera, H*MI:localdomain, H*u:Win32
X-HELO: mailout07.t-online.de
Date: Sun, 04 Nov 2018 13:59:34 +0100
Subject: Local rsync disk to disk slow
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
MIME-Version: 1.0
From: "Michael Lemke" <lemkemch AT t-online DOT de>
Message-ID: <op.zryg1kowaqc5s6@orion.localdomain>
User-Agent: Opera Mail/10.63 (Win32)

I am copying a large directory tree from one internal disk to another USB 3 connected disk on the same computer with this rsync line:

rsync -ahPvzHA --delete /d/Images /q/

This copies files at a rate of 20MB/s. If I copy the same tree with Windows Explorer I get about 90MB/s.

Why is this? The chosen options don't seem to affect the result much.

I noticed three rsync processes one of which is CPU bound at a single core and therefore limiting the performance. This process reads the source files. The other two rsync processes don't consume a noticable amount of CPU time and one of them writes the destination files.

Are there any options to speed up the process? The reason I use rsync is to preserve hard links.

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019