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
- relates to
-
HADOOP-15967 KMS Benchmark Tool
- Resolved