[Linux-bruxelles] Bench serveur : OpenSSL speed : Athlon 800

Didier Misson didier.linux at gmail.com
Sam 5 Jan 12:38:46 CET 2008


Encore un essais sur un Desktop AMD Athlon 800 MHz en SDRam :

processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 6
model           : 4
model name      : AMD Athlon(tm) processor
stepping        : 2
cpu MHz         : 799.658
cache size      : 256 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov
pat pse36 mmx fxsr syscall mmxext 3dnowext 3dnow up
bogomips        : 1601.24
clflush size    : 32



$ openssl speed dsa512
Doing 512 bit sign dsa's for 10s: 7302 512 bit DSA signs in 9.98s
Doing 512 bit verify dsa's for 10s: 5436 512 bit DSA verify in 8.99s
OpenSSL 0.9.8e 23 Feb 2007
built on: Thu Oct  4 17:32:42 GMT 2007
options:bn(64,32) md2(int) rc4(idx,int) des(ptr,risc1,16,long) aes(partial)
blowfish(idx)
compiler: gcc-4.1 -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]
timing function used: times
                  sign    verify    sign/s verify/s
dsa  512 bits 0.001367s 0.001654s    731.7    604.7


$ openssl speed -evp aes-128-cbc
Doing aes-128-cbc for 3s on 16 size blocks: 3288629 aes-128-cbc's in 3.00s
Doing aes-128-cbc for 3s on 64 size blocks: 1344326 aes-128-cbc's in 2.95s
Doing aes-128-cbc for 3s on 256 size blocks: 382893 aes-128-cbc's in 2.79s
Doing aes-128-cbc for 3s on 1024 size blocks: 106441 aes-128-cbc's in 2.93s
Doing aes-128-cbc for 3s on 8192 size blocks: 11358 aes-128-cbc's in 2.48s
OpenSSL 0.9.8e 23 Feb 2007
built on: Thu Oct  4 17:32:42 GMT 2007
options:bn(64,32) md2(int) rc4(idx,int) des(ptr,risc1,16,long) aes(partial)
blowfish(idx)
compiler: gcc-4.1 -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]
timing function used: times
The 'numbers' are in 1000s of bytes per second processed.
type             16 bytes     64 bytes    256 bytes   1024 bytes   8192
bytes
aes-128-cbc      17539.35k    29165.04k    35132.83k    37199.86k
37518.04k


Si je compare avec mon "nouveau" serveur qui est un P3 à 866 MHz, j'avais :

==============================================================================
> nouveau serveur @ home : Pentium 3 à 866 MHz
> --------------------------------------------
>
> processor       : 0
> vendor_id       : GenuineIntel
> cpu family      : 6
> model           : 8
> model name      : Pentium III (Coppermine)
> stepping        : 6
> cpu MHz         : 863.918
> cache size      : 256 KB
> fdiv_bug        : no
> hlt_bug         : no
> f00f_bug        : no
> coma_bug        : no
> fpu             : yes
> fpu_exception   : yes
> cpuid level     : 2
> wp              : yes
> flags           : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca
> cmov pat pse36 mmx fxsr sse up
> bogomips        : 1728.90
> clflush size    : 32
>
>
>
>
> didier at abrasd03:~$ openssl speed dsa512
> Doing 512 bit sign dsa's for 10s: 6641 512 bit DSA signs in 9.86s
> Doing 512 bit verify dsa's for 10s: 5524 512 bit DSA verify in 9.98s
> OpenSSL 0.9.8e 23 Feb 2007
> built on: Mon Oct 22 13:17:36 UTC 2007
> options:bn(64,32) md2(int) rc4(idx,int) des(ptr,risc1,16,long)
> aes(partial) blowfish(idx)
> compiler: gcc-4.1 -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]
> timing function used: times
>                   sign    verify    sign/s verify/s
> dsa  512 bits 0.001485s 0.001807s    673.5    553.5
>
>
> didier at abrasd03:~$ openssl speed -evp aes-128-cbc
> Doing aes-128-cbc for 3s on 16 size blocks: 2663970 aes-128-cbc's in 3.00s
> Doing aes-128-cbc for 3s on 64 size blocks: 1225320 aes-128-cbc's in 3.00s
> Doing aes-128-cbc for 3s on 256 size blocks: 388792 aes-128-cbc's in 3.00s
> Doing aes-128-cbc for 3s on 1024 size blocks: 104513 aes-128-cbc's in
> 3.00s
> Doing aes-128-cbc for 3s on 8192 size blocks: 13326 aes-128-cbc's in 3.00s
> OpenSSL 0.9.8e 23 Feb 2007
> built on: Mon Oct 22 13:17:36 UTC 2007
> options:bn(64,32) md2(int) rc4(idx,int) des(ptr,risc1,16,long)
> aes(partial) blowfish(idx)
> compiler: gcc-4.1 -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]
> timing function used: times
> The 'numbers' are in 1000s of bytes per second processed.
> type             16 bytes     64 bytes    256 bytes   1024 bytes   8192
> bytes
> aes-128-cbc      14207.84k    26140.16k    33176.92k    35673.77k
> 36388.86k
>


On peut donc dire, en tout cas pour le test SSL,
que l' Athlon 800 est plus rapide que le P3 à 866 MHz.

Je sais que ces machines sont totalement dépassées,
mais largement suffisantes pour des serveurs @ home.

ça reste en balance avec l'achat possible d'une carte mère Intel mini-atx
Celeron 1,3 GHz,
à la fois pas chère et écologique, puisque consommant très peu.

;-)

-- 
Didier

http://didier.misson.net
-------------- section suivante --------------
Une pièce jointe HTML a été nettoyée...
URL: <http://listes.domainepublic.net/pipermail/linux-bruxelles/attachments/20080105/6cc405b5/attachment-0001.html>


Plus d'informations sur la liste de diffusion Linux-bruxelles