Investigate and fix slow bulkWrite request parsing on mongod

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Won't Do
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Replication
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      As per the flame graph, currently about 4% of the bulkWrite operation thread's time is spent in parsing the bulkWrite request with 1000 insert ops. In contrast, about 1% of an insert operation thread's time is spent parsing a similar insert with 1000 ops.

      The parsing code is auto-generated through IDL so it may be harder to optimize without changing the format of the bulkWrite request altogether.

      See SERVER-76662 for flame graphs.

              Assignee:
              [DO NOT USE] Backlog - Replication Team
              Reporter:
              Vishnu Kaushik
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: