On Thu, May 12, 2011 at 9:48 AM, Matt Oates (Home) <[email protected]> wrote: > Hi Guerrier, > > On 11 May 2011 23:37, guerrier <[email protected]> wrote: >> Hello >> Can one use parallel to speed up rsync -avz dir1 dir2 ? How would one >> phrase that? > > Is parallel a great idea here?
That's my real question. I have a failing hdd, from which i would like to move as much data as possible as fast possible. > If dir1 and dir2 local to a single file system then parallel will not > speed anything up, if anything it will slow it down causing lots of > context switches waiting on IO, you can just take out the z option too > as that will be gaining you nothing and wasting a fair amount of CPU > time. If it's a remote directory you kind of have the same problem as > your network will be the bottle neck this time, but parallel could > really speed up the compression/decompression step for this at each > end. > > Matt. > Thanks, guerrier
