Uploaded image for project: 'SoftHSM'
  1. SoftHSM
  2. SOFTHSM-86

SoftHSMv2 performance slightly disappointing

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Closed
    • Priority: Blocker
    • Resolution: Won't Fix
    • Affects Version/s: 2.0.0a1
    • Fix Version/s: 2.0.0
    • Component/s: None
    • Labels:
      None

      Description

      The performance of SoftHSMv2 is not quite on par with SoftHSMv1. Speed comparison on a 4-way dual-core AMD 2200:

      SoftHSMv1
      1 thread, 1000 signatures per thread, 1180.22 sig/s (RSA 1024 bits)
      2 threads, 1000 signatures per thread, 3965.38 sig/s (RSA 1024 bits)
      4 threads, 1000 signatures per thread, 10067.78 sig/s (RSA 1024 bits)
      8 threads, 1000 signatures per thread, 10480.33 sig/s (RSA 1024 bits)

      SoftHSMv2 with Botan
      1 thread, 1000 signatures per thread, 393.19 sig/s (RSA 1024 bits)
      2 threads, 1000 signatures per thread, 1193.87 sig/s (RSA 1024 bits)
      4 threads, 1000 signatures per thread, 965.48 sig/s (RSA 1024 bits)
      8 threads, 1000 signatures per thread, 642.17 sig/s (RSA 1024 bits)

      SoftHSMv2 with OpenSSL
      1 thread, 1000 signatures per thread, 444.88 sig/s (RSA 1024 bits)
      2 threads, 1000 signatures per thread, 1999.82 sig/s (RSA 1024 bits)
      4 threads, 1000 signatures per thread, 3864.71 sig/s (RSA 1024 bits)
      8 threads, 1000 signatures per thread, 1179.35 sig/s (RSA 1024 bits)

        Attachments

        1. softhsm1.png
          softhsm1.png
          469 kB
        2. softhsm2.botan.png
          softhsm2.botan.png
          770 kB
        3. softhsm2.openssl.png
          softhsm2.openssl.png
          602 kB

          Issue Links

            Activity

              People

              Assignee:
              rickard Rickard Bellgrim
              Reporter:
              jakob Jakob Schlyter
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: