rsync sleep

Mag Gam magawake at gmail.com
Sun Jun 6 18:09:22 MDT 2010


I am more concerned with write penalty.  We use netApps, and if there
is a huge write (10gb file) i would like to give the filer to
"recover" before I can start syncing more data.

bandwidth isn't the issue.



On Sun, Jun 6, 2010 at 6:18 PM, Eberhard Moenkeberg <emoenke at gwdg.de> wrote:
> Hi,
>
> On Mon, 7 Jun 2010, Mark Constable wrote:
>>
>> On 2010-06-07, Eberhard Moenkeberg wrote:
>
>>>>> Is it possible to sleep 1 second after each file
>>>>> is rsynced?
>>>>
>>>> If you are concerned about giving the rest of the system
>>>> some time to "breathe" then just nice the rsync process.
>>>>
>>>> nice -n 19 rsync ... etc
>>>
>>> This would not help, regarding i/o.
>>
>> Care to elaborate?
>>
>> It wasn't obvious whether Mag Gam was concerned about
>> bandwidth usage or process usage and seeing that Benjamin
>> already provided the --bwlimit hint I thought I would add
>> a process friendly clue as well.
>
> The real I/O gets done "outside" the rsync process, by the kernel.
>
> SUSE had a tool named ionice earlier (probably it is gone meanwhile) which
> really could delay I/O at the kernel phase.
>
>
> Viele Gruesse
> Eberhard Moenkeberg (emoenke at gwdg.de, em at kki.org)
>
> --
> Eberhard Moenkeberg
> Arbeitsgruppe IT-Infrastruktur
> E-Mail: emoenke at gwdg.de      Tel.: +49 (0)551 201-1551
> -------------------------------------------------------------------------
> Gesellschaft fuer wissenschaftliche Datenverarbeitung mbH Goettingen (GWDG)
> Am Fassberg 11, 37077 Goettingen
> URL:    http://www.gwdg.de             E-Mail: gwdg at gwdg.de
> Tel.:   +49 (0)551 201-1510            Fax:    +49 (0)551 201-2150
> Geschaeftsfuehrer:           Prof. Dr. Bernhard Neumair
> Aufsichtsratsvorsitzender: Dipl.-Kfm. Markus Hoppe
> Sitz der Gesellschaft:     Goettingen
> Registergericht:           Goettingen  Handelsregister-Nr. B 598
> -------------------------------------------------------------------------
> --
> Please use reply-all for most replies to avoid omitting the mailing list.
> To unsubscribe or change options:
> https://lists.samba.org/mailman/listinfo/rsync
> Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
>


More information about the rsync mailing list