Solved

Does scp impede server prformance?

Posted on 2011-09-23
8
377 Views
Last Modified: 2012-05-12
Hello,

I am using scp on 'Server A'(UNIX) to copy a set of files to 'Server B'(LINUX).
This procedure takes about 5 hours (very large files), and I need to do it daily.
'Server B' (the receiving server) is hosting an important web application, and I want to know:
Does an extensive 'scp' operation such as this impede the performance of the receiving server? (NOTE: The scp operation is scheduled on 'Server A')

Basically, I do not want my web application to noticeably slow down during this procedure.

Any advice would be appreciated.
0
Comment
Question by:chaseivey
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 4
8 Comments
 
LVL 10

Expert Comment

by:abbright
ID: 36586193
As scp involves encryption on the primary source side and decryption on the receiving site it likely has performance impacts on both.
0
 

Author Comment

by:chaseivey
ID: 36586205
Not sure if this matters, but I'm only copying over about 8 files.
They are all very large though (about 1 GB each).
0
 
LVL 10

Expert Comment

by:abbright
ID: 36586229
As all eight files are being copied using scp it's 8GB being encrypted and decrypted, so this does not matter.
0
10 Questions to Ask when Buying Backup Software

Choosing the right backup solution for your organization can be a daunting task. To make the selection process easier, ask solution providers these 10 key questions.

 

Author Comment

by:chaseivey
ID: 36586239
I see.  Is there another way to transfer files that is faster?  I don't necessarily need encryption on this data.
0
 
LVL 10

Expert Comment

by:abbright
ID: 36586258
You could use for example FTP or mount the filesystem directly using NFS and simply copy over the files if that's ok with your security policy.
0
 

Author Comment

by:chaseivey
ID: 36587049
Thanks for the tip.  I ran  top command to see just exactly how much damage this was doing, and here's what I got:
  PID USER    PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND          
18571 uname  15   0 13412 2952 1012 S  1.0  0.1   2:33.46 sshd

I'm kinda new to all this stuff, but does this look like a resource problem?  To me, I'm seeing 1% of CPU is being used, which seems insignificant for slowing my application.  (I have not deployed my application on this server yet, so my concerns are theory only).

Please let me know if this looks fine to you.
0
 
LVL 10

Accepted Solution

by:
abbright earned 250 total points
ID: 36588134
If it's only 1% of CPU that'd be ok with me.
0
 

Author Comment

by:chaseivey
ID: 36588199
Cool.  Thanks for the advice
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Fine Tune your automatic Updates for Ubuntu / Debian
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
Suggested Courses

630 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question