[kwlug-disc] rsync causing processor spike

Chris Craig kwlug.org at ciotog.net
Fri Dec 6 15:45:25 EST 2013


I wouldn't classify the rolling checksum used by rsync to be
computationally expensive...

On 6 December 2013 14:24, Paul Nijjar <paul_nijjar at yahoo.ca> wrote:
>
> Rsync is computationally expensive if it thinks that it is sending
> files remotely (because then it computes rolling checksums on all the
> files, transfering only those parts that have changed).
>
> I do not think that you are in that situation. However, you might try
> the --whole-file (-W) option, which will transfer whole files without
> computing checksums. This will probably be slower, but it might be
> more lightweight.
>
> If you are spiking the processor, then why is ionice the right tool to
> use and not plain old nice?
>
> - Paul
>
> On Fri, Dec 06, 2013 at 11:43:47AM -0500, Joe Wennechuk wrote:
>> I am trying to rsync to an external drive on a running system; however, it is causing the processor to spike and bring down the webserver.
>> I tried#> ionice -c3 -n19 rsync -vhr /dir/* /external/backup/
>> but it still spikes the processor?
>
>> _______________________________________________
>> kwlug-disc mailing list
>> kwlug-disc at kwlug.org
>> http://kwlug.org/mailman/listinfo/kwlug-disc_kwlug.org
>
>
> --
> http://pnijjar.freeshell.org
>
>
> _______________________________________________
> kwlug-disc mailing list
> kwlug-disc at kwlug.org
> http://kwlug.org/mailman/listinfo/kwlug-disc_kwlug.org





More information about the kwlug-disc mailing list