NetBSD-Bugs archive

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

bin/51333: base openssl is 25% slower than pkgsrc openssl



>Number:         51333
>Category:       bin
>Synopsis:       base openssl is 25% slower than pkgsrc openssl
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jul 11 12:15:00 +0000 2016
>Originator:     Zafer Aydogan
>Release:        7.0
>Organization:
TNF
>Environment:
amd64
>Description:
While deploying a NetBSD server to a cloud provider, I noticed that
openssl speed showed reduced results with NetBSD compared to SmartOS, FreeBSD or Linux.

Comparing a fresh build openssl from pkgsrc finally showed same results 
like the other OS.

Here is the comparison between base openssl and pkgsrc openssl.

The nominal expected value is 30000k for 16 bytes sha512.

Output shortened for readability:

Base openssl:
OpenSSL 1.0.1p 9 Jul 2015
NetBSD 7.0
gcc version 4.8.4 (NetBSD nb2 20150115)
The 'numbers' are in 1000s of bytes per second processed.
type             16 bytes 
sha512           21915.87k


Versus pkgsrc openssl:
OpenSSL 1.0.2h  3 May 2016
built on: reproducible build, date unspecified
The 'numbers' are in 1000s of bytes per second processed.
type             16 bytes
sha512           29093.30k

The difference between pkgsrc and base is 24.67%


>How-To-Repeat:
$ openssl speed sha512



>Fix:
yes, please.



Home | Main Index | Thread Index | Old Index