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

SSL performance regression

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 3.6.0, 3.6.9, 4.0.0, 4.0.5
    • Fix Version/s: 3.6.14, 4.0.9, 4.1.9, 3.4.24
    • Component/s: Security
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v4.0, v3.6, v3.4
    • Sprint:
      Security 2019-01-28, Security 2019-02-11, Security 2019-02-25, Security 2019-03-11
    • Case:
    • Linked BF Score:
      0

      Description

      Workload with many threads doing simple small point queries shows a large performance regression between 3.5.8 and 3.5.9, and all subsequent 3.6 and 4.0 versions. On a 24-core bare metal machine the regression on one test is about 25%; on a larger 64-core virtualized machine (m3.4xlarge) the regression is about 70%.

      A git bisect identifies the following commit as the culprit:

      923ad3ba8160f2cd614e1258ef19294bd502af78 is the first bad commit
      SERVER-29403 Implement TransportLayerASIO

      Profiling identifies a lot of time spent in the following stacks:

      This appear to be due to excessive calls to ERR_clear_error from ASIO.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              spencer.jackson Spencer Jackson
              Reporter:
              bruce.lucas Bruce Lucas
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              27 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: