Performance of rm -rf

Wm. David Bentlage
Wed Jan 28 10:18:00 GMT 2015


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:

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.


Problem reports:
Unsubscribe info:

More information about the Cygwin mailing list