From owner-cvs-src@FreeBSD.ORG Tue Dec 18 10:05:07 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C985916A41B; Tue, 18 Dec 2007 10:05:07 +0000 (UTC) (envelope-from bright@elvis.mu.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id AA85B13C4DD; Tue, 18 Dec 2007 10:05:07 +0000 (UTC) (envelope-from bright@elvis.mu.org) Received: by elvis.mu.org (Postfix, from userid 1192) id 0F5471A4D83; Tue, 18 Dec 2007 02:03:55 -0800 (PST) Date: Tue, 18 Dec 2007 02:03:55 -0800 From: Alfred Perlstein To: Diomidis Spinellis Message-ID: <20071218100355.GR16982@elvis.mu.org> References: <200712180849.lBI8nmEi088947@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200712180849.lBI8nmEi088947@repoman.freebsd.org> User-Agent: Mutt/1.4.2.3i Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/tools/regression/bin/mv regress.sh X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Dec 2007 10:05:07 -0000 * Diomidis Spinellis [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