www.libssh2.org | Daily snapshots | Mailing list archive | Docs | Examples | github

Archive Index This month's Index

Subject: Re: Disabling compression by API?

Re: Disabling compression by API?

From: Tor Arntsen <tor_at_spacetec.no>
Date: Sat, 9 Oct 2010 12:52:13 +0200

[re. compression opinions]

My own experience with compressing and OpenSSH is that I wouldn't want
it on anywhere except on remote connections. The encryption itself
takes some CPU, on some of the older CPU it takes a _lot_ of CPU if
the transmission is over a local, fast network (which is why I still
select a faster, less safe encryption algorithm now and then, for such
cases). Adding compression makes the CPU hit the roof. Not long ago I
had to copy 70 gigs from one fast computer to another, over a LAN, and
initially I started with compression on. It tooks so long I had to
break it off and restart, now with compression off, to get anywhere in
a reasonable time.

So, in short, I prefer compression off as default, just as it is with OpenSSH.

libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2010-10-09

the libssh2 team