NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: SCP file transfer speed



Yep, that is what I was also thinking about. However, my pkgsrc ssh
server depends on libcrypto from base:

> ldd /usr/pkg/sbin/sshd
/usr/pkg/sbin/sshd:
        -lwrap.1 => /usr/lib/libwrap.so.1
        -lgcc_s.1 => /usr/lib/libgcc_s.so.1
        -lc.12 => /usr/lib/libc.so.12
        -lcrypt.1 => /usr/lib/libcrypt.so.1
        -lcrypto.8 => /usr/lib/libcrypto.so.8
        -lskey.2 => /usr/lib/libskey.so.2
        -lutil.7 => /usr/lib/libutil.so.7
        -lz.1 => /usr/lib/libz.so.1


> pmap 16398 | grep libcrypt
00007F7FF6E00000   1860K read/exec         /lib/libcrypto.so.8.0
00007F7FF6FD1000   2048K                   /lib/libcrypto.so.8.0
00007F7FF71D1000    184K read/write        /lib/libcrypto.so.8.0
00007F7FF7400000     24K read/exec         /lib/libcrypt.so.1.0
00007F7FF7406000   2048K                   /lib/libcrypt.so.1.0
00007F7FF7606000      4K read/write        /lib/libcrypt.so.1.0


2015-03-20 12:01 GMT+01:00 Martin Husemann <martin%netbsd.org@localhost>:
> On Fri, Mar 20, 2015 at 10:18:06AM +0100, Stephan wrote:
>> I just tried with OpenSSH from pkgsrc (openssh-5.8.2nb5) on the
>> receiver side and it gives full speed:
>
> Sounds like a similiar issue I am working on for ARM currently - the pkgsrc
> and the base libcrypto use quite different options and enable different
> assembler optimized versions, which easily leads to "openssl speed" differences
> of 5x or more.
>
> Does your pkgsrc openssh version use openssl from pkgsrc?
> You could check with: ldd /usr/pkg/bin/openssh
>
> Thanks,
>
> Martin


Home | Main Index | Thread Index | Old Index