Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8333119

specjvm::crypto.signverify workload have scalability issue for high vCPU numbers

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • None
    • security-libs
    • None

      The specjvm2008::crypto.signverify workload have scalability issue for the high vCPU number. According to the JFR data it has issue with the 'Lock Instances' with stack trace:
      ================
      void sun.security.provider.NativePRNG$RandomIO.implNextBytes(byte[])
      void sun.security.provider.NativePRNG.engineNextBytes(byte[])
      void java.security.SecureRandom.nextBytes(byte[])
      BigInteger sun.security.provider.DSA.generateK(BigInteger)
      byte[] sun.security.provider.DSA.engineSign()
      byte[] java.security.Signature$Delegate.engineSign()
      byte[] java.security.Signature.sign()
      byte[] spec.benchmarks.crypto.signverify.Main.sign(byte[], String, PrivateKey)
      ================
      The total blocking time changed from the ~2 seconds for the 128 vCPU to ~7 hours for the 384 vCPU.

            valeriep Valerie Peng
            vaivanov Vladimir Ivanov
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: