findOne queries on _id field are slower in 2.6/2.4 than in 2.2

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: 2.4.8, 2.5.4
    • Component/s: Concurrency, Querying
    • None
    • Environment:
      Linux ip-10-237-131-70 3.11.0-12-generic #19-Ubuntu SMP Wed Oct 9 16:20:46 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Queries of the kind

      db.foo.findOne({_id: 0})
      

      are about 5% slower in 2.6 than in 2.2 on heavy-multithreaded tests (8-16 threads), screenshot attached.

            Assignee:
            Davide Italiano (Inactive)
            Reporter:
            Davide Italiano (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: