RC2 vs RC2e openssl speed test



  • I got a pair of VIA C7 cpus. They have the builtin AES acceleration…Padlock technology from VIA

    RC2e looks like it gets me half the speed for AES that I get from RC2

    RC2e machine gives me:
    #openssl speed aes
    ....
    Doing aes-192 cbc for 3s on 256 size blocks: 133336 aes-192 cbc's in 2.96s
    Doing aes-192 cbc for 3s on 1024 size blocks: 33656 aes-192 cbc's in 2.99s

    The other machine is running RC2e
    ...
    Doing aes-192 cbc for 3s on 256 size blocks: 69681 aes-192 cbc's in 2.91s
    Doing aes-192 cbc for 3s on 1024 size blocks: 17948 aes-192 cbc's in 2.99s

    RC2 is completely idle, RC2e is connected to an ISP and firewalling for a maybe 4 users. 20k to 30k of occasional traffic. This should not make the sort of difference seen above.

    Both machines are running embedded. The only difference in software is the RC2 , RC2e

    everything else looks like its the same.

    openssl engine padlock

    (padlock) VIA PadLock (no-RNG, ACE)
    [this seems to mean that the random number generator is not used (there is some problem in OpenSSL with using the RNG in this hardware), but the Advanced Crypto Engine is OK]

    openssl version

    OpenSSL 0.9.7e-p1 25 Oct 2004



  • Please upgrade to the latest snapshot and retest: http://pfsense.com/~sullrich/1.0-SNAPSHOT-09-12-06/



  • It turns out to be a bad setting in the slow machines BIOS….


Locked