Gloss Seamless Live Reconfiguration and Reoptimization of Stream
- Slides: 38
Gloss: Seamless Live Reconfiguration and Reoptimization of Stream Programs SUMANARUBAN RAJADURAI*, JEFFREY BOSBOOMʄ, WENG-FAI WONG*, SAMAN AMARASINGHEʄ *NATIONAL UNIVERSITY OF SINGAPORE 26 -MARCH-2018 @ASPLOS’ 18 ʄMIT CSAIL
Characteristics of Stream Programs • Long running programs • Require high performance • Require high quality-of-service
Programs on Modern Hardware Environments (Datacenters/Clouds) 1. Highly Dynamic Environments a. Hardware Maintenance b. Resource fluctuations c. Failtures 1. Reconfiguration 2. Migration
Programs on Modern Hardware Environments (Datacenters/Clouds) Unacceptable downtime/service interruption Sub-optimal program
Programs on Modern Hardware Environments (Datacenters/Clouds) • Synchronous Data Flow (SDF) based stream programs do not take advantage of elastic cloud • They are still confined into specialized hardware • Longer development time • Close to any modification or changes • Expensive Gloss solves these issues
Our Approach • Seamless Live Reconfiguration • Cluster-wide Dynamic recompilation Implemented on Stream. JIT ◦ Distributed compiler and runtime system for high-performance stream processing
Stream Graph • Actors • Channels
Stream Graph • Static pop, push rates Pop-3, Push-1
Stream Graph • Static pop, push rates
Stream Graph • Peeking
Stream Graph • Stateful actors Var a, b, c;
Stream. JIT’s Execution Model Controller Node-1 Node-2
Program Life Cycle Initialization Steady State Draining
Reconfiguratio n n n-1 n-2 n+3 n+2 n+1
Reconfiguratio n Internal buffers and Worker states n n-1 n-2 n+3 n+2 n+1
State Dependency • Deterministically persisting and transferring the program state • State is continuously changing • State is distributed
e 2 e 1 h Ins tanc Grap Drai n Com ing pilat ion Initia lizat ion h Ins tanc Grap Stop-and-Copy Reconfiguration
nce 2 Insta Grap h Drai ning Com pilat ion Initia lizat ion Grap h Insta nce 1 Compilation time Downtime • Challenge 1 : Hide the recompilation time as much as possible
Two-phase recompilation Phase-1 ◦ Compile all the time-consuming compiler operations, generating an intermediate output where state is not incorporated Phase-2 ◦ Installs the program state and generates state-incorporated output
nce 1 Insta Downtime Visible recompilation time Grap h nce 2 Insta Pha se-1 Drai ning Pha se-2 Initia lizat ion Grap h Two-phase recompilation
nce 1 Insta Downtime Grap h nce 2 Insta Pha se-1 Drai ning Pha se-2 Initia lizat ion Grap h Goal
Challenges • Hiding draining and initialization time • Deterministically persisting and transferring the program state • State is continuously changing • State is distributed
Techniques • Input duplication and concurrent execution • Asynchronous state transfer (AST)
Controller
n+1 n Current Input Controller
n+1 Controller
n+1 Controller
Controller
Controller
Controller
Controller
Controller
Final Time Breakdown AST Phase-1 Graph Instance 1 Phase-2 Initialization Graph Instance 2 Draining Concurrent Execution
v. Motion vs. Gloss Beamformer
Elastic Computing FM Radio on Amazon EC 2
Elastic Computing n No of Nodes 6 5 4 2 FM Radio on Amazon EC 2 5 4 No down time
Conclusion • Live reconfiguration is a practical necessity for long-running programs • Gloss for the first time • Downtime Free Reconfiguration • Cluster-wide Dynamic Recompilation • SDF programs can now take advantage of the elastic cloud • Cloud Radio Access Network (C-RAN) – 5 G • Gloss enables commoditization and virtualization of large and complex SDF-based stream programs
Thank You!
- Rrc connection reconfiguration
- Rrc connection reconfiguration
- Soft-reconfiguration inbound
- Soft-reconfiguration inbound
- Differentiate byte stream and character stream
- Mark z.com
- Basha high football
- Internetmultimedia org live stream
- The original markz twitch
- Medscope university of maryland
- Lip gloss slogans
- Dliflc gloss
- Dliflc gloss
- Anguage
- Gum in asl
- Dliflc gloss
- Difference between dry and wet calcination
- Question maker face asl
- What does gloss phobia mean
- Gloss sea level
- National anthem asl gloss
- Go to www.quizlet.live
- Live healthy be happy
- Seamless apparel
- Mpls
- Seamless quote example
- Seamless care meaning
- Seamless acceptance
- Seamless learning definition
- Nkk seamless pipe
- Usps seamless acceptance
- Tianjin welded pipe
- Seamless transition examples
- Seamless southern africa
- A seamless
- A seamless
- Poisson image editing
- Bab 7 manusia, sains, teknologi dan seni
- Chapter 11 section 2 stream and river deposits answer key