计算机组成原理试题及答案doc计算机组_第1页
计算机组成原理试题及答案doc计算机组_第2页
计算机组成原理试题及答案doc计算机组_第3页
计算机组成原理试题及答案doc计算机组_第4页
计算机组成原理试题及答案doc计算机组_第5页
已阅读5页,还剩11页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

Scheduling Algorithms to Minimize Session Delays,Nandita DukkipatiDavid Gutierrez,Introduction,Provision of QoS in the InternetQoS measure for short flows: Response time seen by the userImportant to minimize average session delays for short flowsScheduling algorithms provide QoS at a single nodeCoordinate QoS at each network element to provide end-to-end QoS,Problem,Optimal schedule of sessions in the single node case and the network case for a known traffic arrival patternWeight (or ) allocations for sessions in Generalized Processor Sharing schedulers to minimize delaysComparison of average session delays in Generalized Processor Sharing and Shortest Job First schedulers,Arrival process: deterministic and knownFluid arrivals and fluid serviceSession delay, di = Di - AiAverage session delay, Optimal scheduling policy,Background,Minimizing Delays in Single Node,N SessionsAi(t) : Arrival rate of session i at time tSi(t) : Size of session iOptimal schedule ?,Shortest Job First,Optimal policy when all jobs are present in the server at once in the systemNot optimal in our system of interest,Shortest Time to Finish First (STFF),2 sessionsNon unique optimal schedule,STFF-2:TAi: Maximum time to arrival of last bitCompute the minimum time to finish, Tfi = max(TAi, Si / C)Determine the priorities of the sessions,Optimality of STFF-2,Lemma 1: The STFF-2 discipline minimizes the session delay of 2 sessions at a single node serverSketch of Proof :,STFF - N,Definition: Pair wise STFFLemma 2: Every optimal discipline must be pair wise STFFSTFF-N:,Initialization Np : Set of all sessions whose priorities have been decided = j = 1 to | N |Compute the minimum time to finish, TFi, for unprioritized sessionsAssign priority j to the session with min(TFi)Update Np and remaining capacity C(t) = C(t) (capacity taken by sessions belonging to Np),STFF - N,Not optimalExample:,Minimizing Delays in GPS,Problem: Find weights i in GPS to minimize session delays i1, i2, ., iN: Increasing order of session sizes Find i such that:,Minimizing Delays in GPS,GPS can realize any strict priority based schedule,1.For every session identify the bottleneck router along its path2.For a session i:Ni : Set of sessions bottlenecked at router iCi : Capacity of router3.4.Minimum average delay,Scheduling Sessions - Network Case,Equivalent to Job Shop Scheduling problem: NP-hardA lower bound on average session delay:,STFF - Network 1.j = 1 to |N|2. 3. Assign priority j to the session with min(Fi),Heuristic Schedule - Network Case,Motivation:Littles lawBlocking Factor,Summary,STFF - 2: Optimal scheduling discipline for 2 sessions at a single nodeSTFF - N: A heuristic for N sessions at a single nodeGeneralized Process Sharing can realize any strict priority based scheduleWeight allocation in GPS schedul

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论