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

Make replWriter thread pool size tunable

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 3.1.7
    • None
    • 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

        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: