From: Herbert Xu Subject: Re: comparison of the AF_ALG interface with the /dev/crypto Date: Thu, 1 Sep 2011 22:14:45 +0800 Message-ID: <20110901141445.GA31447@gondor.apana.org.au> References: <20110901133952.GB14522@orbit.nwl.cc> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: nmav@gnutls.org, cryptodev-linux-devel@gna.org, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org To: Phil Sutter Return-path: Received: from helcar.apana.org.au ([209.40.204.226]:41775 "EHLO fornost.hengli.com.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757420Ab1IAOPB (ORCPT ); Thu, 1 Sep 2011 10:15:01 -0400 Content-Disposition: inline In-Reply-To: <20110901133952.GB14522@orbit.nwl.cc> Sender: linux-crypto-owner@vger.kernel.org List-ID: Phil Sutter wrote: > > chunksize af_alg cryptodev (100 * cryptodev / af_alg) > -------------------------------------------------------------------------- > 512 4.169 MB/s 7.113 MB/s 171 % > 1024 7.904 MB/s 12.957 MB/s 164 % > 2048 13.163 MB/s 19.683 MB/s 150 % > 4096 20.218 MB/s 26.960 MB/s 133 % > 8192 27.539 MB/s 34.373 MB/s 125 % > 16384 33.730 MB/s 39.997 MB/s 119 % > 32768 37.399 MB/s 42.727 MB/s 114 % > 65536 40.004 MB/s 44.660 MB/s 112 % Are you maxing out your submission CPU? If not then you're testing the latency of the interface, as opposed to the throughput. Cheers, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt