[OmniOS-discuss] zfs and small files

Peter Tribble peter.tribble at gmail.com
Wed Nov 13 15:35:34 UTC 2013


On Wed, Nov 13, 2013 at 2:46 PM, Tobias Oetiker <tobi at oetiker.ch> wrote:

> Hi Peter,
>
> Today Peter Tribble wrote:
>
> > On Wed, Nov 13, 2013 at 1:59 PM, Tobias Oetiker <tobi at oetiker.ch> wrote:
> >
> > > We have this customer who loves to put tons of files into single
> > > directories.  The other day he found that removing a directory with
> > > 7k files from raidz2 pool (with ssd log device) took about 10
> > > minutes ...
> > >
> > > is this to be expected, or should this be faster on a properly
> > > configured system ?
> > >
> >
> > That's a tiny number of files. Ought to be essentially instant.
> > I routinely have up to a million files in a directory. That can take
> > a few minutes to delete, but I don't have any SSDs at all on
> > those systems.
> >
> > This isn't being done over NFS, is it? That can dramatically slow
> > operations like this, even with a log.
>
> nope it is local ...
>
> are you running this on raidz2 ?
>

Yes. On old X4540s. Deletion of a directory with 7k files in it
takes about 0.3s

-- 
-Peter Tribble
http://www.petertribble.co.uk/ - http://ptribble.blogspot.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://omniosce.org/ml-archive/attachments/20131113/4896cca9/attachment.html>


More information about the OmniOS-discuss mailing list