Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I having an large amount of data (300GB) in an Linux server. Now, i want to transfer to another Linux server using the rsync over ssh. When i transferring the data it creating huge load in the server. May i know how to avoid the load in the server when transferring huge amount of data over ssh?

share|improve this question
add comment

3 Answers

Use a weaker ssh cipher, (e.g. arcfour) like this:

rsync -av source --rsh="ssh -c arcfour" foo@bar:/destination

There might be even weaker ciphers, but arcfour is my preferred one, since it's not the best trade-off between security and speed (in my case, search for cipher benchmarks, there are many around).
Or don't use ssh at all and run a rsync daemon on the destination server.

share|improve this answer
1  
i found it just refer my answer. thanks for your information –  Mughil Jan 20 '12 at 10:56
add comment
up vote 3 down vote accepted

I found the solution to avoid the load in the server during the file between remote and local server by including ionice and nice command in rsync

ionice - get/set program io scheduling class and priority

nice - run a program with modified scheduling priority

#rsync -r -az --rsync-path="ionice -c 3 nice rsync" -e "ssh -p 8363" username@ip-address:/source-file  /destination
share|improve this answer
1  
You can also renice an already running process. –  cjc Jan 20 '12 at 11:01
add comment

Or, if the load you're concerned with is CPU load and you have modern CPU with AES instructions (though it seems unlikely from your description), you can use Intel Accelerator Engine. There's README inside with info on how to set it up. There also may be some distro-related way how to set it up.

To see if you have 'modern' CPU, use grep aes /proc/cpuinfo.

share|improve this answer
    
i found it just refer my answer. thanks for your information –  Mughil Jan 20 '12 at 10:56
    
well your answer is not really mitigating the load, but rather it's impact on other apps, that's why i suggested this solution. though i'm glad you found what work's for you ;-) –  Fox Jan 20 '12 at 11:33
    
thanks friend, for your information regarding intel accelerator engine . The more load will occur when i execute the rsync .so only i ask how to execute rsync without occurring load –  Mughil Jan 20 '12 at 13:09
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.