Building Unreliable Systems out of Reliable Components-The .ppt
《Building Unreliable Systems out of Reliable Components-The .ppt》由会员分享,可在线阅读,更多相关《Building Unreliable Systems out of Reliable Components-The .ppt(42页珍藏版)》请在麦多课文档分享上搜索。
1、Building Unreliable Systems out of Reliable Components: The Real Time Story,Edward A. Lee Professor, Chair of EE, and Associate Chair of EECS CHESS: Center for Hybrid and Embedded Software Systems UC Berkeley,Monterey Workshop Series 2005 Theme: Workshop on Networked Systems: realization of reliable
2、 systems on top of unreliable networked platforms September 23-25, 2005 Laguna Beach, CA,Electronics Technology Delivers Timeliness, and the overlaying abstractions discard it.,Computation in the 20th Century,f : 0,1* 0,1*,Computation in the 20th Century,initial state,final state,sequence,f : State
3、State,Time is irrelevantAll actions are orderedNontermination is a defectConcurrency is an illusion,Alan Turing,Exploiting the 20th Century Abstraction,Programming languages Debuggers Virtual memory Caches Dynamic dispatch Speculative execution Power management (voltage scaling) Memory management (g
4、arbage collection) Just-in-time (JIT) compilation Multitasking (threads and processes) Networking (TCP) Theory (complexity),What about timeliness?,Moores law has saved us!,In Core Software Abstractions: Real-Time is Not,Time is not in the semantics of programs. Have to step outside the semantics to
5、specify timing.Timing is a consequence of implementation not a property of design. Measured on the bench For a particular realizationResulting systems are brittle. Small changes have big consequences Ports to new platforms require redesign,The Myth of WCET Worst-Case Execution Time,True WCET can be
6、thousands of times bigger than actual execution time.In many implementations, true WCET is not a useful number.Dubious WCET is what is actually used.Correctness of even safety-critical systems depends on WCET being correct.,What is Done in Practice,Real-time systems are boxes, not software services.
7、Critical real-time systems use idiosyncratic, non-mainstream processors (like DSPs).Designs are bench tested, then encased.,APOT,The question: What would have to change to achieve absolutely, positively on time (APOT)?The answer: nearly everything.,What to do?,Put time into programming languages Pro
8、mising start: Simulink, Giotto, Discrete-event models Rethink the OS/programming language split Promising start: TinyOS/nesC Rethink the hardware/software split Promising start: FPGAs with programmable cores Memory hierarchy with predictability Promising start: Scratchpad memories vs. caches Memory
9、management with predictability Promising start: Bounded pause time garbage collection Predictable, controllable deep pipelines Promising start: Pipeline interleaving + stream-oriented languages Predictable, controllable, understandable concurrency Promising start: Synchronous languages, SCADE Networ
10、ks with timing Promising start: Time triggered architectures, time synchronization Computational dynamical systems theory Promising start: Hybrid systems,Recall: Computation in the 20th Century,f : 0,1* 0,1*,Computation in the 21st Century,f : T 0,1*P T 0,1*P,We Need Component and Composition Models
11、 with Time and Concurrency,Stuff happens to objects,Actors make things happen,The First (?) Actor-Oriented Platform The On-Line Graphical Specification of Computer Procedures W. R. Sutherland, Ph.D. Thesis, MIT, 1966,MIT Lincoln Labs TX-2 Computer,Bert Sutherland with a light pen,Partially construct
12、ed actor-oriented model with a class definition (top) and instance (below).,Bert Sutherland used the first acknowledged object-oriented framework (Sketchpad, created by his brother, Ivan Sutherland) to create the first actor-oriented programming framework.,Your Speaker in 1966,Modern Examples of Act
13、or-Oriented Platforms,Simulink (The MathWorks) LabVIEW (National Instruments) Modelica (Linkoping) OPNET (Opnet Technologies) Giotto and xGiotto (UC Berkeley) Polis & Metropolis (UC Berkeley) Gabriel, Ptolemy, and Ptolemy II (UC Berkeley) OCP, open control platform (Boeing) GME, actor-oriented meta-
14、modeling (Vanderbilt) SPW, signal processing worksystem (Cadence) System studio (Synopsys) ROOM, real-time object-oriented modeling (Rational) Easy5 (Boeing) Port-based objects (U of Maryland) I/O automata (MIT) VHDL, Verilog, SystemC (Various) ,Ptolemy II: Our Laboratory for Actor-Oriented Models o
15、f Computation,Concurrency management supporting dynamic model structure.,Models of Computation Implemented in Ptolemy II,CI Push/pull component interaction Click Push/pull with method invocation CSP concurrent threads with rendezvous CT continuous-time modeling DE discrete-event systems DDE distribu
16、ted discrete events DDF Dynamic dataflow DPN distributed process networks DT discrete time (cycle driven) FSM finite state machines Giotto synchronous periodic GR 2-D and 3-D graphics PN process networks SDF synchronous dataflow SR synchronous/reactive TM timed multitasking,Most of these are actor o
17、riented.,A Start on a 21st Century Theory of Computation: The Tagged Signal Model,Lee & Sangiovanni-Vincentelli, 1998A set of values V and a set of tags T An event is e T V A signal s is a set of events. I.e. s T V A functional signal is a (partial) function s: T V The set of all signals S = 2T V Re
18、lated models: Interaction Categories Abramsky, 1995 Interaction Semantics Talcott, 1996 Abstract Behavioral Types Arbab, 2005,Actors, Ports, and Behaviors,An actor has a set of ports PA behavior is a function : PA SAn actor is a set of behaviors A PA S = S PA,PA = p1, p2, p3, p4 ,Actor Composition,C
- 1.请仔细阅读文档,确保文档完整性,对于不预览、不比对内容而直接下载带来的问题本站不予受理。
- 2.下载的文档,不会出现我们的网址水印。
- 3、该文档所得收入(下载+内容+预览)归上传者、原创作者;如果您是本文档原作者,请点此认领!既往收益都归您。
下载文档到电脑,查找使用更方便
2000 积分 0人已下载
下载 | 加入VIP,交流精品资源 |
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- BUILDINGUNRELIABLESYSTEMSOUTOFRELIABLECOMPONENTSTHEPPT

链接地址:http://www.mydoc123.com/p-379156.html