Tuesday, June 4, 2024

VRangesync 'ncat & ssh', scp and rsync Remote File Transfer results

 


VRangesync 'ncat & ssh', scp and rsync Remote File Transfer results


image.iso (622mb)


File transfer from another part of the world to virtualserver(USA)

######################################################


--------------------------------

'scp' 

--------------------------------


$ time scp -P12345 "/data/virtual/image.iso" root@1.2.3.4:/data/virtual/image.iso



real 1m16.926s <-- total time to complete

user 0m0.076s

sys 0m0.902s



--------------------------------

'rsync'

--------------------------------


#rsync will default to xxh128 and zstd if no additional parameters are passed provided rsync is built with zstd and xxhash support

#rsync used 'ssh' for remote transport; It do not have 'ncat' for remote transport.


$ time rsync -avz --progress "/data/virtual/image.iso" -e "ssh -p12345" root@1.2.3.4:/data/virtual/image.iso




real 0m49.497s <-- total time to complete

user 0m2.142s

sys 0m0.415s





--------------------------------

# VRangesync(ssh)'s default compression mode is 'zstd' (not using SSH built-in compression feature)

--------------------------------

# VRangesync offer 'ssh' and 'ncat' for remote transport.


$ time ./vr -i "/data/virtual/image.iso" -o "/data/virtual" -da "root@1.2.3.4" -dp "12345" -df "password.file"


real 0m49.799s <-- total time to complete

user 0m1.637s

sys 0m1.583s




--------------------------------

# Vrangesync(ncat)'s data scamble using default compression mode is 'zstd'; custom ncat port(always use custom port for security reason)

--------------------------------


$ time ./vr -i "/data/virtual/image.iso" -o "/data/virtual" -da "root@1.2.3.4" -dp "12345" -df "password.file" -nc "2" -ncport "6688"


real 0m42.405s <-- total time to complete

user 0m2.221s

sys 0m4.535s




--------------------------------

# Vrangesync(ncat),  data scamble using 'lz4' compression algorithm; custom ncat port(always use custom port for security reason)

--------------------------------


$ time ./vr -i "/data/virtual/image.iso" -o "/data/virtual" -da "root@1.2.3.4" -dp "12345" -df "password.file" -nc "2" -z "lz4" -ncport "6688"


real 0m48.260s <-- total time to complete

user 0m3.140s

sys 0m3.779s



=====================

Results

=====================


scp(ssh) - 1m16.926s

rsync(ssh) - 0m49.497s

VRangesync(ssh) - 0m49.799s

VRangesync(ncat)[zstd] - 0m42.405s

VRangesync(ncat)[lz4] - 0m48.260s



VRangesync(ncat)[zstd] 's 0m42.405s timing prove itself as the ideal file copier choice for remote transport.



No comments:

Post a Comment

Flashmemory & SSD disk data retention extend if you keep it in -40degree celsius temperature (refrigerator)

New study reveal a new way to keep flashmemory-disk / SSD in  refrigerator / freezer /  fridge / cold storage which help to extend flashmemo...