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

Make replWriter thread pool size tunable

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.1.7
    • Replication
    • Fully Compatible
    • RPL 7 08/10/15

    Description

      #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.

      Attachments

        Issue Links

          Activity

            People

              matt.dannenberg Matt Dannenberg
              davide.italiano Davide Italiano
              Votes:
              1 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: