?
Solved

Does scp impede server prformance?

Posted on 2011-09-23
8
Medium Priority
?
381 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
Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 

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 1000 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

Are You Ready for GDPR?

With the GDPR deadline set for May 25, 2018, many organizations are ill-prepared due to uncertainty about the criteria for compliance. According to a recent WatchGuard survey, a staggering 37% of respondents don't even know if their organization needs to comply with GDPR. Do you?

Question has a verified solution.

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

Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Have you ever been frustrated by having to click seven times in order to retrieve a small bit of information from the web, always the same seven clicks, scrolling down and down until you reach your target? When you know the benefits of the command l…
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
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…

719 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