Skip to content

Commit 5e4655c

Browse files
committed
More threads
1 parent 972c2c3 commit 5e4655c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

server/src/main/java/org/elasticsearch/threadpool/DefaultBuiltInExecutorBuilders.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public Map<String, ExecutorBuilder> getBuilders(Settings settings, int allocated
5353
new FixedExecutorBuilder(
5454
settings,
5555
ThreadPool.Names.WRITE,
56-
allocatedProcessors,
56+
(int) (allocatedProcessors * 1.25),
5757
// 10,000 for all nodes with 8 cores or fewer. Scale up once we have more than 8 cores.
5858
Math.max(allocatedProcessors * 750, 10000),
5959
EsExecutors.TaskTrackingConfig.builder()

server/src/main/java/org/elasticsearch/threadpool/ExecutorBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ protected static int applyHardSizeLimit(final Settings settings, final String na
4343
if (name.equals("bulk")
4444
|| name.equals(ThreadPool.Names.WRITE_COORDINATION)
4545
|| name.equals(ThreadPool.Names.SYSTEM_WRITE_COORDINATION)
46-
|| name.equals(ThreadPool.Names.WRITE)
46+
// || name.equals(ThreadPool.Names.WRITE)
4747
|| name.equals(ThreadPool.Names.SYSTEM_WRITE)
4848
|| name.equals(ThreadPool.Names.SYSTEM_CRITICAL_WRITE)) {
4949
return 1 + EsExecutors.allocatedProcessors(settings);

0 commit comments

Comments
 (0)