On Thu, Aug 24, 2006 at 01:15:51PM -0500, Nicolas Williams wrote:
> I just tried creating 150,000 directories in a ZFS roto directory.  It
> was speedy.  Listing individual directories (lookup) is fast.

Glad to hear that it's working well for you!

> Listing the large directory isn't, but that turns out to be either
> terminal I/O or collation in a UTF-8 locale (which is what I use; a
> simple DTrace script showed that to be my problem):
> 
> % ptime ls
> ...
> 
> real        9.850
> user        6.263   <- ouch, UTF-8 hurts
> sys         0.245

Yep, beware of using 'ls' on large directories!  See also:

6299769 'ls' memory usage is excessive
6299767 'ls -f' should not buffer output

--matt
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to