You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Daryn Sharp (JIRA)" <ji...@apache.org> on 2018/10/02 15:21:00 UTC

[jira] [Commented] (HADOOP-15811) Optimizations for Java's TLS performance

    [ https://issues.apache.org/jira/browse/HADOOP-15811?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16635683#comment-16635683 ] 

Daryn Sharp commented on HADOOP-15811:
--------------------------------------

[~xiaochen], due to time constraints (and that we aren't running the kms via embedded jetty), do you want to help integrate these changes?

> Optimizations for Java's TLS performance
> ----------------------------------------
>
>                 Key: HADOOP-15811
>                 URL: https://issues.apache.org/jira/browse/HADOOP-15811
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: common
>    Affects Versions: 1.0.0
>            Reporter: Daryn Sharp
>            Priority: Major
>
> 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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org