操作系统中的处理机调度调度_操作系统中的流程分类和调度

操作系统中的处理机调度调度

处理 (Process)

In the operating system, there are numerous task and application program run simultaneously. A program is stored in the hard disk or any other form of secondary storage. When the program is executed it must be loaded in the system’s memory. A process can be viewed as a program in execution. In the system, each process is assigned a unique Id when it is created and it will be referenced by the unique Id until the process completes execution and it is terminated. A process is an entity which performs the basic unit of work or one work at a time. We can say that a process is an instance of a computer program that is being executed. A process contains the program code and the activity that is going to be performed. when the computer program is in secondary memory then it is a passive entity or when a process is in main memory then it is an active entity. In the system, several processes may be associated with the same program.

在操作系统中,有许多任务和应用程序同时运行。 程序存储在硬盘或任何其他形式的辅助存储中。 执行程序时,必须将其加载到系统内存中。 可以将进程视为正在执行的程序。 在系统中,每个进程在创建时都会分配一个唯一的ID,并且唯一ID会引用该ID,直到该进程完成执行并终止为止。 流程是一次执行基本工作单元或一项工作的实体。 我们可以说一个进程是一个正在执行的计算机程序的实例。 一个过程包含程序代码和将要执行的活动。 当计算机程序位于辅助内存中时,它是一个被动实体,或者当进程位于主内存中时,它是一个主动实体。 在系统中,几个进程可能与同一程序相关联。

A process held a number of attributes like hardware, memory, CPU, and progress.

一个进程拥有许多属性,例如硬件,内存,CPU和进度。

Craft.io分类 (Process classification)

A process can be broadly categorized into the following two types based on its execution:

根据流程的执行情况,大致可将其分为以下两种类型:

  • I/O-Bound process

    I / O绑定过程

    An I/O-bound process is a process whose execution time is determined mainly by the amount of time it spends completing I/O operations.

    绑定到I / O的进程是其执行时间主要由其完成I / O操作所花费的时间确定的进程。

  • CPU-Bound process

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值