You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2020/05/27 12:58:21 UTC

[GitHub] [flink] zentol commented on a change in pull request #12360: [FLINK-17970] Increase default value of cluster.io-pool.size from #cores to 4 * #cores

zentol commented on a change in pull request #12360:
URL: https://github.com/apache/flink/pull/12360#discussion_r431096427



##########
File path: flink-runtime/src/main/java/org/apache/flink/runtime/util/ClusterEntrypointUtils.java
##########
@@ -70,7 +70,7 @@ private static File deriveFlinkHomeDirectoryFromLibDirectory() {
 	 * @return The legal io-executor pool size.
 	 */
 	public static int getPoolSize(Configuration config) {
-		final int poolSize = config.getInteger(ClusterOptions.CLUSTER_IO_EXECUTOR_POOL_SIZE, Hardware.getNumberCPUCores());
+		final int poolSize = config.getInteger(ClusterOptions.CLUSTER_IO_EXECUTOR_POOL_SIZE, 4 * Hardware.getNumberCPUCores());

Review comment:
       document that it is multiplied?




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org