Skip to content

Consider releasing #107333 into dotnet 9 #109060

@djluck

Description

@djluck

We've been observing high lock contention in ActivitySource when it comes to publishing activity start/ stop notifications. #107333 fixes this issue but I'm unable to comment in this PR (it was locked).

@tarekgh in that MR you outlined the higher threshold for merging this change into v9, citing impact. In our case we are seeing 10-20% of CPU time being contented in some of our high throughput services, contributing to severe latency spikes. Our hardware can have up to 192 cores which means we're far more likely to experience contention around a single shared mutex.

Hopefully this is data point is enough to consider merging this change into v9.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions