Details
-
Improvement
-
Resolution: Fixed
-
Major - P3
-
None
-
None
-
None
-
Fully Compatible
-
Service Arch 2023-02-06
-
120
Description
1-line change to fix BF-27452, increased long tail latency.
From associated code comment with this fix:
+ // Yield here to avoid pinning the CPU. Give other threads some CPU
|
+ // time to avoid a spiky latency distribution (BF-27452). Even if
|
+ // this client can run continuously and receive another command
|
+ // without blocking, we yield anyway. We WANT context switching, and
|
+ // we're trying deliberately to make it happen, to reduce long tail
|
+ // latency.
|
+ _yieldPointReached();
|
_receiveRequest(); |
Attachments
Issue Links
- related to
-
SERVER-73699 SessionWorkflow improvements
-
- Closed
-