AutoBash- Improving Configuration Management with .ppt
《AutoBash- Improving Configuration Management with .ppt》由会员分享,可在线阅读,更多相关《AutoBash- Improving Configuration Management with .ppt(32页珍藏版)》请在麦多课文档分享上搜索。
1、1,AutoBash: Improving Configuration Management with Operating System Causality Analysis,Ya-Yunn Su, Mona Attariyan, and Jason Flinn University of Michigan,2,Motivation,Configuration management is frustrating! Users may have to Change environment variables Edit configuration files Manage inter-applic
2、ation dependenciesCurrent approach: Ask friends, search on-line, read manual, Try potential solutions Carefully undo wrong solutions,3,AutoBash solves these problems,Problems with current approach,Applying solutions is time-consumingUndoing a wrong solution can be hardHard to know how a problem was
3、solvedA “solution” may cause new problems,Automatically tries many solutions,Provides undo capability,Explains solution to user,Automatically runs regression tests,4,AutoBash overview,Problem Detected,5,Outline,Motivation AutoBash design and implementation Observation mode Replay mode Health monitor
4、ing mode Evaluation Conclusion,6,Observation mode,A modified bash shell User types in commands to solve the problem,% command 1,% test if app works,% undo testing,% undo command 1,% command 2,7,Verifying a solution is tedious,AutoBash automatically tests using predicates Predicate: Tests if an appli
5、cation functions correctly Returns true/false if the test passes/fails,wget http:/localhost/$USER,Predicate example for a web server,% command 1,% test if app works,% undo testing,% rollback command 1,% command 2,8,Undoing testing is tedious,Predicate testing has no side effects Executed speculative
6、ly and rolled back Speculator SOSP 05 Process-level speculative execution,Speculative execution makes predicate testing safe,9,Undo can be hard,AutoBash speculatively executes each action Light-weight checkpoint and rollback,Speculative execution makes undo easy,% command 1,% test if app works,% und
7、o testing,% undo command 1,% command 2,% rollback command 1,10,Regression testing is hard,AutoBash automatically runs regression tests Executes predicates in the predicate database Ensures all predicates pass,P0,P1,P2,P3,P4,P5,CVS predicates,GCC cross-compiler predicates,Web server predicates,P6,P7,
8、P8,11,Regression tests can be slow,Problem: running all predicates can be slowOnly need to run predicates affected by an action Uses causality tracking to find affected predicates,12,Tracking causality,Output set kernel objects an action causally affectsInput set kernel objects a predicate causally
9、depends on,Predicate: grep “test” bar,Output set = file foo,Action: touch foo,Input set = file bar,13,Analyzing causality,AutoBash calculates the intersection Determines which predicates to run,Action: touch foo,file: foo,file: bar,Predicate: grep “test” bar,Do not run predicate,14,sh,Tracking outpu
- 1.请仔细阅读文档,确保文档完整性,对于不预览、不比对内容而直接下载带来的问题本站不予受理。
- 2.下载的文档,不会出现我们的网址水印。
- 3、该文档所得收入(下载+内容+预览)归上传者、原创作者;如果您是本文档原作者,请点此认领!既往收益都归您。
下载文档到电脑,查找使用更方便
2000 积分 0人已下载
下载 | 加入VIP,交流精品资源 |
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- AUTOBASHIMPROVINGCONFIGURATIONMANAGEMENTWITHPPT

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