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

Significant slowdown in capped collection performance when cap reached

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Duplicate
    • Affects Version/s: 2.8.0-rc5
    • Fix Version/s: None
    • Component/s: Storage
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Steps To Reproduce:
      Hide

      Same workload and setup as SERVER-16697. Test runs well and quickly fills collection on a C3-4xl EC2 machine, the number of client threads (100) may need to be reduced on less capable hardware.

      mongod --storageEngine=wiredTiger --wiredTigerCacheSizeGB 1

      $ git clone https://github.com/wiredtiger/mongo-tests.git
      $ cd mongo-tests/SERVER-16697/
      $ mongo --quiet 16697.js 

      Show
      Same workload and setup as SERVER-16697 . Test runs well and quickly fills collection on a C3-4xl EC2 machine, the number of client threads (100) may need to be reduced on less capable hardware. mongod --storageEngine=wiredTiger --wiredTigerCacheSizeGB 1 $ git clone https://github.com/wiredtiger/mongo-tests.git $ cd mongo-tests/SERVER-16697/ $ mongo --quiet 16697.js

      Description

      When a smaller cache is used (1GB) and a high insert workload is applied to a capped collection, high insert latencies are seen once the collection reaches the capped value.

        Issue Links

          Activity

          • Comments
          Hide
          xgen-internal-githook Githook User added a comment -

          Author:

          {u'username': u'michaelcahill', u'name': u'Michael Cahill', u'email': u'michael.cahill@wiredtiger.com'}

          Message: SERVER-16868 Limit the truncates done by each thread to manage WT capped collections.
          Branch: master
          https://github.com/mongodb/mongo/commit/6bab2f390cfbae08bf0801668f54a5fd35db2bfc

          Show
          xgen-internal-githook Githook User added a comment - Author: {u'username': u'michaelcahill', u'name': u'Michael Cahill', u'email': u'michael.cahill@wiredtiger.com'} Message: SERVER-16868 Limit the truncates done by each thread to manage WT capped collections. Branch: master https://github.com/mongodb/mongo/commit/6bab2f390cfbae08bf0801668f54a5fd35db2bfc

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              15 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: