首页> 外国专利> A method for managing common means of a plurality of processing units

A method for managing common means of a plurality of processing units

机译:一种用于管理多个处理单元的通用装置的方法

摘要

The invention provides for resource allocation logic for a computer system including a plurality of processors (17, 21) which share access to, and control of, a plurality of resources, such as disk drive units (31-35, 41-45) or busses (51-55). Resource allocation logic (300) coordinates the execution of requests received from the processors to avoid resource sharing inefficiencies and deadlock situations. The allocation logic (300) maintains a "request" queue for each processor (17, 21), seeking to satisfy all requests quickly and fairly. The queues contain an entry corresponding to each request received from its corresponding processor and an identification of resources that are required by the entry's corresponding request. The allocation logic (300) also maintains a "resources available" status array of resources which are not currently in use by any processors, or are not reserved for future use by any processors. The logic repeatedly compares each entry in the request queues with the entries in the resources available status array to detect an entry in the request queue identifying resources all of which are contained in the resources available status array. Once the allocation logic (300) can satisfy a particular request, it signals a grant to the requesting processor for the resources requested and the requested resources are removed from the resources available status array. Upon conclusion of execution of the granted request, the resources are again released to the resource allocation logic (300) for utilization by other resource requests.
机译:本发明为包括多个处理器(17、21)的计算机系统提供资源分配逻辑,所述多个处理器(17、21)共享对多个资源的访问和控制,例如磁盘驱动器单元(31-35、41-45)或巴士(51-55)。资源分配逻辑(300)协调从处理器接收到的请求的执行,以避免资源共享效率低下和死锁情况。分配逻辑(300)为每个处理器(17、21)维护“请求”队列,以寻求快速且公平地满足所有请求。队列包含与从其相应处理器接收到的每个请求相对应的条目,以及该条目的相应请求所需的资源标识。分配逻辑(300)还维护资源的“可用资源”状态阵列,这些资源当前未被任何处理器使用,或者未被保留以供任何处理器将来使用。逻辑将请求队列中的每个条目与可用资源状态阵列中的条目重复进行比较,以检测请求队列中的条目,该条目标识所有包含在可用资源状态阵列中的资源。一旦分配逻辑(300)可以满足特定请求,就向请求处理器发出对所请求的资源的授权信号,并且从资源可用状态阵列中删除所请求的资源。在准予请求的执行结束时,资源再次被释放到资源分配逻辑(300),以供其他资源请求使用。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号