From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mout.kundenserver.de ([212.227.126.130]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1dRmxz-0000bG-FI for ptxdist@pengutronix.de; Mon, 03 Jul 2017 00:03:43 +0200 Received: from idefix.home.lespocky.de ([79.205.212.236]) by mrelayeu.kundenserver.de (mreue001 [212.227.15.167]) with ESMTPSA (Nemesis) id 0MQZS8-1dHm1F37gy-00TlRl for ; Mon, 03 Jul 2017 00:03:37 +0200 Received: from falbala.home.lespocky.de ([192.168.243.94]) by idefix.home.lespocky.de with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.82) (envelope-from ) id 1dRmxk-0004SG-Mp for ptxdist@pengutronix.de; Mon, 03 Jul 2017 00:03:37 +0200 Date: Mon, 3 Jul 2017 00:03:26 +0200 From: Alexander Dahl Message-ID: <20170702220326.GP27745@falbala.home.lespocky.de> References: <20170624134751.gfpub6mrshdwz6cd@lenoch> <20170630143621.pvtqwd44u7k4xunz@pengutronix.de> <20170630192504.jyhzavla2htlupmg@lenoch> <20170702203030.GB26018@archie.localdomain> MIME-Version: 1.0 In-Reply-To: <20170702203030.GB26018@archie.localdomain> Subject: Re: [ptxdist] [RFC/PATCH 0/3] cryptodev List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: multipart/mixed; boundary="===============2117799192==" Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de --===============2117799192== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="VLAOICcq5m4DWEYr" Content-Disposition: inline --VLAOICcq5m4DWEYr Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hei hei, On Sun, Jul 02, 2017 at 10:30:30PM +0200, Clemens Gruber wrote: > I am wondering about the performance improvements when using the > cryptodev openssl engine. There must be some cost for the context > switches, but this is probably outweighed by the offloading. > Did you for example run openssl speed aes-128-cbc before and after? > And on what platform did you try it? fli4l [1] uses cryptodev and the experience there is, it depends on the platform. Some platforms benefit a lot, especially for OpenVPN, others not so much. Depends on what the CPU offers and how fast the system in general is. Greets Alex [1] http://www.fli4l.de/ --=20 =BBWith the first link, the chain is forged. The first speech censured,=20 the first thought forbidden, the first freedom denied, chains us all=20 irrevocably.=AB (Jean-Luc Picard, quoting Judge Aaron Satie) *** GnuPG-FP: C28E E6B9 0263 95CF 8FAF 08FA 34AD CD00 7221 5CC6 *** --VLAOICcq5m4DWEYr Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAABCAAGBQJZWW2tAAoJEDStzQByIVzGB1sQAIgVF+QjCsMmr/+5RCHK21nd Zm6v5nxoRaeGfQaJARX44og24HpbYGFmPAIc6hoZYHUwNW9QNzV0YLg5pvN9+g3W XBDpXPoQSB9COe5/c+gIuFO7ixqwLTmCSHFpAloYEWABnElaopFAn65cvHiwlGsR tOW+nkMaVRTBydo4IDUSiK9C2wxrOxNk0K78hnaq5toTQw1WZVGfsqhDP+lXrF0S F9mpMeeNwsUmi11jJbC4gGnOEu197zT1jLUvRtB5JJEPmaGXPWRGUtkQqfS+IL0q HPgSCjYLLUlYWNixWroe44TfPGWknqnARE0rIz0YRdJ/ypo+Gjz945NcWTHIrWWK B5HIT2hRmQo3dloDkUL+CXU8LgvToUgOkZpkdkYhy1ZgYFZJC6V+PKZEVGcXrYNL vcX+el2Ivm+7IL6IKFJZKC01xyTpFLrPIkRSmAhG56Zggc22yQ3LoyZ+b32HWUc1 SkMHW0hWFmIifT5003oun+2VfXUVgF0s55BxgSHCoOFD0+BLhWKgjMxixgv9irD6 hKcCMbpBnTNDkfYpQ0T9NK6tPdBxQVA6qyAfxUM6IvOqCs7+FBkxIgGEOzorZv+b aCG4ezcaspT7oUghYShMIumZhD8gqTQSed/WIhcgwnmhZb4IDJDRlo0ILqAoeMQx 6YovLihVakGtafCbHrlU =+EdQ -----END PGP SIGNATURE----- --VLAOICcq5m4DWEYr-- --===============2117799192== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KcHR4ZGlzdCBt YWlsaW5nIGxpc3QKcHR4ZGlzdEBwZW5ndXRyb25peC5kZQ== --===============2117799192==--