Title :
The performance impact analysis of loop unrolling
Author :
Velkoski, Goran ; Gusev, Marjan ; Ristov, Sasko
Author_Institution :
Innovation LLC, Skopje, Macedonia
Abstract :
Loop unrolling is a well known technique, which usually results with speedup of a program that contains loops. The effect is obtained by reducing the operations that require counter increases and branch jumps at the end of the loops. This paper analyzes the impact of loop unrolling on various processor types and memory patterns. The experiments show a high correlation between the cache and the problem size. The loop unrolling results with a higher speedup for the execution of a smaller size problem, while it does not have impact for a problem whose size is greater than the capacity of the last level cache size, due to the huge number of cache misses. Another important result is that the loop unrolling achieves greater speedup on Intel, rather than AMD CPU. In this paper we analyze and discuss the various behaviors of loop unrolling.
Keywords :
program control structures; software performance evaluation; Intel; cache misses; loop unrolling; memory patterns; performance impact analysis; processor types; Cache memory; Computer architecture; Correlation; Hardware; Optimization methods; Testing; AMD; Intel; Performance;
Conference_Titel :
Information and Communication Technology, Electronics and Microelectronics (MIPRO), 2014 37th International Convention on
Conference_Location :
Opatija
Print_ISBN :
978-953-233-081-6
DOI :
10.1109/MIPRO.2014.6859582