five minutes of rage with snowflock
play

Five Minutes of Rage with SnowFlock H. Andrs Lagar Cavilla - PowerPoint PPT Presentation

Five Minutes of Rage with SnowFlock H. Andrs Lagar Cavilla andreslc@cs.toronto.edu Joe Whitney Adin Scannell Steve Rumble Philip Patchin Joe Whitney, Adin Scannell, Steve Rumble, Philip Patchin, Mike Brudno, Eyal de Lara, M. Satyanarayanan


  1. Five Minutes of Rage with SnowFlock H. Andrés Lagar ‐ Cavilla andreslc@cs.toronto.edu Joe Whitney Adin Scannell Steve Rumble Philip Patchin Joe Whitney, Adin Scannell, Steve Rumble, Philip Patchin, Mike Brudno, Eyal de Lara, M. Satyanarayanan University of Toronto (mostly) h http://sysweb.cs.toronto.edu/snowflock // b d / fl k

  2. The Basics The Basics • Cloud Computing Cloud Computing • Virtualization If you are not a believer, then you can f b li h

  3. The Basics The Basics • Cloud Computing Cloud Computing • Virtualization If you are not a believer, then you can f b li h • Resume your email checking activities • Return to your placid sleep • Dedicate to the noble art of schmoozing Dedicate to the noble art of schmoozing • Desert the room in search for caffeine

  4. The Rant The Rant • When I signed up for the cloud When I signed up for the cloud • The ad said: “100s of CPUs at your fingertips” • What it didn’t said was that: h i did ’ id h – New VMs show up in minutes – State needs to be pushed explicitly State needs to be pushed explicitly

  5. New VMs Show Up in Minutes New VMs Show Up in Minutes • #@ ��� ! I missed my flash crowd #@ ��� ! I missed my flash crowd… • I wait two mins to start my 40sec parallel task – Sequence alignment, rendering, quant pricing S li t d i t i i – One hour w/one processor – 40 seconds w/128 processors / • Work around: pre ‐ allocate – $$$ – Consolidation harms performance

  6. State Has to Be Pushed Explicitly State Has to Be Pushed Explicitly • As in tell the new guys where we’re at As in, tell the new guys where we re at – Because they’re basically fresh boots – Or were pre ‐ allocated two weeks ago Or were pre allocated two weeks ago • Message passing, etc

  7. Wouldn’t it be nice if the cloud was UNIX? • You could fork your VMs You could fork your VMs • Like processes do • And wouldn’t it be nice to fork d ld ’ i b i f k instantaneously • And make your VMs stateful too… • Wouldn’t it be nice?

  8. The Beach Boys Were Dreaming of SnowFlock l k • Which through a melange of cunning hacks Which, through a melange of cunning hacks • Clones a VM into dozens of identical copies • In less than a second l h d • Each executing on a different box • With negligible runtime overhead • Thus enabling hundred of CPUs instantly at Thus enabling hundred of CPUs instantly at your fingertips • As advertised • As advertised

  9. And As Easy To Program As And As Easy To Program As while (forever) receive new request i fork worker to handle it join worker when done join worker when done while (forever) ( ) if webserver load is high fork some new workers else if webserver load is low kill some of those extra workers (b (because I can come up with more workers later in no time) I ith k l t i ti )

  10. Free And Open Source Free And Open Source • http://sysweb cs toronto edu/snowflock http://sysweb.cs.toronto.edu/snowflock • H. Andrés Lagar ‐ Cavilla • andreslc@cs.toronto.edu d l @ d • Big team @ University of Toronto

Recommend


More recommend