Make replWriter thread pool size tunable

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Major - P3
    • 3.1.7
    • Affects Version/s: None
    • Component/s: Replication
    • Fully Compatible
    • RPL 7 08/10/15
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      #ifdef MONGO_PLATFORM_64
          const int ReplSetImpl::replWriterThreadCount = 16;
          const int ReplSetImpl::replPrefetcherThreadCount = 16;
      #else
          const int ReplSetImpl::replWriterThreadCount = 2;
          const int ReplSetImpl::replPrefetcherThreadCount = 2;
      #endif
      

      These are reasonable default, but we can make them tunable (exporting them via serverParameter) so that people can tune according to their needs. This also facilitates perf testing.

              Assignee:
              Matt Dannenberg (Inactive)
              Reporter:
              Davide Italiano (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              13 Start watching this issue

                Created:
                Updated:
                Resolved: