[mythtv-users] Single partition or whole disk

Nick Rout nick.rout at gmail.com
Tue Jul 3 10:11:19 UTC 2012


On Tue, Jul 3, 2012 at 8:37 PM,  <f-myth-users at media.mit.edu> wrote:
> Btw, I've noticed that, when copying from a large local disk to
> another empty directory (e.g., when rsync is doing nothing but copying
> blocks), I often get much better performance by using "cp -a" instead.
> rsync doesn't seem nearly as efficient when the job is just "copy
> absolutely everything"; it uses significantly more CPU than cp, even
> though "just copy the file" should be the same amount of work in
> either.  I conclude that a lot more time was spent optimizing cp for
> its one task in life.
>
> Of course, after that initial copy, rsync will be much faster, because
> it will only be copying new files or new pieces of files.  And I often
> do "cp -a" and then follow up with an rsync just in case I've missed
> something somehow; if there's nothing to do, it will be almost instant.

rsync does a lot of checks along the way, that's it's point. cp is
comparatively simplistic

Nevertheless I like rsync -avPp as it gives progress info.


More information about the mythtv-users mailing list