Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 May 2005 17:51:56 +0200
From:      Matthias Buelow <mkb@incubus.de>
To:        Michael Schuh <michael.schuh@gmail.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Disk-Performace issue?
Message-ID:  <4280D89C.9060006@incubus.de>
In-Reply-To: <1dbad315050510034688a7fb@mail.gmail.com>
References:  <1dbad315050510034688a7fb@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Michael Schuh schrieb:

> I have tried out following commands to copy:
> tar -cf - . | ( cd <destdir>; tar -xf .) #the fastest and my lovely :-)
> find ./ -type f |cpio -pm <destdir> # half-performace as tar
> rsync -av <sourcedir>/ <destdir>/ # smarter then tar but bad performace
> 
> mv or any other are not testet while i surely run in to the "too many
> Arguments" Problem....

Can you try with pax? (pax -rw ...)  That doesn't involve pushing the 
stuff thru a pipe like with tar.  The cpio version is similar but it 
probably can be sped up a bit if you run the find once before, or feed 
find into a file and redirect input to cpio from that file (so that it 
doesn't have to seek all the time.)

mkb.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4280D89C.9060006>