<div dir="ltr">On Wed, Nov 13, 2013 at 1:59 PM, Tobias Oetiker <span dir="ltr"><<a href="mailto:tobi@oetiker.ch" target="_blank">tobi@oetiker.ch</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">We have this customer who loves to put tons of files into single<br>
directories.  The other day he found that removing a directory with<br>
7k files from raidz2 pool (with ssd log device) took about 10<br>
minutes ...<br>
<br>
is this to be expected, or should this be faster on a properly<br>
configured system ?<br></blockquote><div><br></div><div>That's a tiny number of files. Ought to be essentially instant.<br>I routinely have up to a million files in a directory. That can take<br>a few minutes to delete, but I don't have any SSDs at all on<br>
those systems.<br><br></div><div>This isn't being done over NFS, is it? That can dramatically slow<br></div><div>operations like this, even with a log.<br></div></div><br>-- <br>-Peter Tribble<br><a href="http://www.petertribble.co.uk/">http://www.petertribble.co.uk/</a> - <a href="http://ptribble.blogspot.com/">http://ptribble.blogspot.com/</a>
</div></div>