Skip to content

‹ Back to Research

POP: Performance assessment of OpenNN

Artelnics and BSC assessed OpenNN’s OpenMP performance through the POP Centre of Excellence in 2016, identifying optimisation opportunities for parallel neural network training.

In 2016, Artelnics worked with the Barcelona Supercomputing Center (BSC) through the Performance Optimisation and Productivity (POP) Centre of Excellence to assess the parallel performance of OpenNN, the C++ machine learning library used as the engine of Neural Designer.

Barcelona Supercomputing Center (BSC)
Research collaboration with BSC through the POP programme.

Context

Training neural networks requires repeated calculations of the loss function and its gradient. Artelnics wanted to understand how efficiently OpenNN used multiple CPU cores and identify opportunities for further optimisation.

Procedure

Artelnics collected execution traces on an Intel Core i7-4790 system with four physical cores. BSC analysed runs with two, four and eight OpenMP threads, examining parallel efficiency, load balance, synchronisation overhead and processor performance counters.

The study focused on the main computation loop and the routines that calculate the loss and its gradient. It also compared one thread per core with the use of Intel Hyper-Threading.

Results

The assessment found effective OpenMP parallelisation and identified where load imbalance, repeated computations and memory behaviour affected efficiency. Running eight threads on four physical cores reduced execution time for the analysed workload. The report also recommended evaluating scalability on larger nodes.

This analysis formed part of Artelnics’ HPC work with BSC. The subsequent SHAPE collaboration studied shared-memory and distributed-memory parallelisation using OpenMP and MPI. The results on this page refer to the hardware and code evaluated in the 2016 POP assessment.

Technical report

OpenNN performance assessment report (POP_AR_13), 26 April 2016. Author: Judit Gimenez (BSC). Contributor: Jesus Labarta (BSC). Artelnics contacts: Roberto Lopez and Fernando Gomez.

Read the POP technical report (PDF, 10 pages)

The complete original report is hosted on this website, with its authorship and notices preserved. Original source: POP Centre of Excellence.

The POP Centre of Excellence received funding from the European Union’s Horizon 2020 research and innovation programme under grant agreement No. 676553.