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 13:08:20 UTC

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

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



##########
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:
       Good point. Will update it.




----------------------------------------------------------------
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