Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 647
  • Last Modified:

file transfer rate with SCP

currently, i am able to scp the files from server A (newyork) to serverB(las vegas) at the rate of 500 kbps. i want to increase the speed of transfer rate. is there anything that i can do from my end i.e on server A and server B?
0
ramavenkatesa
Asked:
ramavenkatesa
  • 6
  • 3
  • 2
2 Solutions
 
arnoldCommented:
You can compress the files prior to scp.  What is the Bandwidth between A and B?
0
 
ramavenkatesaAuthor Commented:
How can i find the bandwidth between the servers?
0
 
ramavenkatesaAuthor Commented:
compressing may not be helpful to me.
0
Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

 
arnoldCommented:
What Type of connection do you have on Side A?  What type of connection you have on Site B?  The lower one is what you get between Site A and site B in optimal conditions.  If there are other resources using the network/internet, the amount of bandwith available to each server is reduced.

Depending on what the file is compression will reduce the amount of data that needs to be transferred.

Compress a file and see whether the transfer takes as long as transferring the uncompressed file.  Do not look at the average transfer rate for improvement.
I.e. a 500K uncompressed file  that is lets say 350k compressed file the transfer rate between the two might remain at 500kbps, but the amount of time to transfer will be reduced.
0
 
ramavenkatesaAuthor Commented:
What Type of connection do you have on Side A?   -- i did not understand . can u please elaborate?

in unix what is the command to be used to zip the files?  
0
 
TintinCommented:
Compression is only useful on slow links.

Is the network between the two servers on a LAN, WAN, VPN, etc?

What type of files are you transferring?  Are they text or binary data?

Are you transferring unique files each time?
0
 
ramavenkatesaAuthor Commented:
i think it is WAN( the starting 3 digits of IP of server A & server B are different)
i am transferring the datafiles of a database. mostly they are text files. some are bianry.

i am transfering unique files.
0
 
TintinCommented:
Try compression, with the -C flag and see if it is any better, eg:

scp -C file serverB:/path
0
 
ramavenkatesaAuthor Commented:
after scp'ing Shd i do any gunzip or uncompress?
0
 
ramavenkatesaAuthor Commented:
0
 
TintinCommented:
The -C option compresses the data in transit.  No need to compress/uncompress the files before/after issuing scp.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 6
  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now