Chapter s Operating System 5.1.1 Resource allocation and related functions In the partitioned resource allocation approach, the os decides on the resources to be allocated to a program based on the number of resources and the number of programs in the system. For example, an os may decide that a program can be allocated 1 MB of memory, 2000 disk blocks and a monitor Such a collection of resources is referred to as a partition. In effect, a set of partitions can be predefined in the system. The resource table can have an entry for each resource partition. When a new program is to be started, an available partition is alocated to it 在资源分区分配中,操作系统依据系统中的资源数目和程序数目决定如何 进行资源分配。例如,操作系统可能会决定一个程序可以使用MB内存、 2000个磁盘块及1个监视器,这一系列资源可以作为一个分区。系统可以提 前定义出一系列这样的区,资源表中为每一资源区保存相应的数据项。当 新的程序开始时将分配给它一个可用的分区。 不第机专语 5-13Chapter 5 Operating System 计算机专业英语 5-13 In the partitioned resource allocation approach, the OS decides on the resources to be allocated to a program based on the number of resources and the number of programs in the system. For example, an OS may decide that a program can be allocated 1 MB of memory, 2000 disk blocks and a monitor. Such a collection of resources is referred to as a partition. In effect, a set of partitions can be predefined in the system. The resource table can have an entry for each resource partition. When a new program is to be started, an available partition is allocated to it. 在资源分区分配中,操作系统依据系统中的资源数目和程序数目决定如何 进行资源分配。例如,操作系统可能会决定一个程序可以使用1MB内存、 20O0个磁盘块及1个监视器,这一系列资源可以作为一个分区。系统可以提 前定义出一系列这样的区,资源表中为每一资源区保存相应的数据项。当 新的程序开始时将分配给它一个可用的分区。 5.1.1 Resource allocation and related functions