Crypto performance



  • I just ran these against my VMware device and wanted to see how these compare to others results.  My processor is a Quad Phemom 2.5 GHZ processor.  It is detecting a crypto device on startup.

    RC

    $ openssl speed -evp aes-128-cbc
    OpenSSL 0.9.8e 23 Feb 2007
    built on: Fri May  1 06:08:53 UTC 2009
    options:bn(64,32) md2(int) rc4(idx,int) des(ptr,risc1,16,long) aes(partial) blowfish(idx)
    compiler: cc
    available timing options: USE_TOD HZ=128 [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-128-cbc      55184.44k    58899.15k    60009.76k    60498.10k    60525.52k

    $ openssl speed -evp aes-128-cbc -engine cryptodev
    OpenSSL 0.9.8e 23 Feb 2007
    built on: Fri May  1 06:08:53 UTC 2009
    options:bn(64,32) md2(int) rc4(idx,int) des(ptr,risc1,16,long) aes(partial) blowfish(idx)
    compiler: cc
    available timing options: USE_TOD HZ=128 [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-128-cbc      55898.36k    58142.87k    60041.53k    60476.26k    60529.60k


  • Rebel Alliance Developer Netgate

    I replied in your other thread that you posted on the topic, and the same question applies here:
    You say that a crypto device was detected but don't say which one. Post the line from dmesg to show what it says.

    You should be seeing a much greater difference in OpenSSL speed tests if you really had a crypto device available. Look at the difference in the numbers that even an ALIX sees from its built-in accelerator:
    http://doc.pfsense.org/index.php/Are_cryptographic_accelerators_supported


Log in to reply