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

Poor performance with 95% cache and many writers

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: WiredTiger
    • Fully Compatible
    • ALL

      On mongo 3.4.9 we are seeing poor performance when the cache hits 95% utilization. I've attached a snippet of mongostat output from a time when this was happening. When this slowdown happens there is almost no disk activity.

      Some additional information about our environment:

      • The server is running on an r4.8xlarge instance (244GB RAM / 32 cores)
      • We are using gzip compression
      • We have many concurrent writers and when this slow down happens we max out all of the write tickets. (Is it possible that eviction is having trouble making progress with that many application threads?)
      • This collection has 12 indexes.

      Are there any configuration settings we should try changing to work around this?

      I can upload the diagnostic.data to the private portal if that would help.

        1. Screen Shot 2017-09-19 at 4.57.59 PM.png
          Screen Shot 2017-09-19 at 4.57.59 PM.png
          273 kB
        2. Screen Shot 2017-09-18 at 5.36.27 PM.png
          Screen Shot 2017-09-18 at 5.36.27 PM.png
          465 kB
        3. mongostat.txt
          4 kB
        4. eviction.png
          eviction.png
          486 kB

            Assignee:
            alexander.gorrod@mongodb.com Alexander Gorrod
            Reporter:
            bpot Bob Potter
            Votes:
            2 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              Resolved: