On Feb 17, 2009, at 8:32 PM, Kristian Kielhofner wrote: > On Tue, Feb 17, 2009 at 8:24 PM, Lonnie Abelbeck > <li...@lonnie.abelbeck.com> wrote: >> >> Philip is referring to a set of tests I did wrt OpenSSL AES support >> for the net5501. >> >> The real world tests were using OpenVPN, OpenSSL does have some >> built- >> in benchmark tests, but they are not easy to interpret... though it >> was useful to see when we finally got acceleration working for the >> net5501. >> >> Lonnie >> >> >> pbx ~ # openssl engine >> (cryptodev) BSD cryptodev engine >> (padlock) VIA PadLock (no-RNG, no-ACE) >> (dynamic) Dynamic engine loading support >> >> pbx ~ # openssl speed aes -engine cryptodev >> engine "cryptodev" set. >> ... >> The 'numbers' are in 1000s of bytes per second processed. >> type 16 bytes 64 bytes 256 bytes 1024 bytes >> 2048 bytes >> aes-128 cbc 29975.53k 33590.25k 33916.59k 34897.45k >> 34988.22k >> aes-192 cbc 25540.87k 29070.69k 29879.27k 29361.49k >> 30091.64k >> aes-256 cbc 23657.75k 25328.07k 26555.93k 26677.53k >> 26141.58k >> > > These are the tests I found on the VIA Padlock site: > > pbx ~ # openssl speed -evp aes-128-ecb -engine padlock > engine "padlock" set. > Doing aes-128-ecb for 3s on 16 size blocks: 9190152 aes-128-ecb's in > 2.99s > Doing aes-128-ecb for 3s on 64 size blocks: 8551393 aes-128-ecb's in > 3.00s > Doing aes-128-ecb for 3s on 256 size blocks: 6305419 aes-128-ecb's > in 2.99s > Doing aes-128-ecb for 3s on 1024 size blocks: 3012709 aes-128-ecb's > in 2.99s > Doing aes-128-ecb for 3s on 2048 size blocks: 1772584 aes-128-ecb's > in 2.99s > OpenSSL 0.9.8j 07 Jan 2009 > built on: Sun Feb 15 19:05:30 EST 2009 > options:bn(64,32) md2(int) rc4(ptr,char) des(idx,cisc,16,long) > aes(partial) blowfish(ptr) > compiler: /home/kris/projects/astlinux-trunk/build_i586/staging_dir/ > bin/i586-linux-uclibc-gcc > -fPIC -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN > -DHAVE_DLFCN_H -DHAVE_CRYPTODEV > -I/home/kris/projects/astlinux-trunk/build_i586/staging_dir/include > -DTERMIO -O3 -fomit-frame-pointer -Wall -Os -pipe -fomit-frame-pointer > 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 > 2048 bytes > aes-128-ecb 49178.07k 182429.72k 539861.96k 1031777.26k > 1214131.11k > pbx ~ #
For the net5501, with the same command... pbx ~ # openssl speed -evp aes-128-cbc -engine cryptodev engine "cryptodev" set. Doing aes-128-cbc for 3s on 16 size blocks: 127746 aes-128-cbc's in 0.02s Doing aes-128-cbc for 3s on 64 size blocks: 123326 aes-128-cbc's in 0.01s Doing aes-128-cbc for 3s on 256 size blocks: 102632 aes-128-cbc's in 0.01s Doing aes-128-cbc for 3s on 1024 size blocks: 57512 aes-128-cbc's in 0.01s Doing aes-128-cbc for 3s on 2048 size blocks: 37431 aes-128-cbc's in 0.01s OpenSSL 0.9.8j 07 Jan 2009 built on: Fri Feb 13 12:20:05 CST 2009 options:bn(64,32) md2(int) rc4(ptr,char) des(idx,cisc,16,long) aes(partial) blowfish(ptr) compiler: /home/ubuntu/astlinux-trunk/build_i586/staging_dir/bin/i586- linux-uclibc-gcc -fPIC -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT - DDSO_DLFCN -DHAVE_DLFCN_H -DHAVE_CRYPTODEV -I/home/ubuntu/astlinux- trunk/build_i586/staging_dir/include -DTERMIO -O3 -fomit-frame-pointer -Wall -Os -pipe -fomit-frame-pointer -march=k6-2 -fno-align-functions - fno-align-loops -fno-align-jumps -fno-align-labels 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 2048 bytes aes-128-cbc 102196.80k 789286.40k 2627379.20k 5889228.80k 7665868.80k I can't say I totally understand the numbers and the openssl speed options. Lonnie ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Astlinux-users mailing list Astlinux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/astlinux-users Donations to support AstLinux are graciously accepted via PayPal to pay...@krisk.org.