Skip to content

Commit a80764a

Browse files
author
Victor Do Nascimento
committed
Add benchmark execution details to spec runs for LTO performance uplift
1 parent dd175b9 commit a80764a

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

content/learning-paths/servers-and-cloud-computing/gcc-lto/performance-uplift.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,13 @@ layout: learningpathall
88

99
## Comparing Performance
1010

11-
The potential benefits of link-time optimization can be illustrated through a performance comparison using the SPEC CPU®2017 integer (SPECint2017) benchmark suite. In this example, benchmarks were compiled with GCC 15.1, with and without LTO, and executed on an Arm Neoverse V2 CPU.
11+
The potential benefits of link-time optimization can be illustrated through a performance comparison using the SPEC CPU®2017 integer (SPECint2017) benchmark suite. In this example, benchmarks were compiled with GCC 15.1, with and without LTO, and executed on an Arm Neoverse V2 CPU running Ubuntu 20.04 LTS.
12+
13+
Common optimization flags between runs were as follows:
14+
15+
```c
16+
-mcpu=native -Ofast -fomit-frame-pointer --param ipa-cp-eval-threshold=1 --param ipa-cp-unit-growth=80
17+
```
1218

1319
Across the benchmark suite, enabling LTO resulted in an improvement in the geometric mean score of approximately 3.4%. Some workloads benefited more noticeably, including:
1420
* `gmcf` (+11%)

0 commit comments

Comments
 (0)