Live data from Hacker News

HPN-SSH: High Performance ssh and scp

psc.edu

11–20 of 32 posts

Re: HPN-SSH: High Performance ssh and scp

#12

2 questions: 1) would this work with mosh? 2) lzo/lz4 has lower latency then zip, is there an ssh patch supporting this and would it be noticable in a 2k4 scenario?

I don't think mosh-type scenarios are what HPN-SSH aims to improve. It is more targeted at high-bandwidth, high-latency scp transfers.

(say, 300Mb+ connections with 30ms+ latency)

Re: HPN-SSH: High Performance ssh and scp

#14
They apply cleanly when building for OSX and work well with the Homebrew patches infrastructure. Get them with

    brew install --with-hpn https://raw.githubusercontent.com/FiloSottile/homebrew-dupes/423f9eed0e557f4a63947b04f5dbe22c895ff6f7/openssh.rb
Or, once the PR https://github.com/Homebrew/homebrew-dupes/pull/358 is merged,

    brew tap homebrew/dupes
    brew install --with-hpn openssh
EDIT: fix, thanks dkubb

Re: HPN-SSH: High Performance ssh and scp

#15

2 questions: 1) would this work with mosh? 2) lzo/lz4 has lower latency then zip, is there an ssh patch supporting this and would it be noticable in a 2k4 scenario?

mosh uses a completely different protocol (over UDP), and I think the aim of these patches is to improve throughput, not latency, of SSH. In a high performance situation you probably have high bandwidth, and then it's better to disable any compression. Compression only makes sense when you have limited bandwidth and sufficient CPU power.

Re: HPN-SSH: High Performance ssh and scp

#16

They apply cleanly when building for OSX and work well with the Homebrew patches infrastructure. Get them with brew install --with-hpn https://raw.githubusercontent.com/FiloSottile/homebrew-dupes/423f9eed0e557f4a63947b04f5dbe22c895ff6f7/openssh.rb Or, once the PR https://github.com/Homebrew/homebrew-dupes/pull/358 is merged, brew tap homebrew/dupes brew install --with-hpn openssh EDIT: fix, thanks dkubb

Did you mean "brew install --with-hpn openssh"?

Re: HPN-SSH: High Performance ssh and scp

#18

I'm drooling over this. Will this ever show up in RedHat?

Not likely. The OpenSSH team is very conservative, and RedHat isn't likely to make such an invasive change into a core utility.

PSC has been maintaining these patches for a long time. I'm pretty sure I was using this nearly 10 years ago. If you have a need for this, it's not hard to build it yourself.

Ah, found the initial release date: July 7, 2004; yeah 10 years.

Re: HPN-SSH: High Performance ssh and scp

#20
Gentoo has this as a USE flag for openssh and is enabled by default. Be aware that the multithreaded AES-CTR patch has compatibility conflicts with some libssh versions and possibly other implementations. XBMC and Synology in particular have both been unable to connect to servers using that patch.
Post reply on HN