Performance of rm -rf

Wm. David Bentlage slomium+cygwin@gmail.com
Wed Jan 28 10:18:00 GMT 2015


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



More information about the Cygwin mailing list