This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Performance of rm -rf
- From: "Wm. David Bentlage" <slomium+cygwin at gmail dot com>
- To: Cygwin <cygwin at cygwin dot com>
- Date: Tue, 27 Jan 2015 14:22:01 -0600
- Subject: Re: Performance of rm -rf
- Authentication-results: sourceware.org; auth=none
- References: <54C7E5A9 dot 6000802 at obj-sys dot com>
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