Chapter s Operating System 5.1.1 Resource allocation and related functions The resource allocation function allocates resources for use by a user's computation. Resources can be divided into system provided resources like CPUS, memory areas and lo devices, or user-created resources like files which are entrusted to the os 资源分配功能分配资源供用户计算使用。资源可分为系统提供 的资源(如CPU、存储器区域及ⅣO设备群)和用户创建的资 源(如由操作系统管理的文件等)。 《什第机专出美语 >5-7
Chapter 5 Operating System 计算机专业英语 5-7 The resource allocation function allocates resources for use by a user's computation. Resources can be divided into system provided resources like CPUs, memory areas and IO devices, or user-created resources like files which are entrusted to the OS. 资源分配功能分配资源供用户计算使用。资源可分为系统提供 的资源(如CPU、存储器区域及I/O设备群)和用户创建的资 源(如由操作系统管理的文件等)。 5.1.1 Resource allocation and related functions
Chapter s Operating System 5.1.1 Resource allocation and related functions Resource allocation criteria depend on whether a resource is a system resource or a user-created resource. Allocation of system resources is driven by considerations of efficiency of resource utilization. Allocation of user-created resources is based on a set of constraints specified by its creator and typically embodies the notion of access privileges 资源分配的标准根据资源的分类确定,系统资源的分配要考虑 资源利用的效率,而用户创立资源的分配则基于该资源的创立 者所设定的特种限制,比如访问权限。 《什第机专出美语 5-8
Chapter 5 Operating System 计算机专业英语 5-8 Resource allocation criteria depend on whether a resource is a system resource or a user-created resource. Allocation of system resources is driven by considerations of efficiency of resource utilization. Allocation of user-created resources is based on a set of constraints specified by its creator and typically embodies the notion of access privileges. 资源分配的标准根据资源的分类确定,系统资源的分配要考虑 资源利用的效率,而用户创立资源的分配则基于该资源的创立 者所设定的特种限制,比如访问权限。 5.1.1 Resource allocation and related functions
Chapter s Operating System 5.1.1 Resource allocation and related functions Two popular strategies for resource allocation are: Partitioning of resources Allocation from a pool 资源分配通常采取以下两种策略; 1.资源分区 2.从资源池中分配。 《什第机专出美语 5-9
Chapter 5 Operating System 计算机专业英语 5-9 Two popular strategies for resource allocation are: • Partitioning of resources • Allocation from a pool 资源分配通常采取以下两种策略; 1. 资源分区。 2. 从资源池中分配。 5.1.1 Resource allocation and related functions
Chapter s Operating System 5.1.1 Resource allocation and related functions In the resource partitioning approach, the os decides a priori what resources should be allocated to a user computation. This approach is called static allocation because the allocation is made before the execution of a program starts. Static resource allocation is simple to implement, however, it could lead to suboptimal utilization because the allocation is made on the basis of perceived needs of a program, rather than its actual needs 在资源分区方式中,操作系统预先决定把哪些资源分配给某个 用户计算使用,这种方法也称为静态分配,因为分配是在程序 执行前进行的。静态资源分配易于实现,但由于它不是从程序 的实际需要出发,而是根据程序预先提出的需求来做决定,所 以容易导致系统利用率下降。 5-10
Chapter 5 Operating System 计算机专业英语 5-10 In the resource partitioning approach, the OS decides a priori what resources should be allocated to a user computation. This approach is called static allocation because the allocation is made before the execution of a program starts. Static resource allocation is simple to implement, however, it could lead to suboptimal utilization because the allocation is made on the basis of perceived needs of a program, rather than its actual needs. 在资源分区方式中,操作系统预先决定把哪些资源分配给某个 用户计算使用,这种方法也称为静态分配,因为分配是在程序 执行前进行的。静态资源分配易于实现,但由于它不是从程序 的实际需要出发,而是根据程序预先提出的需求来做决定,所 以容易导致系统利用率下降。 5.1.1 Resource allocation and related functions
Chapter s Operating System 5.1.1 Resource allocation and related functions In the latter approach, the Os maintains a common pool of resources and allocates from this pool on a need basis. Thus, OS considers allocation of a resource when a program raises a request for a resource. This approach is called dynamic allocation because the allocation takes place during the execution of a program. Dynamic resource allocation can lead to better utilization of resources because the allocation is made when a program requests a resource. 在后一种分配方式中,操作系统维护一个公共资源池,并按照 程序的需要对资源进行分配。这样,OS只在程序提出对一个资 源的需求时才进行资源分配,这种方式也称为动态分配,因为 分配是在程序执行的过程中进行的。动态存储分配的资源利用 率较高,因为它是在程序需要资源时才进行分配
Chapter 5 Operating System 计算机专业英语 5-11 In the latter approach, the OS maintains a common pool of resources and allocates from this pool on a need basis. Thus, OS considers allocation of a resource when a program raises a request for a resource. This approach is called dynamic allocation because the allocation takes place during the execution of a program. Dynamic resource allocation can lead to better utilization of resources because the allocation is made when a program requests a resource. 在后一种分配方式中,操作系统维护一个公共资源池,并按照 程序的需要对资源进行分配。这样,OS只在程序提出对一个资 源的需求时才进行资源分配,这种方式也称为动态分配,因为 分配是在程序执行的过程中进行的。动态存储分配的资源利用 率较高,因为它是在程序需要资源时才进行分配。 5.1.1 Resource allocation and related functions