• No results found

Characterization of Shared Resource Contention in Multi-core Systems

N/A
N/A
Protected

Academic year: 2021

Share "Characterization of Shared Resource Contention in Multi-core Systems"

Copied!
72
0
0

Loading.... (view fulltext now)

Full text

(1)

Characterisation of Shared Resource

Contention in Multi-core Systems

Jakob Danielsson

Ja ko b D a n ie lss o n C HA R A C TE R IS A TI O N O F S HA R ED R ES O U RC E C O N TE N TI O N I N M U LTI -C O R E S YS TE M S 20 19

Mälardalen University Licentiate Thesis 287

ISBN 978-91-7485-449-7 ISSN 1651-9256

Address: P.O. Box 883, SE-721 23 Västerås. Sweden Address: P.O. Box 325, SE-631 05 Eskilstuna. Sweden E-mail: info@mdh.se Web: www.mdh.se

Jakob Danielsson is a PhD student at Mälardalen University since August, 2016. Jakob received his B.Sc. degree in Computer Science from Mälardalen University, Sweden in 2014. In 2016, Jakob obtained a Masters degree in embedded systems. The same year in August, Jakob Started his PhD studies at Mälardalen University. His research interests include workload characterization, shared resource contention and resource isolation techniques in multi-core systems.

Multi-core computers are infamous for being hard to use in time-critical systems due to execution-time variations as an effect of shared resource contention. In this thesis we study the problem of shared resource contention which occurs when multiple applications executing on different cores and do not have exclusive ownership of a shared resource. We investigate performance variations of parallel tasks in multi-core systems and pinpoint the source of the performance variation and resource contention using performance counters. Furthermore, we investigate methods to mitigate performance variations using resource isolation techniques. We present a methodology for verifying isolation and tested the achieved isolation using the Jailhouse hypervisor. We further investigate shared cache memory isolation opportunities using a page coloring tool called PALLOC. Page-coloring is used for partitioning the cache, assigning specific cache lines to specific processes. Page coloring can however cause system performance degradation since it decreases the to-tal amount of cache memory available for each process. Finally, we propose a dynamic partitioning assignment policy which assigns cache partitions to a process according to an adaptive model based on the process performance. The general conclusion from our investigations is that a large body of applications can suffer from shared resource contention and that techniques for mitigating resource contention. Our methods measure characterise applications, identifies resource contention and finally suggests on isolation techniques.

(2)

Mälardalen University Press Licentiate Theses No. 287

CHARACTERIZATION OF SHARED RESOURCE

CONTENTION IN MULTI-CORE SYSTEMS

Jakob Danielsson

2019

School of Innovation, Design and Engineering

Mälardalen University Press Licentiate Theses No. 287

CHARACTERIZATION OF SHARED RESOURCE

CONTENTION IN MULTI-CORE SYSTEMS

Jakob Danielsson

2019

School of Innovation, Design and Engineering

(3)

Copyright © Jakob Danielsson, 2019 ISBN 978-91-7485-449-7

ISSN 1651-9256

Printed by E-Print AB, Stockholm, Sweden

Copyright © Jakob Danielsson, 2019 ISBN 978-91-7485-449-7

ISSN 1651-9256

Printed by E-Print AB, Stockholm, Sweden

(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
(14)
(15)
(16)
(17)
(18)
(19)
(20)
(21)
(22)
(23)
(24)
(25)
(26)
(27)
(28)
(29)
(30)
(31)
(32)
(33)
(34)
(35)
(36)
(37)
(38)
(39)
(40)
(41)
(42)
(43)
(44)
(45)
(46)
(47)
(48)
(49)
(50)
(51)
(52)
(53)
(54)
(55)
(56)
(57)
(58)
(59)
(60)
(61)
(62)
(63)
(64)
(65)
(66)
(67)
(68)
(69)
(70)
(71)
(72)

References

Related documents

Achieving t H 2 coherent interference cancelation i.e., | K j=1 hjk Cjk Dji vji | is small without enforcing that every term in the sum is small is more difficult under local CSI,

Experimental results show that the use of particle swarm optimization is suit- able for real-time target-based weapon allocation in situations involving up to approximately ten

Experiments are presented in which the real-time performance of various weapon allocation algorithms is compared, showing that nature-based optimization algo- rithms such as

IF the user chooses to read a post THEN 2.Read the post IF the user wants to start over THEN 3.GOTO the first step ELSE IF the user wants to see the author’s profile THEN 4.STOP

England provides a prime example of where the content has been packed into one subject (Computing). In other countries, Sweden included, this has not been the route taken;

Jag ser i mitt material att alla föräldrar är nöjda med den information de får på dessa möten och att de tycker att den svenska skolan är bra på det sättet eftersom de vet hur

Figure 35.6 Mitral valve annular and leaflet geometry (TOP) during specific instants (COLOR CODED) associated with (BOTTOM) left ventricular inflow (FLOW, dashed) and left

Andr eas Löfwenmark Timing Pr edict ability in Futur e Multi-Cor e A vionics Syst ems