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

Significant slowdown in capped collection performance when cap reached

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.8.0-rc5
    • Component/s: Storage
    • Labels:
      None
    • Fully Compatible
    • ALL
    • 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

      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.

            Assignee:
            mathias@mongodb.com Mathias Stearn
            Reporter:
            darren.wood@10gen.com Darren Wood
            Votes:
            0 Vote for this issue
            Watchers:
            13 Start watching this issue

              Created:
              Updated:
              Resolved: