Yukta : Multilayer Resource Controllers to Maximize Efficiency - - PowerPoint PPT Presentation

yukta multilayer resource controllers to maximize
SMART_READER_LITE
LIVE PREVIEW

Yukta : Multilayer Resource Controllers to Maximize Efficiency - - PowerPoint PPT Presentation

Yukta : Multilayer Resource Controllers to Maximize Efficiency Raghavendra Pradyumna Pothukuchi Sweta Yamini Pothukuchi Petros Voulgaris Josep Torrellas http://iacoma.cs.uiuc.edu/ International Symposium on Computer Architecture (ISCA) 2018


slide-1
SLIDE 1

Yukta: Multilayer Resource Controllers to Maximize Efficiency

Raghavendra Pradyumna Pothukuchi Sweta Yamini Pothukuchi Petros Voulgaris Josep Torrellas

International Symposium on Computer Architecture (ISCA) 2018

http://iacoma.cs.uiuc.edu/

slide-2
SLIDE 2

Resource Management in Computers

Limited resources Many objectives Configurable parameters

Energy Storage Frequency Scheduling Performance Thermals Fairness

Resource Management System

slide-3
SLIDE 3

Designing Computer Resource Management Systems

Hardware OS/Runtime Application

Different resources, parameters and design teams!

3

Modular Coordinated Handle uncertainty

slide-4
SLIDE 4

Contributions of This Work

▪ Propose Robust Control Theory for computer resource management

– Describe why robust control theory is essential for computers

▪ Develop Yukta, a modular approach for coordinated multilayer control

– Present how robust control theory is applied to multilayer resource management

▪ Prototype Yukta on an ARM big.LITTLE octacore running Ubuntu

– 37% better performance and 20% lower energy than state-of-the-art

4

slide-5
SLIDE 5

Why Robust Control Theory is Suitable for Computers? - I

▪ Robust control theory: Branch of control theory for uncertain environments ▪ Designers set a guardband for the amount of uncertainty to tolerate

– 60% guardband ⇒ controller’s guarantees hold even if model is off by 60%

▪ Computer control faces many forms of uncertainty

– Partial system view, controller interference, program behavior, limited modeling… System Uncertainty Model

5

Robustness to uncertainty enables optimality under modularity

slide-6
SLIDE 6

▪ Robust controllers have input channels for communication

Conventional Controller

Why Robust Control Theory is Suitable for Computers? - II

System (Processor) Outputs Inputs Robust Controller

_ +

Targets External signals #Tasks (from OS)

6

e.g., frequency e.g., power

We use Externals signals for controller communication

e.g., power target

slide-7
SLIDE 7

Why Robust Control Theory is Suitable for Computers? - III

▪ Can work with discretized inputs as common in computers

– E.g., core frequency, 𝑔∈{2 ¡𝐻𝐼𝑨, ¡2.2 ¡𝐻𝐼𝑨 ¡…3 ¡𝐻𝐼𝑨}

▪ Guarantee precise bounds on meeting targets

– E.g., core power can be kept within ±0.05 W of the power target

7

Robust control theory is highly desirable for computer systems

slide-8
SLIDE 8

e.g., power target Multilayer system Robust Controller

Yukta: Multilayer Robust Controllers

Modularly designed and guaranteed optimal behavior First to propose robust control for modular multilayer management

8

Layer 1 (Processor) Outputs Inputs

_ +

Targets External signals

#Tasks (from OS)

e.g., frequency e.g., power Robust Controller Layer 2 (OS) Outputs Inputs

_ +

Targets Optimizer Optimizer

Design goals

min E×D min E×D

slide-9
SLIDE 9

Automated Synthesis of the Robust Controller

▪ Designer provides a model, and:

– Output deviation bounds (𝐶) : e.g, ±0.05W for power deviations – Input weights (𝑋) : Relative overheads – Discrete input values (​Δ↓in ) – Uncertainty guardbands (​Δ↓𝑣 ) : Degree of desired robustness

Model Observed Outputs Inputs Robust Controller

_ +

Targets ​𝚬↓𝒋𝒐 𝒐 ​𝚬↓𝒗 ↓𝒗 𝑪 𝑿 Deviations

9

Nominal loop System

slide-10
SLIDE 10

Automated Synthesis of the Robust Controller

▪ Designer provides a model, and:

– Output deviation bounds (𝐶) : e.g, ±0.05W for power deviations – Input weights (𝑋) : Relative overheads – Discrete input values (​Δ↓in ) – Uncertainty guardbands (​Δ↓𝑣 ) : Degree of desired robustness

Nominal loop 𝑶 𝚬 Targets Observed Outputs

Structured Singular Value 𝑻𝑻𝑾

𝑻𝑻𝑾(𝑶,𝚬)

Can the controller guarantee the bounds optimally even under uncertainty as big as the guardband? Synthesis is automated!

10

slide-11
SLIDE 11

Designing Multilayer Controllers

Select inputs,

  • utputs

Decide external signals Set controller parameters Design controller Modular and practical design Obtain model Select inputs,

  • utputs

Decide external signals Set controllers parameters Design controller Obtain model Interface Layer 1, e.g. OS team Layer 2, e.g. Hardware team

11

slide-12
SLIDE 12

Prototype Yukta on a Challenging System

12

Minimize Energy×Delay under thermal and power constraints

slide-13
SLIDE 13

Prototyped Yukta Architecture

13

slide-14
SLIDE 14

Designing Robust Controllers for the Prototype

14

Select inputs,

  • utputs

Decide External signals Set controller parameters Design controller Obtain model Interface Select inputs,

  • utputs

OS Robust Controller HW Robust Controller

Decide External signals Interface Obtain model Data driven modeling (System Identification): 2 benchmarks each from SPECint, SPECfp and PARSEC Set controller parameters § Output deviation bounds § Input weights § Input discretization § Uncertainty guardband Design controller

slide-15
SLIDE 15

Evaluation

Coordinated heuristics Yukta: Multilayer robust Monolithic non-robust

Average across 8 PARSEC and 6 SPEC (multiprogrammed) workloads

15

[ISCA’16] Industry based

Yukta makes the system 37% faster with 20% lower energy ⇒ 50% better ED

slide-16
SLIDE 16

Summary

▪ Dynamic resource management must meet many goals simultaneously ▪ Resource controllers should be modular and coordinated ▪ We propose using Robust Control Theory for computer management

– Optimized for uncertainty

▪ We develop Yukta for formal multilayer resource management ▪ Prototype demonstrates significant advancement

– 50% reduced Energy×Delay on average

▪ Yukta is essential for resource efficient computing

16

slide-17
SLIDE 17

Concluding Remarks

▪ More details in the paper

– Mathematical background of the Robust Controller – Yukta design details – Prototype design choices – Comparison with other designs and heterogeneous workloads – Sensitivity analysis

▪ Future work

– Heterogeneous components in a layer – Hierarchical organization of controllers

17

slide-18
SLIDE 18

Yukta: Energy×Delay minimization

22

slide-19
SLIDE 19

Yukta: Energy×Delay minimization

23

slide-20
SLIDE 20

Case Study with blackscholes

24

slide-21
SLIDE 21

Yukta: blackscholes

25

slide-22
SLIDE 22

Yukta: Comparison with LQG control

26

slide-23
SLIDE 23

Yukta: Heterogeneous Workloads

27

slide-24
SLIDE 24

Yukta: Sensitivity to Uncertainty Guardbands

28

slide-25
SLIDE 25

Yukta: Sensitivity to Output Bounds

29

slide-26
SLIDE 26

Yukta: Sensitivity to Input Weights

30