Skip to content

Lock contention in SslStream.Encrypt/Decrypt #69042

@davidfowl

Description

@davidfowl

Description

Continuing looking at various profiles that include HTTPS and not just looking at more than just CPU profiles since these benchmarks are IO bound. I'm reporting what I see in the profiles.

Configuration

  • .NET Core 7.0.0-preview.5.22251.5+5f7f7e8
  • Linux x64
  • This is an HTTP/2 scenario

Regression?

Nope

Data

image

Analysis

I haven't dug deeply into this yet but I'm a little confused why the handshake lock has any contention beyond the handshake (

and ).

Profile attached:
application.05-02-19-35-44.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions