Bob Friesenhahn schrieb:
> On my drive array (capable of 260MB/second single-process writes and 
> 450MB/second single-process reads) 'zfs iostat' reports a read rate of 
> about 59MB/second and a write rate of about 59MB/second when executing 
> 'cp -r' on a directory containing thousands of 8MB files.  This seems 
> very similar to the performance you are seeing.
> 
> The system indicators (other than disk I/O) are almost flatlined at 
> zero while the copy is going on.
> 
> It seems that a multi-threaded 'cp' could be much faster.
> 
> With GNU xargs, find, and cpio, I think that it is possible to cobble 
> together a much faster copy since GNU xargs supports --max-procs and 
> --max-args arguments to allow executing commands concurrently with 
> different sets of files.
> 
> Bob


That's the reason I wrote a binary patch (preloadable shared object) for
cp, tar, and friends. You might want to take a look at it...
Here: http://www.maier-komor.de/mtwrite.html

- Thomas

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

Reply via email to