On Wed, 1 Oct 2008, Nathan Kroenert wrote:
> zillion I/O's you need to deal with each time you list the entire directory.
>
> an ls -1rt on a directory with about 1.2 million files with names like
> afile1202899 takes minutes to complete on my box, and we see 'ls' get to
> in excess of 700MB rss... (and that's not including the memory zfs is
> using to cache whatever it can.)

A million files in ZFS is no big deal:

% ptime ls -1rt > /dev/null

real       17.277
user        8.992
sys         8.231

% ptime ls -1rt | wc -l

real       17.045
user        8.607
sys         8.413
1000000

Maybe the problem is that you need to increase your screen's scroll 
rate. :-)

Bob
======================================
Bob Friesenhahn
[EMAIL PROTECTED], http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/

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

Reply via email to