tillrohrmann commented on a change in pull request #6339: [FLINK-9859] 
[runtime] distinguish JM akka config
URL: https://github.com/apache/flink/pull/6339#discussion_r208240414
 
 

 ##########
 File path: 
flink-runtime/src/main/scala/org/apache/flink/runtime/jobmanager/JobManager.scala
 ##########
 @@ -2140,6 +2140,15 @@ object JobManager {
       externalHostname: String,
       port: Int): ActorSystem = {
 
+    // Enlarge thread pool to improve the performance of ActorSystem.
+    configuration.setDouble(AkkaOptions.FORK_JOIN_EXECUTOR_PARALLELISM_FACTOR, 
1.0)
+    configuration.setInteger(AkkaOptions.FORK_JOIN_EXECUTOR_PARALLELISM_MIN, 
16)
+    configuration.setInteger(AkkaOptions.FORK_JOIN_EXECUTOR_PARALLELISM_MAX, 
64)
+    configuration.setInteger(AkkaOptions.SERVER_SOCKET_WORKER_POOL_SIZE_MIN, 8)
+    configuration.setInteger(AkkaOptions.SERVER_SOCKET_WORKER_POOL_SIZE_MAX, 
64)
+    configuration.setInteger(AkkaOptions.CLIENT_SOCKET_WORKER_POOL_SIZE_MIN, 8)
+    configuration.setInteger(AkkaOptions.CLIENT_SOCKET_WORKER_POOL_SIZE_MIN, 
64)
 
 Review comment:
   Same here. Please remove.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to