-
Type: Task
-
Resolution: Done
-
Affects Version/s: None
-
Component/s: None
-
None
Some system schedulers don't de-prioritize yield calls when the number of threads overwhelms the number of CPU cores. The WiredTiger log consolidation code makes extensive use of yield to avoid waiting longer than necessary for a group flush to finish.
It would be better if we backed off using a mechanism other than spinning in a yield loop in
Unable to find source-code formatter for language: __wt_log_slot_close. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
. It has been reported that up to 10x improvement in throughput can be achieved in some MongoDB workloads on some hardware.