<div dir="ltr"><div><div><div><div>While rsync is doing its thing, open htop and take a look at what's happening.<br></div>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.<br></div>Also the -z option tells rsync to compress before transfer.<br></div>Both compression and hashing will hog your CPU. Hashing will hog your disk too.<br><br></div>Andrew<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jul 28, 2015 at 11:04 PM, John Blomfield <span dir="ltr"><<a href="mailto:jabfield@shaw.ca" target="_blank">jabfield@shaw.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">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?<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
John<br>
<br>
-- <br>
John Blomfield<br>
Delivered by Thunderbird Email on Linux OpenSuse-KDE4<br>
<br>
<br>
<br>
_______________________________________________<br>
Discuss mailing list<br>
<a href="mailto:Discuss@vlug.org" target="_blank">Discuss@vlug.org</a><br>
<a href="http://lists.vlug.org/mailman/listinfo/discuss" rel="noreferrer" target="_blank">http://lists.vlug.org/mailman/listinfo/discuss</a><br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature">Andrew Boktor<br></div>
</div>