large rsync runs stall system perfomance (missing --drop-cache)

Bug #989301 reported by ceg
34
This bug affects 7 people
Affects Status Importance Assigned to Milestone
rsync (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

Please build the package with the --drop-cache patch that is available in the tarball, to avoid filling up the io cache with not re-queried copied data. The current behavior pushes the data of other process out of the cache and thus slows them down.

http://insights.oetiker.ch/linux/fadvise.html

Tags: patch
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in rsync (Ubuntu):
status: New → Confirmed
Revision history for this message
Sergey Tryuber (stryuber) wrote :

As an ugly workaroundt you could use rsync together with nocache (https://github.com/Feh/nocache). Worked for us.

ceg (ceg)
tags: added: patch
description: updated
Revision history for this message
Sergey Tryuber (stryuber) wrote :

rsync + nocache worked only on the side which transfers data, not only receiver side. We eventually had to apply patch (http://insights.oetiker.ch/linux/fadvise.html)

Revision history for this message
Wayne Davison (wayned) wrote :

It can easily work on both sides. e.g.:

nocache rsync -aiv --rsync-path='nocache rsync' /src/ host:/dest/

The --rsync-path option tells the remote side it should also use nocache wrapper.

Revision history for this message
Rolf Leggewie (r0lf) wrote :

This should be pushed upstream. It will then get into Ubuntu automatically.

Changed in rsync (Ubuntu):
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.