options

xy_model - 2026-05-21 11:48:58 - MAQAO 2026.0.0

Help is available by moving the cursor above any symbol or by checking MAQAO website.

  • run_0
  • run_1
  • run_2
  • run_3
  • run_4
  • run_5

Code Quality  

[ 4 / 4 ] Enough time of the experiment time spent in analyzed loops (39.54%)

If the time spent in analyzed loops is less than 30%, standard loop optimizations will have a limited impact on application performances.

[ 4 / 4 ] Threads activity is good

On average, more than 99.87% of observed threads are actually active

[ 4 / 4 ] CPU activity is good

CPU cores are active 99.87% of time

[ 4 / 4 ] Loop profile is not flat

At least one loop coverage is greater than 4% (14.01%), representing an hotspot for the application

[ 4 / 4 ] Enough time of the experiment time spent in analyzed innermost loops (25.53%)

If the time spent in analyzed innermost loops is less than 15%, standard innermost loop optimizations such as vectorisation will have a limited impact on application performances.

[ 4 / 4 ] Affinity is good (99.12%)

Threads are not migrating to CPU cores: probably successfully pinned

[ 3 / 3 ] Less than 10% (0.00%) is spend in BLAS1 operations

It could be more efficient to inline by hand BLAS1 operations

[ 3 / 3 ] Functions mostly use all threads

Functions running on a reduced number of threads (typically sequential code) cover less than 10% of application walltime (0.00%)

[ 3 / 3 ] Cumulative Outermost/In between loops coverage (14.01%) lower than cumulative innermost loop coverage (25.53%)

Having cumulative Outermost/In between loops coverage greater than cumulative innermost loop coverage will make loop optimization more complex

[ 2 / 2 ] Less than 10% (0.00%) is spend in BLAS2 operations

BLAS2 calls usually could make a poor cache usage and could benefit from inlining.

[ 0 / 2 ] More than 10% (58.72%) is spend in Libm/SVML (special functions)

The application is heavily using special math functions (powers, exp, sin etc…) proper library version have to be used. Exact accuracy needs have to be evaluated. Perform input value profiling, first count how many different input values. Recompile with -ffast-math or -Ofast to help/enable vectorization of loops calling math functions.

Loops Overview

Loop IDAnalysisPenalty Score
Loop 18 - xy_model+Execution Time: 14 % - Vectorization Ratio: 8.87 % - Vector Length Use: 13.81 %
Loop Computation Issues+2
[SA] Presence of a large number of scalar integer instructions - Simplify loop structure, perform loop splitting or perform unroll and jam. This issue costs 2 points.2
Control Flow Issues+21
[SA] Presence of calls - Inline either by compiler or by hand and use SVML for libm calls. There are 2 issues (= calls) costing 1 point each.2
[SA] Too many paths (13 paths) - Simplify control structure. There are 13 issues ( = paths) costing 1 point each with a malus of 4 points.17
[SA] Non innermost loop (InBetween) - Collapse loop with innermost ones. This issue costs 2 points.2
Data Access Issues+7
[SA] Presence of special instructions executing on a single port (INSERT/EXTRACT, BLEND/MERGE) - Simplify data access and try to get stride 1 access. There are 5 issues (= instructions) costing 1 point each.5
[SA] More than 20% of the loads are accessing the stack - Perform loop splitting to decrease pressure on registers. This issue costs 2 points.2
Vectorization Roadblocks+21
[SA] Presence of calls - Inline either by compiler or by hand and use SVML for libm calls. There are 2 issues (= calls) costing 1 point each.2
[SA] Too many paths (13 paths) - Simplify control structure. There are 13 issues ( = paths) costing 1 point each with a malus of 4 points.17
[SA] Non innermost loop (InBetween) - Collapse loop with innermost ones. This issue costs 2 points.2
Inefficient Vectorization+5
[SA] Presence of special instructions executing on a single port (INSERT/EXTRACT, BLEND/MERGE) - Simplify data access and try to get stride 1 access. There are 5 issues (= instructions) costing 1 point each.5
Loop 10 - xy_modelExecution Time: 4 % - Vectorization Ratio: 0.00 % - Vector Length Use: 0.00 %
Loop 9 - xy_model+Execution Time: 3 % - Vectorization Ratio: 2.38 % - Vector Length Use: 11.90 %
Loop Computation Issues+2
[SA] Presence of a large number of scalar integer instructions - Simplify loop structure, perform loop splitting or perform unroll and jam. This issue costs 2 points.2
Control Flow Issues+5
[SA] Presence of calls - Inline either by compiler or by hand and use SVML for libm calls. There are 1 issues (= calls) costing 1 point each.1
[SA] Several paths (4 paths) - Simplify control structure or force the compiler to use masked instructions. There are 4 issues ( = paths) costing 1 point each.4
Data Access Issues+2
[SA] Presence of constant non unit stride data access - Use array restructuring, perform loop interchange or use gather instructions to lower a bit the cost. There are 1 issues ( = data accesses) costing 2 point each.2
Vectorization Roadblocks+7
[SA] Presence of calls - Inline either by compiler or by hand and use SVML for libm calls. There are 1 issues (= calls) costing 1 point each.1
[SA] Several paths (4 paths) - Simplify control structure or force the compiler to use masked instructions. There are 4 issues ( = paths) costing 1 point each.4
[SA] Presence of constant non unit stride data access - Use array restructuring, perform loop interchange or use gather instructions to lower a bit the cost. There are 1 issues ( = data accesses) costing 2 point each.2
Loop 14 - xy_modelExecution Time: 2 % - Vectorization Ratio: 0.00 % - Vector Length Use: 0.00 %
Loop 16 - xy_modelExecution Time: 2 % - Vectorization Ratio: 0.00 % - Vector Length Use: 0.00 %
Loop 12 - xy_modelExecution Time: 2 % - Vectorization Ratio: 0.00 % - Vector Length Use: 0.00 %
Loop 15 - xy_modelExecution Time: 2 % - Vectorization Ratio: 0.00 % - Vector Length Use: 0.00 %
Loop 17 - xy_modelExecution Time: 1 % - Vectorization Ratio: 0.00 % - Vector Length Use: 0.00 %
Loop 11 - xy_modelExecution Time: 1 % - Vectorization Ratio: 0.00 % - Vector Length Use: 0.00 %
Loop 13 - xy_modelExecution Time: 1 % - Vectorization Ratio: 0.00 % - Vector Length Use: 0.00 %

Code Quality  

[ 4 / 4 ] Enough time of the experiment time spent in analyzed loops (38.78%)

If the time spent in analyzed loops is less than 30%, standard loop optimizations will have a limited impact on application performances.

[ 4 / 4 ] Threads activity is good

On average, more than 199.41% of observed threads are actually active

[ 4 / 4 ] CPU activity is good

CPU cores are active 99.73% of time

[ 4 / 4 ] Loop profile is not flat

At least one loop coverage is greater than 4% (13.82%), representing an hotspot for the application

[ 4 / 4 ] Enough time of the experiment time spent in analyzed innermost loops (24.96%)

If the time spent in analyzed innermost loops is less than 15%, standard innermost loop optimizations such as vectorisation will have a limited impact on application performances.

[ 3 / 4 ] Affinity stability is lower than 90% (73.53%)

Threads are often migrating to other CPU cores/threads. For OpenMP, typically set (OMP_PLACES=cores OMP_PROC_BIND=close) or (OMP_PLACES=threads OMP_PROC_BIND=spread). With OpenMPI + OpenMP, use --bind-to core --map-by node:PE=$OMP_NUM_THREADS --report-bindings. With IntelMPI + OpenMP, set I_MPI_PIN_DOMAIN=omp:compact or I_MPI_PIN_DOMAIN=omp:scatter and use -print-rank-map.

[ 3 / 3 ] Less than 10% (0.00%) is spend in BLAS1 operations

It could be more efficient to inline by hand BLAS1 operations

[ 3 / 3 ] Functions mostly use all threads

Functions running on a reduced number of threads (typically sequential code) cover less than 10% of application walltime (0.00%)

[ 3 / 3 ] Cumulative Outermost/In between loops coverage (13.82%) lower than cumulative innermost loop coverage (24.96%)

Having cumulative Outermost/In between loops coverage greater than cumulative innermost loop coverage will make loop optimization more complex

[ 2 / 2 ] Less than 10% (0.00%) is spend in BLAS2 operations

BLAS2 calls usually could make a poor cache usage and could benefit from inlining.

[ 0 / 2 ] More than 10% (59.17%) is spend in Libm/SVML (special functions)

The application is heavily using special math functions (powers, exp, sin etc…) proper library version have to be used. Exact accuracy needs have to be evaluated. Perform input value profiling, first count how many different input values. Recompile with -ffast-math or -Ofast to help/enable vectorization of loops calling math functions.

Loops Overview

Loop IDAnalysisPenalty Score
Loop 18 - xy_model+Execution Time: 13 % - Vectorization Ratio: 8.87 % - Vector Length Use: 13.81 %
Loop Computation Issues+2
[SA] Presence of a large number of scalar integer instructions - Simplify loop structure, perform loop splitting or perform unroll and jam. This issue costs 2 points.2
Control Flow Issues+21
[SA] Presence of calls - Inline either by compiler or by hand and use SVML for libm calls. There are 2 issues (= calls) costing 1 point each.2
[SA] Too many paths (13 paths) - Simplify control structure. There are 13 issues ( = paths) costing 1 point each with a malus of 4 points.17
[SA] Non innermost loop (InBetween) - Collapse loop with innermost ones. This issue costs 2 points.2
Data Access Issues+7
[SA] Presence of special instructions executing on a single port (INSERT/EXTRACT, BLEND/MERGE) - Simplify data access and try to get stride 1 access. There are 5 issues (= instructions) costing 1 point each.5
[SA] More than 20% of the loads are accessing the stack - Perform loop splitting to decrease pressure on registers. This issue costs 2 points.2
Vectorization Roadblocks+21
[SA] Presence of calls - Inline either by compiler or by hand and use SVML for libm calls. There are 2 issues (= calls) costing 1 point each.2
[SA] Too many paths (13 paths) - Simplify control structure. There are 13 issues ( = paths) costing 1 point each with a malus of 4 points.17
[SA] Non innermost loop (InBetween) - Collapse loop with innermost ones. This issue costs 2 points.2
Inefficient Vectorization+5
[SA] Presence of special instructions executing on a single port (INSERT/EXTRACT, BLEND/MERGE) - Simplify data access and try to get stride 1 access. There are 5 issues (= instructions) costing 1 point each.5
Loop 10 - xy_modelExecution Time: 4 % - Vectorization Ratio: 0.00 % - Vector Length Use: 0.00 %
Loop 9 - xy_model+Execution Time: 3 % - Vectorization Ratio: 2.38 % - Vector Length Use: 11.90 %
Loop Computation Issues+2
[SA] Presence of a large number of scalar integer instructions - Simplify loop structure, perform loop splitting or perform unroll and jam. This issue costs 2 points.2
Control Flow Issues+5
[SA] Presence of calls - Inline either by compiler or by hand and use SVML for libm calls. There are 1 issues (= calls) costing 1 point each.1
[SA] Several paths (4 paths) - Simplify control structure or force the compiler to use masked instructions. There are 4 issues ( = paths) costing 1 point each.4
Data Access Issues+2
[SA] Presence of constant non unit stride data access - Use array restructuring, perform loop interchange or use gather instructions to lower a bit the cost. There are 1 issues ( = data accesses) costing 2 point each.2
Vectorization Roadblocks+7
[SA] Presence of calls - Inline either by compiler or by hand and use SVML for libm calls. There are 1 issues (= calls) costing 1 point each.1
[SA] Several paths (4 paths) - Simplify control structure or force the compiler to use masked instructions. There are 4 issues ( = paths) costing 1 point each.4
[SA] Presence of constant non unit stride data access - Use array restructuring, perform loop interchange or use gather instructions to lower a bit the cost. There are 1 issues ( = data accesses) costing 2 point each.2
Loop 14 - xy_modelExecution Time: 2 % - Vectorization Ratio: 0.00 % - Vector Length Use: 0.00 %
Loop 16 - xy_modelExecution Time: 2 % - Vectorization Ratio: 0.00 % - Vector Length Use: 0.00 %
Loop 12 - xy_modelExecution Time: 2 % - Vectorization Ratio: 0.00 % - Vector Length Use: 0.00 %
Loop 15 - xy_modelExecution Time: 2 % - Vectorization Ratio: 0.00 % - Vector Length Use: 0.00 %
Loop 11 - xy_modelExecution Time: 1 % - Vectorization Ratio: 0.00 % - Vector Length Use: 0.00 %
Loop 17 - xy_modelExecution Time: 1 % - Vectorization Ratio: 0.00 % - Vector Length Use: 0.00 %
Loop 13 - xy_modelExecution Time: 1 % - Vectorization Ratio: 0.00 % - Vector Length Use: 0.00 %

Code Quality  

[ 4 / 4 ] Enough time of the experiment time spent in analyzed loops (39.01%)

If the time spent in analyzed loops is less than 30%, standard loop optimizations will have a limited impact on application performances.

[ 4 / 4 ] Threads activity is good

On average, more than 397.73% of observed threads are actually active

[ 4 / 4 ] CPU activity is good

CPU cores are active 99.58% of time

[ 4 / 4 ] Loop profile is not flat

At least one loop coverage is greater than 4% (13.85%), representing an hotspot for the application

[ 4 / 4 ] Enough time of the experiment time spent in analyzed innermost loops (25.14%)

If the time spent in analyzed innermost loops is less than 15%, standard innermost loop optimizations such as vectorisation will have a limited impact on application performances.

[ 4 / 4 ] Affinity is good (99.98%)

Threads are not migrating to CPU cores: probably successfully pinned

[ 3 / 3 ] Less than 10% (0.00%) is spend in BLAS1 operations

It could be more efficient to inline by hand BLAS1 operations

[ 3 / 3 ] Functions mostly use all threads

Functions running on a reduced number of threads (typically sequential code) cover less than 10% of application walltime (0.00%)

[ 3 / 3 ] Cumulative Outermost/In between loops coverage (13.87%) lower than cumulative innermost loop coverage (25.14%)

Having cumulative Outermost/In between loops coverage greater than cumulative innermost loop coverage will make loop optimization more complex

[ 2 / 2 ] Less than 10% (0.00%) is spend in BLAS2 operations

BLAS2 calls usually could make a poor cache usage and could benefit from inlining.

[ 0 / 2 ] More than 10% (59.12%) is spend in Libm/SVML (special functions)

The application is heavily using special math functions (powers, exp, sin etc…) proper library version have to be used. Exact accuracy needs have to be evaluated. Perform input value profiling, first count how many different input values. Recompile with -ffast-math or -Ofast to help/enable vectorization of loops calling math functions.

Loops Overview

Loop IDAnalysisPenalty Score
Loop 18 - xy_model+Execution Time: 13 % - Vectorization Ratio: 8.87 % - Vector Length Use: 13.81 %
Loop Computation Issues+2
[SA] Presence of a large number of scalar integer instructions - Simplify loop structure, perform loop splitting or perform unroll and jam. This issue costs 2 points.2
Control Flow Issues+21
[SA] Presence of calls - Inline either by compiler or by hand and use SVML for libm calls. There are 2 issues (= calls) costing 1 point each.2
[SA] Too many paths (13 paths) - Simplify control structure. There are 13 issues ( = paths) costing 1 point each with a malus of 4 points.17
[SA] Non innermost loop (InBetween) - Collapse loop with innermost ones. This issue costs 2 points.2
Data Access Issues+7
[SA] Presence of special instructions executing on a single port (INSERT/EXTRACT, BLEND/MERGE) - Simplify data access and try to get stride 1 access. There are 5 issues (= instructions) costing 1 point each.5
[SA] More than 20% of the loads are accessing the stack - Perform loop splitting to decrease pressure on registers. This issue costs 2 points.2
Vectorization Roadblocks+21
[SA] Presence of calls - Inline either by compiler or by hand and use SVML for libm calls. There are 2 issues (= calls) costing 1 point each.2
[SA] Too many paths (13 paths) - Simplify control structure. There are 13 issues ( = paths) costing 1 point each with a malus of 4 points.17
[SA] Non innermost loop (InBetween) - Collapse loop with innermost ones. This issue costs 2 points.2
Inefficient Vectorization+5
[SA] Presence of special instructions executing on a single port (INSERT/EXTRACT, BLEND/MERGE) - Simplify data access and try to get stride 1 access. There are 5 issues (= instructions) costing 1 point each.5
Loop 10 - xy_modelExecution Time: 4 % - Vectorization Ratio: 0.00 % - Vector Length Use: 0.00 %
Loop 9 - xy_model+Execution Time: 3 % - Vectorization Ratio: 2.38 % - Vector Length Use: 11.90 %
Loop Computation Issues+2
[SA] Presence of a large number of scalar integer instructions - Simplify loop structure, perform loop splitting or perform unroll and jam. This issue costs 2 points.2
Control Flow Issues+5
[SA] Presence of calls - Inline either by compiler or by hand and use SVML for libm calls. There are 1 issues (= calls) costing 1 point each.1
[SA] Several paths (4 paths) - Simplify control structure or force the compiler to use masked instructions. There are 4 issues ( = paths) costing 1 point each.4
Data Access Issues+2
[SA] Presence of constant non unit stride data access - Use array restructuring, perform loop interchange or use gather instructions to lower a bit the cost. There are 1 issues ( = data accesses) costing 2 point each.2
Vectorization Roadblocks+7
[SA] Presence of calls - Inline either by compiler or by hand and use SVML for libm calls. There are 1 issues (= calls) costing 1 point each.1
[SA] Several paths (4 paths) - Simplify control structure or force the compiler to use masked instructions. There are 4 issues ( = paths) costing 1 point each.4
[SA] Presence of constant non unit stride data access - Use array restructuring, perform loop interchange or use gather instructions to lower a bit the cost. There are 1 issues ( = data accesses) costing 2 point each.2
Loop 12 - xy_modelExecution Time: 2 % - Vectorization Ratio: 0.00 % - Vector Length Use: 0.00 %
Loop 16 - xy_modelExecution Time: 2 % - Vectorization Ratio: 0.00 % - Vector Length Use: 0.00 %
Loop 14 - xy_modelExecution Time: 2 % - Vectorization Ratio: 0.00 % - Vector Length Use: 0.00 %
Loop 15 - xy_modelExecution Time: 2 % - Vectorization Ratio: 0.00 % - Vector Length Use: 0.00 %
Loop 17 - xy_modelExecution Time: 2 % - Vectorization Ratio: 0.00 % - Vector Length Use: 0.00 %
Loop 11 - xy_modelExecution Time: 1 % - Vectorization Ratio: 0.00 % - Vector Length Use: 0.00 %
Loop 13 - xy_modelExecution Time: 1 % - Vectorization Ratio: 0.00 % - Vector Length Use: 0.00 %

Code Quality  

[ 4 / 4 ] Enough time of the experiment time spent in analyzed loops (38.85%)

If the time spent in analyzed loops is less than 30%, standard loop optimizations will have a limited impact on application performances.

[ 4 / 4 ] Threads activity is good

On average, more than 790.95% of observed threads are actually active

[ 4 / 4 ] CPU activity is good

CPU cores are active 99.23% of time

[ 4 / 4 ] Loop profile is not flat

At least one loop coverage is greater than 4% (13.90%), representing an hotspot for the application

[ 4 / 4 ] Enough time of the experiment time spent in analyzed innermost loops (24.94%)

If the time spent in analyzed innermost loops is less than 15%, standard innermost loop optimizations such as vectorisation will have a limited impact on application performances.

[ 4 / 4 ] Affinity is good (99.97%)

Threads are not migrating to CPU cores: probably successfully pinned

[ 3 / 3 ] Less than 10% (0.00%) is spend in BLAS1 operations

It could be more efficient to inline by hand BLAS1 operations

[ 3 / 3 ] Functions mostly use all threads

Functions running on a reduced number of threads (typically sequential code) cover less than 10% of application walltime (0.00%)

[ 3 / 3 ] Cumulative Outermost/In between loops coverage (13.92%) lower than cumulative innermost loop coverage (24.94%)

Having cumulative Outermost/In between loops coverage greater than cumulative innermost loop coverage will make loop optimization more complex

[ 2 / 2 ] Less than 10% (0.00%) is spend in BLAS2 operations

BLAS2 calls usually could make a poor cache usage and could benefit from inlining.

[ 0 / 2 ] More than 10% (58.24%) is spend in Libm/SVML (special functions)

The application is heavily using special math functions (powers, exp, sin etc…) proper library version have to be used. Exact accuracy needs have to be evaluated. Perform input value profiling, first count how many different input values. Recompile with -ffast-math or -Ofast to help/enable vectorization of loops calling math functions.

Loops Overview

Loop IDAnalysisPenalty Score
Loop 18 - xy_model+Execution Time: 13 % - Vectorization Ratio: 8.87 % - Vector Length Use: 13.81 %
Loop Computation Issues+2
[SA] Presence of a large number of scalar integer instructions - Simplify loop structure, perform loop splitting or perform unroll and jam. This issue costs 2 points.2
Control Flow Issues+21
[SA] Presence of calls - Inline either by compiler or by hand and use SVML for libm calls. There are 2 issues (= calls) costing 1 point each.2
[SA] Too many paths (13 paths) - Simplify control structure. There are 13 issues ( = paths) costing 1 point each with a malus of 4 points.17
[SA] Non innermost loop (InBetween) - Collapse loop with innermost ones. This issue costs 2 points.2
Data Access Issues+7
[SA] Presence of special instructions executing on a single port (INSERT/EXTRACT, BLEND/MERGE) - Simplify data access and try to get stride 1 access. There are 5 issues (= instructions) costing 1 point each.5
[SA] More than 20% of the loads are accessing the stack - Perform loop splitting to decrease pressure on registers. This issue costs 2 points.2
Vectorization Roadblocks+21
[SA] Presence of calls - Inline either by compiler or by hand and use SVML for libm calls. There are 2 issues (= calls) costing 1 point each.2
[SA] Too many paths (13 paths) - Simplify control structure. There are 13 issues ( = paths) costing 1 point each with a malus of 4 points.17
[SA] Non innermost loop (InBetween) - Collapse loop with innermost ones. This issue costs 2 points.2
Inefficient Vectorization+5
[SA] Presence of special instructions executing on a single port (INSERT/EXTRACT, BLEND/MERGE) - Simplify data access and try to get stride 1 access. There are 5 issues (= instructions) costing 1 point each.5
Loop 10 - xy_modelExecution Time: 4 % - Vectorization Ratio: 0.00 % - Vector Length Use: 0.00 %
Loop 9 - xy_model+Execution Time: 3 % - Vectorization Ratio: 2.38 % - Vector Length Use: 11.90 %
Loop Computation Issues+2
[SA] Presence of a large number of scalar integer instructions - Simplify loop structure, perform loop splitting or perform unroll and jam. This issue costs 2 points.2
Control Flow Issues+5
[SA] Presence of calls - Inline either by compiler or by hand and use SVML for libm calls. There are 1 issues (= calls) costing 1 point each.1
[SA] Several paths (4 paths) - Simplify control structure or force the compiler to use masked instructions. There are 4 issues ( = paths) costing 1 point each.4
Data Access Issues+2
[SA] Presence of constant non unit stride data access - Use array restructuring, perform loop interchange or use gather instructions to lower a bit the cost. There are 1 issues ( = data accesses) costing 2 point each.2
Vectorization Roadblocks+7
[SA] Presence of calls - Inline either by compiler or by hand and use SVML for libm calls. There are 1 issues (= calls) costing 1 point each.1
[SA] Several paths (4 paths) - Simplify control structure or force the compiler to use masked instructions. There are 4 issues ( = paths) costing 1 point each.4
[SA] Presence of constant non unit stride data access - Use array restructuring, perform loop interchange or use gather instructions to lower a bit the cost. There are 1 issues ( = data accesses) costing 2 point each.2
Loop 16 - xy_modelExecution Time: 2 % - Vectorization Ratio: 0.00 % - Vector Length Use: 0.00 %
Loop 12 - xy_modelExecution Time: 2 % - Vectorization Ratio: 0.00 % - Vector Length Use: 0.00 %
Loop 14 - xy_modelExecution Time: 2 % - Vectorization Ratio: 0.00 % - Vector Length Use: 0.00 %
Loop 15 - xy_modelExecution Time: 2 % - Vectorization Ratio: 0.00 % - Vector Length Use: 0.00 %
Loop 11 - xy_modelExecution Time: 1 % - Vectorization Ratio: 0.00 % - Vector Length Use: 0.00 %
Loop 17 - xy_modelExecution Time: 1 % - Vectorization Ratio: 0.00 % - Vector Length Use: 0.00 %
Loop 13 - xy_modelExecution Time: 1 % - Vectorization Ratio: 0.00 % - Vector Length Use: 0.00 %

Code Quality  

[ 4 / 4 ] Enough time of the experiment time spent in analyzed loops (38.42%)

If the time spent in analyzed loops is less than 30%, standard loop optimizations will have a limited impact on application performances.

[ 4 / 4 ] Threads activity is good

On average, more than 1563.02% of observed threads are actually active

[ 4 / 4 ] CPU activity is good

CPU cores are active 98.52% of time

[ 4 / 4 ] Loop profile is not flat

At least one loop coverage is greater than 4% (13.66%), representing an hotspot for the application

[ 4 / 4 ] Enough time of the experiment time spent in analyzed innermost loops (24.74%)

If the time spent in analyzed innermost loops is less than 15%, standard innermost loop optimizations such as vectorisation will have a limited impact on application performances.

[ 4 / 4 ] Affinity is good (99.84%)

Threads are not migrating to CPU cores: probably successfully pinned

[ 3 / 3 ] Less than 10% (0.00%) is spend in BLAS1 operations

It could be more efficient to inline by hand BLAS1 operations

[ 3 / 3 ] Functions mostly use all threads

Functions running on a reduced number of threads (typically sequential code) cover less than 10% of application walltime (0.00%)

[ 3 / 3 ] Cumulative Outermost/In between loops coverage (13.68%) lower than cumulative innermost loop coverage (24.74%)

Having cumulative Outermost/In between loops coverage greater than cumulative innermost loop coverage will make loop optimization more complex

[ 2 / 2 ] Less than 10% (0.00%) is spend in BLAS2 operations

BLAS2 calls usually could make a poor cache usage and could benefit from inlining.

[ 0 / 2 ] More than 10% (58.30%) is spend in Libm/SVML (special functions)

The application is heavily using special math functions (powers, exp, sin etc…) proper library version have to be used. Exact accuracy needs have to be evaluated. Perform input value profiling, first count how many different input values. Recompile with -ffast-math or -Ofast to help/enable vectorization of loops calling math functions.

Loops Overview

Loop IDAnalysisPenalty Score
Loop 18 - xy_model+Execution Time: 13 % - Vectorization Ratio: 8.87 % - Vector Length Use: 13.81 %
Loop Computation Issues+2
[SA] Presence of a large number of scalar integer instructions - Simplify loop structure, perform loop splitting or perform unroll and jam. This issue costs 2 points.2
Control Flow Issues+21
[SA] Presence of calls - Inline either by compiler or by hand and use SVML for libm calls. There are 2 issues (= calls) costing 1 point each.2
[SA] Too many paths (13 paths) - Simplify control structure. There are 13 issues ( = paths) costing 1 point each with a malus of 4 points.17
[SA] Non innermost loop (InBetween) - Collapse loop with innermost ones. This issue costs 2 points.2
Data Access Issues+7
[SA] Presence of special instructions executing on a single port (INSERT/EXTRACT, BLEND/MERGE) - Simplify data access and try to get stride 1 access. There are 5 issues (= instructions) costing 1 point each.5
[SA] More than 20% of the loads are accessing the stack - Perform loop splitting to decrease pressure on registers. This issue costs 2 points.2
Vectorization Roadblocks+21
[SA] Presence of calls - Inline either by compiler or by hand and use SVML for libm calls. There are 2 issues (= calls) costing 1 point each.2
[SA] Too many paths (13 paths) - Simplify control structure. There are 13 issues ( = paths) costing 1 point each with a malus of 4 points.17
[SA] Non innermost loop (InBetween) - Collapse loop with innermost ones. This issue costs 2 points.2
Inefficient Vectorization+5
[SA] Presence of special instructions executing on a single port (INSERT/EXTRACT, BLEND/MERGE) - Simplify data access and try to get stride 1 access. There are 5 issues (= instructions) costing 1 point each.5
Loop 10 - xy_modelExecution Time: 4 % - Vectorization Ratio: 0.00 % - Vector Length Use: 0.00 %
Loop 9 - xy_model+Execution Time: 3 % - Vectorization Ratio: 2.38 % - Vector Length Use: 11.90 %
Loop Computation Issues+2
[SA] Presence of a large number of scalar integer instructions - Simplify loop structure, perform loop splitting or perform unroll and jam. This issue costs 2 points.2
Control Flow Issues+5
[SA] Presence of calls - Inline either by compiler or by hand and use SVML for libm calls. There are 1 issues (= calls) costing 1 point each.1
[SA] Several paths (4 paths) - Simplify control structure or force the compiler to use masked instructions. There are 4 issues ( = paths) costing 1 point each.4
Data Access Issues+2
[SA] Presence of constant non unit stride data access - Use array restructuring, perform loop interchange or use gather instructions to lower a bit the cost. There are 1 issues ( = data accesses) costing 2 point each.2
Vectorization Roadblocks+7
[SA] Presence of calls - Inline either by compiler or by hand and use SVML for libm calls. There are 1 issues (= calls) costing 1 point each.1
[SA] Several paths (4 paths) - Simplify control structure or force the compiler to use masked instructions. There are 4 issues ( = paths) costing 1 point each.4
[SA] Presence of constant non unit stride data access - Use array restructuring, perform loop interchange or use gather instructions to lower a bit the cost. There are 1 issues ( = data accesses) costing 2 point each.2
Loop 12 - xy_modelExecution Time: 2 % - Vectorization Ratio: 0.00 % - Vector Length Use: 0.00 %
Loop 16 - xy_modelExecution Time: 2 % - Vectorization Ratio: 0.00 % - Vector Length Use: 0.00 %
Loop 14 - xy_modelExecution Time: 2 % - Vectorization Ratio: 0.00 % - Vector Length Use: 0.00 %
Loop 15 - xy_modelExecution Time: 2 % - Vectorization Ratio: 0.00 % - Vector Length Use: 0.00 %
Loop 11 - xy_modelExecution Time: 2 % - Vectorization Ratio: 0.00 % - Vector Length Use: 0.00 %
Loop 17 - xy_modelExecution Time: 1 % - Vectorization Ratio: 0.00 % - Vector Length Use: 0.00 %
Loop 13 - xy_modelExecution Time: 1 % - Vectorization Ratio: 0.00 % - Vector Length Use: 0.00 %

Experiment Quality  

[ 0 / 4 ] Application profile is too short (9.66 s)

If the overall application profiling time is less than 10 seconds, many of the measurements at function or loop level will very likely be under the measurement quality threshold (0,1 seconds).
Rerun to increase runtime duration: for example use a larger dataset or include a repetition loop.

[ 3 / 3 ] Most of time spent in analyzed modules comes from functions with source/debug info

-g option gives access to debugging informations, such are source locations.

[ 3.00 / 3 ] Architecture specific option -march=skylake-avx512 is used

[ 3 / 3 ] Most of time spent in analyzed modules comes from functions with compilation options informations and -fno-omit-frame-pointer is present

-fno-omit-frame-pointer improves the accuracy of callchains found during the application profiling.

[ 3 / 3 ] Optimization level option is correctly used

[ 3 / 3 ] Host configuration allows retrieval of all necessary metrics.

[ 2 / 2 ] Application is correctly profiled ("Others" category represents 0.02 % of the execution time)

To have a representative profiling, it is advised that the category "Others" represents less than 20% of the execution time in order to analyze as much as possible of the user code

[ 1 / 1 ] Lstopo present. The Topology lstopo report will be generated.

Code Quality  

[ 4 / 4 ] Enough time of the experiment time spent in analyzed loops (37.08%)

If the time spent in analyzed loops is less than 30%, standard loop optimizations will have a limited impact on application performances.

[ 4 / 4 ] Threads activity is good

On average, more than 3047.76% of observed threads are actually active

[ 4 / 4 ] CPU activity is good

CPU cores are active 96.49% of time

[ 4 / 4 ] Loop profile is not flat

At least one loop coverage is greater than 4% (13.15%), representing an hotspot for the application

[ 4 / 4 ] Enough time of the experiment time spent in analyzed innermost loops (23.90%)

If the time spent in analyzed innermost loops is less than 15%, standard innermost loop optimizations such as vectorisation will have a limited impact on application performances.

[ 4 / 4 ] Affinity is good (98.20%)

Threads are not migrating to CPU cores: probably successfully pinned

[ 3 / 3 ] Less than 10% (0.00%) is spend in BLAS1 operations

It could be more efficient to inline by hand BLAS1 operations

[ 3 / 3 ] Functions mostly use all threads

Functions running on a reduced number of threads (typically sequential code) cover less than 10% of application walltime (0.00%)

[ 3 / 3 ] Cumulative Outermost/In between loops coverage (13.18%) lower than cumulative innermost loop coverage (23.90%)

Having cumulative Outermost/In between loops coverage greater than cumulative innermost loop coverage will make loop optimization more complex

[ 2 / 2 ] Less than 10% (0.00%) is spend in BLAS2 operations

BLAS2 calls usually could make a poor cache usage and could benefit from inlining.

[ 0 / 2 ] More than 10% (55.92%) is spend in Libm/SVML (special functions)

The application is heavily using special math functions (powers, exp, sin etc…) proper library version have to be used. Exact accuracy needs have to be evaluated. Perform input value profiling, first count how many different input values. Recompile with -ffast-math or -Ofast to help/enable vectorization of loops calling math functions.

Loops Overview

Loop IDAnalysisPenalty Score
Loop 18 - xy_model+Execution Time: 13 % - Vectorization Ratio: 8.87 % - Vector Length Use: 13.81 %
Loop Computation Issues+2
[SA] Presence of a large number of scalar integer instructions - Simplify loop structure, perform loop splitting or perform unroll and jam. This issue costs 2 points.2
Control Flow Issues+21
[SA] Presence of calls - Inline either by compiler or by hand and use SVML for libm calls. There are 2 issues (= calls) costing 1 point each.2
[SA] Too many paths (13 paths) - Simplify control structure. There are 13 issues ( = paths) costing 1 point each with a malus of 4 points.17
[SA] Non innermost loop (InBetween) - Collapse loop with innermost ones. This issue costs 2 points.2
Data Access Issues+7
[SA] Presence of special instructions executing on a single port (INSERT/EXTRACT, BLEND/MERGE) - Simplify data access and try to get stride 1 access. There are 5 issues (= instructions) costing 1 point each.5
[SA] More than 20% of the loads are accessing the stack - Perform loop splitting to decrease pressure on registers. This issue costs 2 points.2
Vectorization Roadblocks+21
[SA] Presence of calls - Inline either by compiler or by hand and use SVML for libm calls. There are 2 issues (= calls) costing 1 point each.2
[SA] Too many paths (13 paths) - Simplify control structure. There are 13 issues ( = paths) costing 1 point each with a malus of 4 points.17
[SA] Non innermost loop (InBetween) - Collapse loop with innermost ones. This issue costs 2 points.2
Inefficient Vectorization+5
[SA] Presence of special instructions executing on a single port (INSERT/EXTRACT, BLEND/MERGE) - Simplify data access and try to get stride 1 access. There are 5 issues (= instructions) costing 1 point each.5
Loop 10 - xy_modelExecution Time: 4 % - Vectorization Ratio: 0.00 % - Vector Length Use: 0.00 %
Loop 9 - xy_model+Execution Time: 3 % - Vectorization Ratio: 2.38 % - Vector Length Use: 11.90 %
Loop Computation Issues+2
[SA] Presence of a large number of scalar integer instructions - Simplify loop structure, perform loop splitting or perform unroll and jam. This issue costs 2 points.2
Control Flow Issues+5
[SA] Presence of calls - Inline either by compiler or by hand and use SVML for libm calls. There are 1 issues (= calls) costing 1 point each.1
[SA] Several paths (4 paths) - Simplify control structure or force the compiler to use masked instructions. There are 4 issues ( = paths) costing 1 point each.4
Data Access Issues+2
[SA] Presence of constant non unit stride data access - Use array restructuring, perform loop interchange or use gather instructions to lower a bit the cost. There are 1 issues ( = data accesses) costing 2 point each.2
Vectorization Roadblocks+7
[SA] Presence of calls - Inline either by compiler or by hand and use SVML for libm calls. There are 1 issues (= calls) costing 1 point each.1
[SA] Several paths (4 paths) - Simplify control structure or force the compiler to use masked instructions. There are 4 issues ( = paths) costing 1 point each.4
[SA] Presence of constant non unit stride data access - Use array restructuring, perform loop interchange or use gather instructions to lower a bit the cost. There are 1 issues ( = data accesses) costing 2 point each.2
Loop 16 - xy_modelExecution Time: 2 % - Vectorization Ratio: 0.00 % - Vector Length Use: 0.00 %
Loop 12 - xy_modelExecution Time: 2 % - Vectorization Ratio: 0.00 % - Vector Length Use: 0.00 %
Loop 14 - xy_modelExecution Time: 2 % - Vectorization Ratio: 0.00 % - Vector Length Use: 0.00 %
Loop 15 - xy_modelExecution Time: 2 % - Vectorization Ratio: 0.00 % - Vector Length Use: 0.00 %
Loop 11 - xy_modelExecution Time: 1 % - Vectorization Ratio: 0.00 % - Vector Length Use: 0.00 %
Loop 17 - xy_modelExecution Time: 1 % - Vectorization Ratio: 0.00 % - Vector Length Use: 0.00 %
Loop 13 - xy_modelExecution Time: 1 % - Vectorization Ratio: 0.00 % - Vector Length Use: 0.00 %
×