[Discuss] rsync question
Andrew M. B. Boktor
andrew.botros at gmail.com
Wed Jul 29 08:19:19 PDT 2015
While rsync is doing its thing, open htop and take a look at what's
happening.
rsync will often do a lot of hashing on a partially transferred file (the
hashing happens on both server and client) in order to figure out if the
already transferred portion is not corrupt.
Also the -z option tells rsync to compress before transfer.
Both compression and hashing will hog your CPU. Hashing will hog your disk
too.
Andrew
On Tue, Jul 28, 2015 at 11:04 PM, John Blomfield <jabfield at shaw.ca> wrote:
> I have a theory about an issue that I suspect is caused by rsync. As part
> of my backup procedure I sometimes have a large 45GB file to rsync from my
> computer hard drive to a backup USB hard drive. I have noticed that this
> grabs about 80% of the CPU and prevents viewing videos on the computer and
> streaming them over my network. When this happens I have abort the rsync
> process but I still can't view videos. My theory is that rsync is caching
> the partly transferred 45GB file and this is the same cache storage space
> used by the video as a buffer. That is there is not enough buffer left for
> the vidoe. I also notice that when rsync is restarted even after a reboot
> it quickly gets back to where it was when it was aborted. Usually the
> problem clears up after a couple of reboots. Is this theory correct or is
> this all coincidence?
>
>
> John
>
> --
> John Blomfield
> Delivered by Thunderbird Email on Linux OpenSuse-KDE4
>
>
>
> _______________________________________________
> Discuss mailing list
> Discuss at vlug.org
> http://lists.vlug.org/mailman/listinfo/discuss
>
--
Andrew Boktor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://vlug.org/pipermail/discuss_vlug.org/attachments/20150729/13f5ab13/attachment.html>
More information about the Discuss
mailing list