Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-15811

Optimizations for Java's TLS performance

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.0.0
    • Fix Version/s: None
    • Component/s: common
    • Labels:
      None
    • Target Version/s:

      Description

      Java defaults to using /dev/random and disables intrinsic methods used in hot code paths.  Both cause highly synchronized impls to be used that significantly degrade performance.

      • -Djava.security.egd=file:/dev/urandom
      • -XX:+UseMontgomerySquareIntrinsic
      • -XX:+UseMontgomeryMultiplyIntrinsic
      • -XX:+UseSquareToLenIntrinsic
      • -XX:+UseMultiplyToLenIntrinsic

      These settings significantly boost KMS server performance. Under load, threads are not jammed in the SSLEngine.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                daryn Daryn Sharp
              • Votes:
                0 Vote for this issue
                Watchers:
                12 Start watching this issue

                Dates

                • Created:
                  Updated: