[Bug 9560] New: drop-cache option

samba-bugs at samba.org samba-bugs at samba.org
Sun Jan 13 09:59:14 MST 2013


           Summary: drop-cache option
           Product: rsync
           Version: 3.0.9
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P5
         Component: core
        AssignedTo: wayned at samba.org
        ReportedBy: colundrum at gmail.com
         QAContact: rsync-qa at samba.org


Please integrate --drop-cache option in your upstream.
It should allow to avoid filling up the io cache with the copied data.

The current behavior pushes the cached data of other process out of the memory 
and slows down the system as the ram gets filled up.

For exemple, I use rsync without this patch, rsync use 7GB of ram and when it's
finished, cache ram is always used.

When I use rsync with this patch, rsync use 7GB of ram but when it's finished,
cache ram is removed and avoid an unnecessary swap.


Website of the patch : http://insights.oetiker.ch/linux/fadvise/
Patch file : http://tobi.oetiker.ch/patches/rsync-3.0.9-2-fadvise.patch

Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the rsync mailing list