Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-15344

Make replWriter thread pool size tunable

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

      #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 Matt Dannenberg
            Reporter:
            davide.italiano Davide Italiano
            Votes:
            1 Vote for this issue
            Watchers:
            13 Start watching this issue

              Created:
              Updated:
              Resolved: