问题原文
原帖链接 · Corey Goldberg · CC BY-SA 3.0
I normally use rsync's -z option to enable compression when transferring files over the internet. However, if I am on my own (idle) gigabit LAN, do I still want compression? Or will it be faster without it? What factors does this depend on? (I haven't done any benchmarks yet).
So basically, is it faster to: compress + transfer + decompress, or just transfer uncompressed?
If your network connection is slow, it's obviously better to compress... but how about if everything is running on a gigabit ethernet network?
已采纳解答
原帖链接 · Zoredache · CC BY-SA 3.0
During an rsync transfer are you CPU bound, or is your link saturated.
- If your link is saturated, but your CPU is idle, then compress.
- If your CPU is maxed, and your link isn't, then do not compress.
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
