One, SCP speed limit 1M
#scp-l 1000 file name account @ remote machine IP
At this point the transfer rate is 1m/8=100k around
Second, Rsync is (limited to 100k bytes/s):
#rsync-auvzp--bwlimit=100 Local Files Remote files
Parameter description:
V: Detailed Tips
A: Operation in archive mode, copy directory, symbolic connection, equivalent to-rlptgod.
Z: Compression
U: Update only to prevent local new files from being rewritten, noting both machine clocks while
P: is a synthesis of--partial--progress two parameters,
So at this point, rsync supports the continuation of the breakpoint.
Files between computer rooms are generally concerned about bandwidth consumption, especially in the case of shared bandwidth. Two commonly used software can speed limit:
SCP can be prefixed with the-l parameter:
Reference
-L Limit
Limits The used bandwidth, specified in kbit/s.
Rsync can be added with--bwlimit parameters
Reference
-I,--itemize-changes output a change-summary for all updates
--log-format=format output filenames using the specified format
--password-file=file read password from file
--list-only list the files instead of copying them
--bwlimit=kbps limit I/O bandwidth; Kbytes per second
--write-batch=file Write a batched update to FILE
--only-write-batch=file like--write-batch but w/o updating dest
This article is from the "OPS rookie" blog, please be sure to keep this source http://ckl893.blog.51cto.com/8827818/1682243
Rsync & SCP Speed limit