Raise search threadpool default size.
The default size used to be 2x availableProcessors which seemed to be a to lowish value in practice. 3x appeared to be a sweetspot for most application. The default is now 3 x availableProcessors Closes #3023
This commit is contained in:
parent
d06a15ec3e
commit
09fb2264d0
|
@ -104,7 +104,7 @@ public class ThreadPool extends AbstractComponent {
|
|||
.put(Names.INDEX, settingsBuilder().put("type", "fixed").put("size", availableProcessors).build())
|
||||
.put(Names.BULK, settingsBuilder().put("type", "fixed").put("size", availableProcessors).build())
|
||||
.put(Names.GET, settingsBuilder().put("type", "fixed").put("size", availableProcessors).build())
|
||||
.put(Names.SEARCH, settingsBuilder().put("type", "fixed").put("size", availableProcessors * 2).put("queue_size", 1000).build())
|
||||
.put(Names.SEARCH, settingsBuilder().put("type", "fixed").put("size", availableProcessors * 3).put("queue_size", 1000).build())
|
||||
.put(Names.PERCOLATE, settingsBuilder().put("type", "fixed").put("size", availableProcessors).build())
|
||||
.put(Names.MANAGEMENT, settingsBuilder().put("type", "scaling").put("keep_alive", "5m").put("size", 5).build())
|
||||
.put(Names.FLUSH, settingsBuilder().put("type", "scaling").put("keep_alive", "5m").put("size", halfProcMaxAt5).build())
|
||||
|
|
Loading…
Reference in New Issue