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?
ramavenkatesaAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
TintinConnect With a Mentor Commented:
Try compression, with the -C flag and see if it is any better, eg:

scp -C file serverB:/path
0
 
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
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

 
ramavenkatesaAuthor Commented:
compressing may not be helpful to me.
0
 
arnoldConnect With a Mentor Commented:
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
 
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
All Courses

From novice to tech pro — start learning today.