does scp affect performance
I am using scp to copy a file from remote server to local and it is working as expected.
scp remote_server.com:/data/ar_uw2a_vol_0286036c_2012-04-24-05-35-00 .
I have 2 questions:
1) Since I am copying file from production server, I do not want to affect the performance if scp takes time. Does this operation affect the performance of remote server?
2) Is there any better / faster way to copy a file? The file is already going to be different (name based on current date and time)
Since I am copying file from production server, I do not want to
affect the performance if scp takes time. Does this operation affect
the performance of remote server?
Define “performance.” If we’re talking CPU performance, then SCP is going to cost you the price of encrypting with 128-bit AES (I believe that’s the default for SSH2, but can’t find a reference right now).
If you’re talking bandwidth performance, then it will cost you the overhead of your encryption algorithm and strength.
If you’re talking throughput performance, then you’ll have to rate limit to your needs using either limit in SCP (as David Schwartz mentions in his comment above) or an different tool like perhaps pv.
Is there any better / faster way to copy a file? The file is already
going to be different (name based on current date and time)
Define “better” and “faster”. Define them very carefully. If you’re saturating your CPU (very unlikely) there are different options than if you are saturating your bandwidth. Both involve rate limiting, however, and are fairly straightforward.
Check more discussion of this question.
Related posts:
Leave a comment
Recent Posts
- Understanding redundant power supplies
- Is there a way for administrators to disable users from installing Firefox extensions?
- Is there research material on NTP accuracy available?
- How to create a limited “domain admin” that does not have access to domain controllers?
- Can Windows RDC admin users be immune from being kicked?





