Solved

Does scp impede server prformance?

Posted on 2011-09-23
8
364 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
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

 

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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
Fine Tune your automatic Updates for Ubuntu / Debian
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

773 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