欢迎来到麦多课文档分享! | 帮助中心 海量文档,免费浏览,给你所需,享你所想!
麦多课文档分享
全部分类
  • 标准规范>
  • 教学课件>
  • 考试资料>
  • 办公文档>
  • 学术论文>
  • 行业资料>
  • 易语言源码>
  • ImageVerifierCode 换一换
    首页 麦多课文档分享 > 资源分类 > PPT文档下载
    分享到微信 分享到微博 分享到QQ空间

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

    • 资源ID:372976       资源大小:128.50KB        全文页数:18页
    • 资源格式: PPT        下载积分:2000积分
    快捷下载 游客一键下载
    账号登录下载
    微信登录下载
    二维码
    微信扫一扫登录
    下载资源需要2000积分(如需开发票,请勿充值!)
    邮箱/手机:
    温馨提示:
    如需开发票,请勿充值!快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。
    如需开发票,请勿充值!如填写123,账号就是123,密码也是123。
    支付方式: 支付宝扫码支付    微信扫码支付   
    验证码:   换一换

    加入VIP,交流精品资源
     
    账号:
    密码:
    验证码:   换一换
      忘记密码?
        
    友情提示
    2、PDF文件下载后,可能会被浏览器默认打开,此种情况可以点击浏览器菜单,保存网页到桌面,就可以正常下载了。
    3、本站不支持迅雷下载,请使用电脑自带的IE浏览器,或者360浏览器、谷歌浏览器下载即可。
    4、本站资源下载后的文档和图纸-无水印,预览文档经过压缩,下载后原文更清晰。
    5、试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。

    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,


    注意事项

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




    关于我们 - 网站声明 - 网站地图 - 资源地图 - 友情链接 - 网站客服 - 联系我们

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

    收起
    展开