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

Optimizations for Java's TLS performance

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.0.0
    • None
    • common
    • None

    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

              Unassigned Unassigned
              daryn Daryn Sharp
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated: