Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Dec 2007 02:03:55 -0800
From:      Alfred Perlstein <alfred@freebsd.org>
To:        Diomidis Spinellis <dds@FreeBSD.org>
Cc:        cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/tools/regression/bin/mv regress.sh
Message-ID:  <20071218100355.GR16982@elvis.mu.org>
In-Reply-To: <200712180849.lBI8nmEi088947@repoman.freebsd.org>
References:  <200712180849.lBI8nmEi088947@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
* Diomidis Spinellis <dds@FreeBSD.org> [071218 00:48] wrote:
> dds         2007-12-18 08:49:47 UTC
> 
>   FreeBSD src repository
> 
>   Modified files:
>     tools/regression/bin/mv regress.sh 
>   Log:
>   Add more tests.  All rename(2)-based tests now succeed.
>   The performance of the cross-device equivalents is under investigation.

Diomidis,

Does 'mv' spawn off tar or something to do the copy part?

You can _usually_ get much better cross device performance
by hooking two processes together like so:

tar -cf - -C /path/to/source . | tar -xf - -C /path/to/dst 

This will keep the disks a lot busier, but this can make
things worse on cross device moves that happen to be
on the same disk.

-- 
- Alfred Perlstein



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