Skip to content

GC pause times grow exponentially when DOTNET_EnableEventLog=1 #115108

Open
@a74nh

Description

@a74nh

Description

Running GCPerfsim with DOTNET_EnableEventLog=1 the pause times for GC2 get increasingly longer.
This does not happen when DOTNET_EnableEventLog is not set.

Found on Arm64 Linux. Not sure if on X64 (suspect so) and/or Windows (suspect not).
TODO: Test on these

Reproduction Steps

dotnet-trace collect --output "$OUTPUT_FILE" --show-child-io --clrevents gc+gchandle -- corerun GCPerfSim.dll -tc 2 -tagb 200 -tlgb 2 -lohpi 0 -sohsi 50 -ramb 20 -rlmb 0.2 -sohpi 0

open the logs in perfview

Expected behavior

Gen2 pause times are small.

Results without DOTNET_EnableEventLog set:

Image

Actual behavior

Gen2 pause times increase exponentially. See pause MSec column:

Image

Regression?

Unsure

Known Workarounds

Don't set DOTNET_EnableEventLog

Configuration

Head: aec77dd

Linux Ubuntu 24.04.02. Cobalt 100.

Other information

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions