distributedMore.ppt

  1. 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
  2. 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  3. 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
distributedMore

CPE2003 summer L8 CPE2003 Lecture 8 State dependent analysis, Concurrency, synchronization Concurrent processes threads Active passive objects Passive objects - operate only when their methods are invoked Active objects - own an execution thread and can initiate control activity. Each active object can be process or a thread Processes Threads Process protected memory (address space) and state - a ‘heavyweight’ process with all the resource allocated by the OS context switch - long time save registers, deallocate memory, swap on the disc Thread Thread - an independent unit of execution within the address space of the process Also sometimes called a lightweight process. Java threads are different than so called kernel threads Kernel - within OS Java VM - software based The Process View Is concerned with dynamic, run-time activity, and takes into account some non-functional requirements, such as performance, availability, etc., and the need to spread the system onto several computers. the system is decomposed into a set of independent tasks/threads, processes and process groups. We aim at describing the inter- process and inter-thread interactions, communication, and synchronization - e.g.. some processes may interrupt others, some processes must wait for shared resources, thread can be waiting for a response, etc. Concurrency Requirements Concurrency requirements are driven by: The degree to which the system must be distributed The degree to which the system is event-driven The computation intensity of key algorithms The degree of parallel execution supported by the environment Concurrency requirements are ranked in terms of importance to conflict resolution Process Identification Considerations Separate threads of control may be needed to: Take advantage of multiple CPUs and/or multiple nodes Increase CPU utilization Prioritize activities Support load sharing Separate concerns between different areas of the software Improve system availability Suppor

文档评论(0)

me54545 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档