ImageVerifierCode 换一换
格式:PPT , 页数:18 ,大小:128.50KB ,
资源ID:372976      下载积分:2000 积分
快捷下载
登录下载
邮箱/手机:
温馨提示:
如需开发票,请勿充值!快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。
如填写123,账号就是123,密码也是123。
特别说明:
请自助下载,系统不会自动发送文件的哦; 如果您已付费,想二次下载,请登录后访问:我的下载记录
支付方式: 支付宝扫码支付 微信扫码支付   
注意:如需开发票,请勿充值!
验证码:   换一换

加入VIP,免费下载
 

温馨提示:由于个人手机设置不同,如果发现不能下载,请复制以下地址【http://www.mydoc123.com/d-372976.html】到电脑端继续下载(重复下载不扣费)。

已注册用户请登录:
账号:
密码:
验证码:   换一换
  忘记密码?
三方登录: 微信登录  

下载须知

1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。
2: 试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。
3: 文件的所有权益归上传用户所有。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 本站仅提供交流平台,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

版权提示 | 免责声明

本文(Linux Dionisys- A Kernel-Based Approach to QoS Management.ppt)为本站会员(appealoxygen216)主动上传,麦多课文库仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知麦多课文库(发送邮件至master@mydoc123.com或直接QQ联系客服),我们立即给予删除!

Linux Dionisys- A Kernel-Based Approach to QoS Management.ppt

1、Linux Dionisys: A Kernel-Based Approach to QoS Management,Richard West & Jason Gloudon Operating Systems & Services Group,Motivation,General purpose systems have limitations: Ill-equipped to meet service requirements of complex real-time applicationsAim to extend COTS systems to: better meet the ser

2、vice needs of applications provide finer-grained service management than at user-level adapt system behavior to compensate for changes in resource needs and availability,Approach,Linux Dionisys Distributed system for run-time service adaptation Allow real-time applications to specify: how, when & wh

3、ere actual service should be adapted to meet required / improved QoSMEDEA: Mechanism for Event DrivEn Adaptation SafeX: Safe kernel eXtensions,Example System Usage,Scalable web servers / farms Adaptive load-balancing, cachingAdaptable protocols For flow, error, rate control etcCoordinated resource m

4、anagement e.g., Tradeoffs in CPU versus bandwidth usage,Linux Dionisys Components,Service extensions: Service managers (SMs) Monitors - influence when to adapt Handlers - influence how to adapt MEDEA event channel subsystem Transport events between SMs, where adaptation is needed SafeX daemons Names

5、erver, library (API),Linux Dionisys Overview,Nameserver,Host 1,Host n,SM 3,User Level,Kernel Level,SM 1 (eg., CPU),SM m (eg., Buffer),SM 2 (eg., Network),Event Channels,Dionisys Library,Dionisys Library,RPCs,RPCs,MEDEA,Provides “event-channels” for communication One source (a monitor) Potentially ma

6、ny destinations (handlers) Events are asynchronous but may be cascaded Provides cross-host, cross-address-space & cross-protection-domain communication e.g., kernel upcalls Uses “mailbox” abstractions: One outbox for every monitor One inbox for every service manager,Decoupled Management & Delivery,M

7、EDEA provides an API for unrestricted event-driven communication,Handlers,Service Manager,Event Mailboxes,Event Dispatcher & Receiver,Monitors,MEDEA Features,Can batch or select single events for delivery Supports “fast” syscalls that do not block & real-time upcalls Coordinated user-level event del

8、ivery and handling Prioritized event delivery Can dispatch (receive) events from (into) mailboxes according to an ordering policy Real-time event delivery is possible,SafeX,Allows app-specific service extensions to be dynamically-linked into kernel address space Can deploy code on remote hostsProvid

9、es compile- and run-time support to: Enforce bounded execution of extensions Guarantee service isolation (using “guard” fns) Maintain system integrity,SafeX Features,Extensions written in Popcorn & compiled into Typed Assembly Language (TAL) Memory protection: Prevents forging pointers to arbitrary

10、addresses Prevents de-allocation of memory until safe CPU protection: Requires resource reservation for extensions Aborts extensions exceeding reservations Interfaces to synchronization objects,A Kernel Service Manager,Experimental Scenario,CPU service manager monitors CPU utilization and adapts pro

11、cess timeslices Timeslices adjusted by PID function of target & actual CPU usage Monitoring performed every 10mS Kernel monitoring functions invoked via timer queue User-level approach periodically reads /proc/pid/stat Adapts service via kill() syscalls,Monitors and Handlers,void monitor () actual_c

12、pu = get_attribute (“actual_cpu”);target_cpu = get_attribute (“target_cpu”);raise_event (“Error”, target_cpu - actual_cpu); void handler () en = ev.value; / nth sampled error/* Update timeslice adjustment by PID fn of error */un = (Kp+Kd+Ki).en - Kd.en-1 + un-1;set_attribute (“timeslice-adjustment”,

13、 un); ,Guard Functions,/ Check the QoS safe updates to a process timeslicedefault_timeslice = target_cpu;guard (attribute, value):if (attribute = “timeslice-adjustment”)if (value in range 0, 0.25*default_timeslice)if (value is QoS safe)timeslice = target_cpu + value;,CPU Service Management -1,3 CPU-

14、bound tasks w/ 30, 20 & 10% target CPU shares Less service oscillation in left graph for kernel service management Transient overloads do not affect service guarantees,CPU Service Management -2,3 MPEG processes with 40, 30 & 20% target CPU shares Finer-grained kernel service management is capable of

15、 sustaining 20% CPU utilization for 3rd process (left graph) User-level management (right graph) cannot meet needs of process with target 20% CPU utilization,Conclusions,Linux Dionisys supports service extensions to customize system for app-specific needs SafeX verifies safety of extensions Extensions may be dynamically-linked into local & remote address spaces MEDEA provides event-based communication mechanism that triggers service adaptationsOverall system improves service to applications,

copyright@ 2008-2019 麦多课文库(www.mydoc123.com)网站版权所有
备案/许可证编号:苏ICP备17064731号-1