Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    RC2 vs RC2e openssl speed test

    Scheduled Pinned Locked Moved General pfSense Questions
    3 Posts 2 Posters 2.6k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      sai
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • H
        hoba
        last edited by

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

        1 Reply Last reply Reply Quote 0
        • S
          sai
          last edited by

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

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.