Re:Network file transfer with on-the-fly compression
by wmf on Wednesday May 06, 2009 @04:05PM
(#596612)
Really we should have adaptive compression so that the CPU and network usage is balanced. Too bad it may require "rampant layering violation" to implement.
Re:Network file transfer with on-the-fly compression
by rarrrrrr on Wednesday May 06, 2009 @03:13PM
(#596509)
But the tar method will generally be 5-15x faster for large collections of small files.
Handing it with tar makes operations on both ends asynchronous. scp (or rsync, etc.) of multiple files does file opens on each end in lockstep, resulting in a lot of idle wait time.
Also, would "j" have worked better than "z" in the tar line? bzip2 is much slower than gzip, but does a better job.
Handing it with tar makes operations on both ends asynchronous. scp (or rsync, etc.) of multiple files does file opens on each end in lockstep, resulting in a lot of idle wait time.