On May 22, 2008, at 9:27 PM, K K wrote:
On Tue, May 20, 2008 at 4:34 PM, Paul de Weerd <[EMAIL PROTECTED]>
wrote:
glxsb (4/i386) - Geode LX Security Block crypto accelerator
In other words, there's onboard crypto support in these machines that
is supported in OpenBSD. You may not need a separate accelerator.
Thanks for the reminder, I forgot the (slightly more expensive)
Net5501 had this chip :)
Does this just automagically accelerate anything using entropy or AES?
Is there any way to temporarily disable acceleration to run
benchmarks?
Thanks,
Kevin
I was under the impression that kern.usercrypto did this. it seems to
have a negligible affect on my net5501
I do have a glxsb
-=[~]=- -=[Thu May 22]=- -=[21:58:20]=-
[EMAIL PROTECTED] (set -ex;sysctl kern.usercrypto=1;openssl speed -evp
aes-256-cbc;sysctl kern.usercrypto=0;openssl speed -evp aes-256-cbc)
+ sysctl kern.usercrypto=1
kern.usercrypto: 1 -> 1
+ openssl speed -evp aes-256-cbc
To get the most accurate results, try to run this
program when this computer is idle.
Doing aes-256-cbc for 3s on 16 size blocks: 721327 aes-256-cbc's in
2.71s
Doing aes-256-cbc for 3s on 64 size blocks: 216391 aes-256-cbc's in
2.91s
Doing aes-256-cbc for 3s on 256 size blocks: 54838 aes-256-cbc's in
2.85s
Doing aes-256-cbc for 3s on 1024 size blocks: 13739 aes-256-cbc's in
2.86s
Doing aes-256-cbc for 3s on 8192 size blocks: 1722 aes-256-cbc's in
2.94s
OpenSSL 0.9.7j 04 May 2006
built on: date not available
options:bn(64,32) md2(int) rc4(idx,int) des(ptr,risc1,16,long)
aes(partial) blowfish(idx)
compiler: information not available
available timing options: USE_TOD HZ=100 [sysconf value]
timing function used: getrusage
The 'numbers' are in 1000s of bytes per second processed.
type 16 bytes 64 bytes 256 bytes 1024 bytes
8192 bytes
aes-256-cbc 4257.29k 4765.26k 4923.10k 4920.21k
4802.25k
+ sysctl kern.usercrypto=0
kern.usercrypto: 1 -> 0
+ openssl speed -evp aes-256-cbc
To get the most accurate results, try to run this
program when this computer is idle.
Doing aes-256-cbc for 3s on 16 size blocks: 758660 aes-256-cbc's in
2.84s
Doing aes-256-cbc for 3s on 64 size blocks: 212083 aes-256-cbc's in
2.84s
Doing aes-256-cbc for 3s on 256 size blocks: 55383 aes-256-cbc's in
2.87s
Doing aes-256-cbc for 3s on 1024 size blocks: 13931 aes-256-cbc's in
2.88s
Doing aes-256-cbc for 3s on 8192 size blocks: 1749 aes-256-cbc's in
2.88s
OpenSSL 0.9.7j 04 May 2006
built on: date not available
options:bn(64,32) md2(int) rc4(idx,int) des(ptr,risc1,16,long)
aes(partial) blowfish(idx)
compiler: information not available
available timing options: USE_TOD HZ=100 [sysconf value]
timing function used: getrusage
The 'numbers' are in 1000s of bytes per second processed.
type 16 bytes 64 bytes 256 bytes 1024 bytes
8192 bytes
aes-256-cbc 4268.50k 4773.03k 4944.93k 4961.86k
4970.08k
-=[~]=- -=[Thu May 22]=- -=[21:59:29]=-
[EMAIL PROTECTED] grep glxsb /var/run/dmesg.boot
glxsb0 at pci0 dev 1 function 2 "AMD Geode LX Crypto" rev 0x00: RNG AES