Solved

Does scp impede server prformance?

Posted on 2011-09-23
8
358 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
  • 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
 

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
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 
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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

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…
​Being a Managed Services Provider (MSP) has presented you  with challenges in the past— and by meeting those challenges you’ve reaped the rewards of success.  In 2014, challenges and rewards remain; but as the Internet and business environment evol…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

758 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now