Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 May 2003 15:14:55 -0700
From:      "Sam Leffler" <sam@errno.com>
To:        "Rene de Vries" <rene@canyon.xs4all.nl>, <hackers@freebsd.org>
Subject:   Re: Hardware crypto support, ubsec RSA performance
Message-ID:  <016f01c320af$946f65c0$52557f42@errno.com>
References:  <406B3072-8C2E-11D7-A0FF-00039357FA7A@canyon.xs4all.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
I've made no effort to tune the asymmetric crypto ops.  All the techniques I
used to speedup symmetric ops (and more) should apply to asymmetric ops.
Feel free to dig in.

    Sam

----- Original Message -----
From: "Rene de Vries" <rene@canyon.xs4all.nl>
To: <hackers@freebsd.org>
Sent: Thursday, May 22, 2003 1:20 AM
Subject: Hardware crypto support, ubsec RSA performance


> Hello,
>
> I've been testing with an "Broadcom CryptoNetX SSL800" card and the
> performance (when testing with openssl) is a bit disapointing. I would
> expect about 800 (or nearly 800) sign/s, but in stead the card+openssl
> only do about 94 sign/s (with 1024 bit RSA keys). This is less than one
> eigth of what I expected. Am I doing something wrong or is there some
> magic that I need to perform?
>
> Rene
>
> Measurements done on FreeBSD 4.8.
> System: Pentium III 930Mhz (256Mb memory).
> Using "Openssl speed rsa -elapsed" (version 0.9.7a).
>
> With Broadcom CryptoNetX SSL800 (BM5820/ubsec):
>
>                    sign    verify    sign/s verify/s
> rsa  512 bits   0.0027s   0.0001s    369.9   8541.5
> rsa 1024 bits   0.0106s   0.0002s     94.7   5392.2
> rsa 2048 bits   0.1586s   0.0010s      6.3   1014.4
> rsa 4096 bits   2.2629s   0.0105s      0.4     95.1
>
> Without hardware encryption:
>
>                    sign    verify    sign/s verify/s
> rsa  512 bits   0.0031s   0.0003s    324.7   3599.0
> rsa 1024 bits   0.0170s   0.0009s     59.0   1172.5
> rsa 2048 bits   0.1026s   0.0029s      9.8    350.6
> rsa 4096 bits   0.6629s   0.0098s      1.5    101.8
>
> --
> Rene de Vries <rene@tunix.nl>
> TUNIX Internet Security & Training
>
> _______________________________________________
> freebsd-hackers@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?016f01c320af$946f65c0$52557f42>