dotnet / dotnet/perf-autofiling-issues

[Perf] Linux/arm64: 6 Improvements on 8/7/2026 11:43:54 PM +00:00

Open
#77,885 1 comment 0 reactions 0 assignees View on GitHub
ampere arch-arm64 branch-refs/heads/main compilationmode-tiered kind-micro os-linux perf-improvement PGO runkind-micro runtime-coreclr untriaged
Dominant language
No language data
Stars
10
Forks
8
PR merge metrics
PR metrics pending

Description

### Run Information

Name | Value
-- | --
Architecture | arm64
OS | ubuntu 22.04
Queue | AmpereUbuntu
Baseline | [b7130aa5e416e88ac48fafe92bf56a9d64e13c97](https://github.com/dotnet/runtime/commit/b7130aa5e416e88ac48fafe92bf56a9d64e13c97)
Compare | [f5f5f83dd8676416636eda75d8c091c6c4f8d506](https://github.com/dotnet/runtime/commit/f5f5f83dd8676416636eda75d8c091c6c4f8d506)
Diff | [Diff](https://github.com/dotnet/runtime/compare/b7130aa5e416e88ac48fafe92bf56a9d64e13c97...f5f5f83dd8676416636eda75d8c091c6c4f8d506)
Configs | CompilationMode:tiered, RunKind:micro

### Improvements in System.Buffers.Tests.RentReturnArrayPoolTests<Byte>

Benchmark | Baseline | Test | Test/Base | Test Quality | Edge Detector | Baseline IR | Compare IR | IR Ratio
-- | -- | -- | -- | -- | -- | -- | -- | --
|

  • [SingleParallel - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 107.97 μs | 10.75 μs | 0.10 | 0.48 | False | | |
|
  • [SingleParallel - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 44.79 μs | 12.95 μs | 0.29 | 0.77 | False | | |
|
  • [SingleParallel - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 68.40 μs | 58.67 μs | 0.86 | 0.39 | False | | |

![graph]()
![graph]()
![graph]()
[Test Report]()

### Repro
General Docs link: https://github.com/dotnet/performance/blob/main/docs/benchmarking-workflow-dotnet-runtime.md

```cmd
git clone https://github.com/dotnet/performance.git
python3 .\performance\scripts\benchmarks_ci.py -f net8.0 --filter 'System.Buffers.Tests.RentReturnArrayPoolTests*'
```

### System.Buffers.Tests.RentReturnArrayPoolTests<Byte>.SingleParallel(RentalSize: 4096, ManipulateArray: True, Async: True, UseSharedPool: True)

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Buffers.Tests.RentReturnArrayPoolTests<Byte>.SingleParallel(RentalSize: 4096, ManipulateArray: False, Async: True, UseSharedPool: True)

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Buffers.Tests.RentReturnArrayPoolTests<Byte>.SingleParallel(RentalSize: 4096, ManipulateArray: True, Async: False, UseSharedPool: False)

#### ETL Files

#### Histogram

#### JIT Disasms

### Docs

[Profiling workflow for dotnet/runtime repository](https://github.com/dotnet/performance/blob/master/docs/profiling-workflow-dotnet-runtime.md)
[Benchmarking workflow for dotnet/runtime repository](https://github.com/dotnet/performance/blob/master/docs/benchmarking-workflow-dotnet-runtime.md)

---

### Run Information

Name | Value
-- | --
Architecture | arm64
OS | ubuntu 22.04
Queue | AmpereUbuntu
Baseline | [b7130aa5e416e88ac48fafe92bf56a9d64e13c97](https://github.com/dotnet/runtime/commit/b7130aa5e416e88ac48fafe92bf56a9d64e13c97)
Compare | [f5f5f83dd8676416636eda75d8c091c6c4f8d506](https://github.com/dotnet/runtime/commit/f5f5f83dd8676416636eda75d8c091c6c4f8d506)
Diff | [Diff](https://github.com/dotnet/runtime/compare/b7130aa5e416e88ac48fafe92bf56a9d64e13c97...f5f5f83dd8676416636eda75d8c091c6c4f8d506)
Configs | CompilationMode:tiered, RunKind:micro

### Improvements in System.Buffers.Tests.RentReturnArrayPoolTests<Object>

Benchmark | Baseline | Test | Test/Base | Test Quality | Edge Detector | Baseline IR | Compare IR | IR Ratio
-- | -- | -- | -- | -- | -- | -- | -- | --
|

  • [SingleParallel - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 130.45 μs | 10.11 μs | 0.08 | 0.46 | False | | |
|
  • [SingleParallel - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 27.98 μs | 13.01 μs | 0.47 | 0.77 | False | | |

![graph]()
![graph]()
[Test Report]()

### Repro
General Docs link: https://github.com/dotnet/performance/blob/main/docs/benchmarking-workflow-dotnet-runtime.md

```cmd
git clone https://github.com/dotnet/performance.git
python3 .\performance\scripts\benchmarks_ci.py -f net8.0 --filter 'System.Buffers.Tests.RentReturnArrayPoolTests*'
```

### System.Buffers.Tests.RentReturnArrayPoolTests<Object>.SingleParallel(RentalSize: 4096, ManipulateArray: True, Async: True, UseSharedPool: True)

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Buffers.Tests.RentReturnArrayPoolTests<Object>.SingleParallel(RentalSize: 4096, ManipulateArray: False, Async: True, UseSharedPool: True)

#### ETL Files

#### Histogram

#### JIT Disasms

### Docs

[Profiling workflow for dotnet/runtime repository](https://github.com/dotnet/performance/blob/master/docs/profiling-workflow-dotnet-runtime.md)
[Benchmarking workflow for dotnet/runtime repository](https://github.com/dotnet/performance/blob/master/docs/benchmarking-workflow-dotnet-runtime.md)

---

### Run Information

Name | Value
-- | --
Architecture | arm64
OS | ubuntu 22.04
Queue | AmpereUbuntu
Baseline | [b7130aa5e416e88ac48fafe92bf56a9d64e13c97](https://github.com/dotnet/runtime/commit/b7130aa5e416e88ac48fafe92bf56a9d64e13c97)
Compare | [f5f5f83dd8676416636eda75d8c091c6c4f8d506](https://github.com/dotnet/runtime/commit/f5f5f83dd8676416636eda75d8c091c6c4f8d506)
Diff | [Diff](https://github.com/dotnet/runtime/compare/b7130aa5e416e88ac48fafe92bf56a9d64e13c97...f5f5f83dd8676416636eda75d8c091c6c4f8d506)
Configs | CompilationMode:tiered, RunKind:micro

### Improvements in System.Threading.Tests.Perf_ThreadPool

Benchmark | Baseline | Test | Test/Base | Test Quality | Edge Detector | Baseline IR | Compare IR | IR Ratio
-- | -- | -- | -- | -- | -- | -- | -- | --
|

  • [QueueUserWorkItem_WaitCallback_Throughput - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 5.71 secs | 2.24 secs | 0.39 | 0.67 | False | | |

![graph]()
[Test Report]()

### Repro
General Docs link: https://github.com/dotnet/performance/blob/main/docs/benchmarking-workflow-dotnet-runtime.md

```cmd
git clone https://github.com/dotnet/performance.git
python3 .\performance\scripts\benchmarks_ci.py -f net8.0 --filter 'System.Threading.Tests.Perf_ThreadPool*'
```

### System.Threading.Tests.Perf_ThreadPool.QueueUserWorkItem_WaitCallback_Throughput(WorkItemsPerCore: 20000000)

#### ETL Files

#### Histogram

#### JIT Disasms

### Docs

[Profiling workflow for dotnet/runtime repository](https://github.com/dotnet/performance/blob/master/docs/profiling-workflow-dotnet-runtime.md)
[Benchmarking workflow for dotnet/runtime repository](https://github.com/dotnet/performance/blob/master/docs/benchmarking-workflow-dotnet-runtime.md)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with src/benchmarks/micro/libraries/System.Buffers/ArrayPoolTests.cs lines 62-81 and the benchmarking workflow linked in the issue. Run benchmarks_ci.py with the reported System.Buffers.Tests.RentReturnArrayPoolTests filter, then determine whether the ARM64 improvement requires follow-up; done requires a documented conclusion or validated change.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux, python, ubuntu
Domain
performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.