Witx6820Cinx6465r Stephenx204Dx2052x756Dbx6C65 ID: 472768
Download Pdf The PPT/PDF document "A灰re桥湤i湧..." is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.
A灰re桥湤i湧⁊oule⁔桩eves Wit栠Cin摥r Stephen⁍.⁒畭b汥, Ry慮⁓tutsm慮 Phi汩p⁌evisⰠDavid Mazi res St慮ford⁕nivers楴y 乩cko污i⁚eldov楣h MIT Ha湤桥l搠䱩n畸 Des歴o瀠Reso畲c攠M慮age浥湴 I映itꥳ汯w 慤搠浯r攠 r敳潵r捥s The Statef⁍o扩le⁄evices Complex Run湩ng full UNIX stacks Multiprogramm敤 卯ftwar攠f牯m many sourc敳 Hard to trac攠牥sou牣攠co湳umption to individual tasks 啳敲s car攠about E湥rgy N整work T桥 F畴畲ef⁍o扩le⁄evices Need 湥w 体 mec桡ni獭s Make resour捥 慣countin朠愠fi牳t 捬慳s 体 primitive T桩s t慬k:ner杹 S慭e mech慮ism 慰plies to networkin本 which is e慳ier Cinder⁏S Simple kernel E慳y toe慳on扯ut F慭ili慲 UNI堠userl慮d Ci湤e爠Goals En敲gy as a first class r敳o畲ce Track it Ration it 䑥legate it In terms the 畳er 畮derstands Talk time/Standby time rationing Ph潮e ca汬s (tota氠ta汫 t業e, 911) 䝡mes & W楤gets” folder Ema楬 (c潭p潳楮g ve牳畳 p潬l楮g) Capacitors Firstc污ssbstr慣t楯n C慮e n慭ed湤 m慮ipulat敤 Prot散t敤 by p敲missio湳 Al氠threads畮 楮 the 捯ntext of oner more Tr慣k湤 ratio渠r敳潵rc敳 f潲llctio湳 C偕⁵s慧e Fl慳h⁷rit敳 N整w潲k⁴r慮s浩ssi潮s Capacitors m慰s Capacitors Inputate T桲ottles co湳umption m慰s 1 W –0 Capacitors Inp畴ate T桲ottles co湳umption Energ礠st潲age Allowsor bursti湥ss m慰s 1 W –– Capacitors Inp畴ate T桲ottles co湳umption Storedner杹 Allowsor bursti湥ss H慬flife Acts as a c敩li湧 Prev敮tsoardi湧/starv慴ion m慰s 1 W –2 Capacitors Inp畴ate T桲ottles co湳umption Storedner杹 Allowsor bursti湥ss H慬f汩fe Acts as a c敩li湧 Prev敮tsoardi湧/starv慴ion F潲m 愠hierarchy m慰s 1 W 1 W –3 Hierarchy Al汯ws compositionf po汩c楥s Act楯nsebited⁵pward To⁴h攠batt敲y B汯ck onn礠empty ancestor C慮't p敲f潲m acti潮s 䕦f散tively慴攠limit敤 m慰s –4 Hierarchy Al汯ws compositionf po汩c楥s Act楯nsebited⁵pward To⁴h攠batt敲y B汯ck onn礠empty ancestor C慮't p敲f潲m acti潮s 䕦f散tively慴攠limit敤 m慰s –5 Hierarchy Al汯ws compositionf po汩c楥s Act楯nsebited⁵pward To⁴h攠batt敲y B汯ck onn礠empty ancestor C慮't p敲f潲m acti潮s 䕦f散tively慴攠limit敤 m慰s –6 Hierarchy Al汯ws compositionf po汩c楥s Act楯nsebited⁵pward To⁴h攠batt敲y B汯ck onn礠empty ancestor C慮't p敲f潲m acti潮s 䕦f散tively慴攠limit敤 m慰s –7 Hierarchy Al汯ws compositionf po汩c楥s Act楯nsebited⁵pward To⁴h攠batt敲y B汯ck onn礠empty ancestor C慮't p敲f潲m acti潮s 䕦f散tively慴攠limit敤 m慰s –8 Hierarchy Al汯ws compositionf po汩c楥s Act楯nsebited⁵pward To⁴h攠batt敲y B汯ck onn礠empty ancestor C慮't p敲f潲m acti潮s 䕦f散tively慴攠limit敤 m慰s –9 T桲ottl攠Ga浥s 20 KJ 0⁊ wumpus rogue spacewar 20 Downloa摥搠A灰s Includ攠r敳潵rc攠 d散larations Background / Foreground H潬d th敭 to it 1 MB/mo ($.40) about 3 扰s 24 hrs active life about 250 mW 20 KJ 250 W 0 J 20〠䵂 0⁂ 3ps iFoo 2– Com灯sition 20 KJ 0 J wumpus rogue sp慣ewar W 0 J iFoo 250 W 22 Li浩ts渠Bac歧rou湤⁁p灳 Userꥳ 數pectations 䑲iven from interaction Not vi獩ble not u獩ng energy For敧round” Capacitor Increa獥d re獰onsivene獳/fidelity Matche猠u獥r'猠expectations 䑲iven from 獰ecification for downloaded apps 20 KJ iFoo 250 W 1⁗ 23 Li浩ts渠Bac歧rou湤⁁p灳 Userꥳ 數pectations 䑲iven from interaction Not vi獩ble not u獩ng energy For敧round” Capacitor Increa獥d re獰onsivene獳/fidelity Matche猠u獥r'猠expectations 䑲iven from 獰ecification for downloaded apps 20 KJ iFoo 250 W 1⁗ 24 Capacitors Finegra楮ed Tr慣ki湧 R慴ioni湧 Li浩ts R敳敲v慴i潮s Delegation 䍯mposab汥 䍡nepresent Users Applicati潮s Cl慳s敳f Apps V敮摯rs W敢慰plic慴i潮 佲igi湳 䕡sily xpresses re慬orld ⁰oli捩es 25 I湩ti慬⁒敳畬ts OS runni湧 o渠t桥 HTC Dream AKA⁔ⵍobile⁇1 with Google KeyboardⰠDisplayⰠSerial⁰ort 䥮comingnd outgoing⁰honealls work N漠audio Text messaging works GPS worksor‴5econds Also ru湳 潮 x86_64 摥skt潰猯污pt潰s 26 I湩ti慬⁒敳畬ts 䍡pac楴orsmplemented All ⁴桲e慤sr攠慣c潵湴ed潲 usi湧慰慣it潲s Only 慣counts for⁴he CPU 27 Re浡i湩湧 Work 䍲eate aich energ礠mode氠forev楣e 䡯p敦ully⁴桥⁈TC⁄r敡m 䍲慦t 楮terest楮g po汩c楥s V慬i摡te t桥 approach E硰eriment 睩th⁵sernvolvement Allow⁴桥⁵s敲 top散ify⁰潬icies 敡sily 28 Q&A 29 Exam灬e 30 Exam灬e 3– Per浩ssio湳 Ownership a汬ows a⁴hre慤⁴o Ch慮g攠th攠c慰慣it潲ꥳ⁰慲慭整敲s 䝲慮tth敲⁴hr敡ds Own敲ship 䍯ns畭ption al汯ws⁴hread to Us攠敮ergyf⁴h攠c慰慣itor R敡dn敲gyev敬sf⁴h攠c慰慣itor Att慣hhild慰慣it潲s 䝲慮tth敲⁴hr敡ds C潮sumpti潮 32 C畲re湴 䵥c桡nis浳 Users Disk quot慳 N漠d敬敧慴i潮 Processes Prioriti敳 C慮ꥴ r敡s潮 about Killwitch Child⁰r潣敳s敳nh敲it s慭攠limits Neitherddressnergyretw潲king 33 Stateoft桥artcco畮ti湧 Pr潦ile devicestate consumpti潮 Statically or dynamically Acc潵nt t漠tasks Bill for devicestate changes 䑩ffic畬ties Ambiguity Lack of finegrained sensors Pri潲 c潮tr潬 systems limited 34 S畢摩vision m慰s route render gpssense guishell 35 Cgro異s 䍩nder 䕮敲gy Applicatio渠c潮troll敤 L楮u砠Cgro異s No湥rgy y整 Pluggable 䱡rgeer湥l ⁈igh b慳eli湥 36 setrli浩t 䍡pac楴ors 䕮敲gy Network 䱩mits Blocksn⁶i潬慴i潮 R敳erv慴i潮s F潲⁵s攠in t桥 g敮eral c慳e setrlim楴 No湥rgy No整work Kill먠limits S敮dsign慬r aborts No⁒敳敲vatio湳 I湴e湤edor runaways 37 ECOsyste洯C畲re湴cy 䍩nder 䡩敲慲c桩c慬 Network ECOsystem T慳k먠Co湴慩湥rs 䕮敲gyp散ific 38 Overco浭itti湧† †† † ††† 䍯ntent楯n foreso畲ces Firstc潭攭firstserv敤 10⁗ 6 W 6 W 39 Reservatio湳 No⁏vercomm楴楮g Acts a敳erv慴ion Guar慮t敥d湤et asi摥 Works As慴e Asⁱu慮tity 10⁗ 6 W 4 W 40 Reservatio湳 No⁏vercomm楴楮g Acts a敳erv慴ion Guar慮t敥d湤et asi摥 Works As慴e Asⁱu慮tity 1〠J 6⁊ 4⁊ 12 J 4– G畡ra湴ee‵浩湵te‹11all 20 KJ 25〠J 911 42 T桲ottl攠Ga浥s 20 KJ 0⁊ wumpus rogue spacewar 43 Com灯sition 20 KJ W 25〠J 911 0⁊ wumpus rogue spacewar 44 A浯rtizi湧⁇偓⁃osts G偓d maps 45 A浯rtizi湧⁇偓⁃osts G偓d maps 46 A浯rtizi湧⁇偓⁃osts G偓d maps 47 A浯rtizi湧⁇偓⁃osts G偓d maps 48 A浯rtizi湧⁇偓⁃osts G偓d locshare 49 A浯rtizi湧⁇偓⁃osts G偓d locshare 50 A浯rtizi湧⁇偓⁃osts G偓d locshare 5– A浯rtizi湧⁇偓⁃osts G偓d locshare 52 A浯rtizi湧⁇偓⁃osts G偓d locshare