Nice und IO-Nice mit rsync

Eine sehr gute übersichtliche Antwort und Übersicht für rsync und nice Optionen.

Siehe Original: Nice rsync on remote machine – Philippe Gachoud

Taking the –rsyncpath option you have rsync –rsync-path=“ionice -c 3 nice -n 12 rsync“ localDirectory remoteHost:/tmp/
Taking the configuration file option you can change or uncomment in file /etc/default/rsync the RSYNC_NICE=’17‘ value and the RSYNC_IONICE=‘-c3′ value
For both the ionice value will be for hard disc priority

1 -> Real time
2 -> Best effort
3 -> Ildle (when any other process is not using the HD)
for nice value for processor priority

-20 (most favorable to the process)
(default 10) if -n is not specified
19 (least favorable to the process)


rsync -a --delete --rsync-path="ionice -c 3 nice -n 12 rsync" empty/ tmp_voll/