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:mime-version:in-reply-to:references:from:date
	:message-id:subject:to:content-type; q=dns; s=default; b=atHy25n
	JnjNsr1nyJuZIHxO9DyiBI+ejcN/AsmSQdlbsBMbhDV8Xalyua2i0qCdPxtw1RCD
	s89Qu9vAQjfa0nDI51J+GNtrKzOu8xdciaYxb7l2RpDIB5W3ca7vf8aFEfoVv8U/
	pTYpXMKyC0bpbzbxX971yxvmepsyMddpAYt8=
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:mime-version:in-reply-to:references:from:date
	:message-id:subject:to:content-type; s=default; bh=SHTXIbA6agKb0
	WBNiT/q5KogrDE=; b=iTWc7g2vlsrCGdkA2KkpCBVVGoGxvS+3Qa3bVdkOUOIsH
	DSCmKiFqFZOdhm3HDQ2FsdRSIkUBj4KgdSORtqRxEFpQ50Hrg3ksvzpsD9JRZ7cl
	Cz1I/IJ7BXn4PgI6A5vtFRyFdKnQ7hlTZW4zoRSmCDWwe4azmJ9Fxp6IdL28ac=
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=-0.7 required=5.0 tests=AWL,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-ig0-f169.google.com
X-Received: by 10.107.6.135 with SMTP id f7mr1507216ioi.2.1422390142499; Tue, 27 Jan 2015 12:22:22 -0800 (PST)
MIME-Version: 1.0
In-Reply-To: <54C7E5A9.6000802@obj-sys.com>
References: <54C7E5A9 DOT 6000802 AT obj-sys DOT com>
From: "Wm. David Bentlage" <slomium+cygwin AT gmail DOT com>
Date: Tue, 27 Jan 2015 14:22:01 -0600
Message-ID: <CAJyLC6vrw67wCiXxS=BfHVOjSQk=vVF=QMk_3i2281LL=58JeQ@mail.gmail.com>
Subject: Re: Performance of rm -rf
To: Cygwin <cygwin AT cygwin DOT com>
Content-Type: text/plain; charset=UTF-8
X-IsSubscribed: yes

Doug,

On Tue, Jan 27, 2015 at 1:23 PM, Douglas Coup wrote:

> For example, deleting a 1.79 Gb directory tree with the DOS rmdir /s command takes less than 1 minute.  The same deletion
> with the Cygwin rm -rf command takes 16 minutes.

I've noticed something similar -- that the DOS copy command is much
faster than the Cygwin cp command.  It was only around a factor of 2
difference though.  See the following:

https://www.cygwin.com/ml/cygwin/2013-09/msg00389.html

Maybe the two issues are related?

My impression is that cp, ls, and rm are all significantly slower than
their Windows equivalents.  I don't have the ability to fix these
myself but would definitely appreciate performance improvements as I
have many Tb of data that I'm working with.

Thanks,
Dave

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