- 1、本文档共56页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
Distributed Process Management Chapter 15 Process Migration Transfer of sufficient amount of the state of a process from one computer to another The process executes on the target machine Motivation Load sharing Move processes from heavily loaded to lightly load systems Communications performance Processes that interact intensively can be moved to the same node to reduce communications cost May be better to move process to where the data reside when the data is large Motivation Availability Long-running process may need to move because the machine it is running on will be down Utilizing special capabilities Process can take advantage of unique hardware or software capabilities Initiation of Migration Operating system When goal is load balancing Process When goal is to reach a particular resource What is Migrated? Must destroy the process on the source system and create it on the target system Process image and process control block and any links must be moved Example of Process Migration Example of Process Migration What is Migrated? Eager (all):Transfer entire address space No trace of process is left behind If address space is large and if the process does not need most of it, then this approach my be unnecessarily expensive What is Migrated? Precopy: Process continues to execute on the source node while the address space is copied Pages modified on the source during precopy operation have to be copied a second time Reduces the time that a process is frozen and cannot execute during migration What is Migrated? Eager (dirty): Transfer only that portion of the address space that is in main memory and have been modified Any additional blocks of the virtual address space are transferred on demand The source machine is involved throughout the life of the process What is Migrated? Copy-on-reference: Pages are only brought over when referenced Has lowest initial cost of process migration Flushing: Pages are cleared from main memory by flushing dirty pages to disk R
您可能关注的文档
- 聊城大学传媒技术学院非线性编辑课件第5章 视频特效.ppt
- 聊城大学传媒技术学院非线性编辑课件第6章 音频编辑与特效.ppt
- 聊城大学传媒技术学院非线性编辑课件第7章 字幕.ppt
- 聊城大学传媒技术学院非线性编辑课件第8章 作品预览与输出.ppt
- 聊城大学计算机学院计算机操作系统(1)英文课件 Chapter1.ppt
- 聊城大学计算机学院计算机操作系统(1)英文课件 Chapter2.ppt
- 聊城大学计算机学院计算机操作系统(1)英文课件 Chapter3.ppt
- 聊城大学计算机学院计算机操作系统(1)英文课件 Chapter4.ppt
- 聊城大学计算机学院计算机操作系统(1)英文课件 Chapter5.ppt
- 聊城大学计算机学院计算机操作系统(1)英文课件 Chapter6.ppt
文档评论(0)