tech-net archive

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

Re: scp performance



On Thu, 17 Jan 2008 23:23:03 +0100
comfooc <comfooc%gmail.com@localhost> wrote:

> On Jan 17, 2008 8:55 PM, Steven M. Bellovin <smb%cs.columbia.edu@localhost> 
> wrote:
> > After that, perhaps run
> >
> >         openssl speed
> >
> > to see if the crypto performance is seriously mismatched.
> 
> I've made some tests:
> Linux:
> 
> OpenSSL 0.9.8g 19 Oct 2007
> built on: Sun Nov  4 22:05:55 CET 2007
> options:bn(64,32) md2(int) rc4(idx,int) des(ptr,risc1,16,long)
> aes(partial) blowfish(idx)
> compiler: gcc -fPIC -DOPENSSL_PIC -DZLIB -DOPENSSL_THREADS
> -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN -DTERMIO -O3
> -march=i686 -Wa,--noexecstack -g -Wall -DOPENSSL_BN_ASM_PART_WORDS
> -DOPENSSL_IA32_SSE2 -DSHA1_ASM -DMD5_ASM -DRMD160_ASM -DAES_ASM
> available timing options: TIMES TIMEB HZ=100 [sysconf value]

I don't know if openssl on netbsd uses any of these compile time
variables, but I guess that perhaps OPENSSL_IA32_SSE2 would be
one of the reasons (perhaps I'm wrong :-).

> 
> What is most intresting:
> L: aes-128 cbc      21271.44k    28059.45k    30584.18k    31360.94k
>  31692.12k
> N: aes-128 cbc      13096.45k    13832.38k    14034.33k    14096.25k
>  14101.97k
> 
> So its not an network issue...

I'm curious, could you please compare openbsd and netbsd too?

-- 
Juan Romero Pardines       - The NetBSD Project
http://plog.xtrarom.org    - NetBSD/pkgsrc news in Spanish



Home | Main Index | Thread Index | Old Index