[DOCS-11693] Docs for SERVER-34739: Change the default to 1 for the task executor pool Created: 11/May/18  Updated: 29/Oct/23  Resolved: 05/Jun/18

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: 4.0.0-rc0

Type: Task Priority: Major - P3
Reporter: Kay Kim (Inactive) Assignee: Kay Kim (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
documents SERVER-34739 Change the default to 1 for the task ... Closed
Participants:
Days since reply: 2 years, 30 weeks ago
Epic Link: DOCS: 4.0 Server

 Description   

Description:

This changes the taskExecutorPoolSize server param to 1 (from the current default of 0, which implies 4 <= NUM_CORES <= 64 egress connection pools on a mongos).

It also introduces AsyncRequestsSenderUseBaton, which is a true by default boolean server parameter which controls a targetted linux only performance optimization. Old behavior can be restored by setting taskExecutorPoolSize=0 and AsyncRequestsSenderUseBaton=false.

Windows and os x constrain the pool size without any os specific performance optimization (so may need the above values altered if a perf regression is detected)

Scope of changes:

  • parameters
  • 4.0
  • 4.0-compatibility
  • connPoolStats output

 

Impact to other docs outside of this product:

MVP:

Resources:

Engineering Ticket Description:

This changes the default to 1 for the task executor pool (meaning we also have 1 egress connection pool for user operations in mongos).

In order to mitigate the performance hit, a targetted optimization has been added for linux which uses client-thread based polling in the ARS.

Scope of changes:

Impact to other docs outside of this product:

MVP:

Resources:



 Comments   
Comment by dalot wong [ 15/Jul/21 ]

But if I set AsyncRequestsSenderUseBaton in configure,the server can not start. I can't get it in 4.4 version code.

Comment by Githook User [ 05/Jun/18 ]

Author:

{'username': 'kay-kim', 'name': 'kay', 'email': 'kay.kim@10gen.com'}

Message: DOCS-11693: taskExecutorPoolSize default 1 and syncRequestsSenderUseBaton
Branch: master
https://github.com/mongodb/docs/commit/273766aa7483be0676d9bda23ac3001a25998a4e

Generated at Thu Feb 08 08:03:26 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.