什么是调度程序延迟? [英] what is scheduler latency?

查看:170
本文介绍了什么是调度程序延迟?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这似乎是一个基本问题,但是在谷歌搜索时我找不到任何答案.

This seems to be a basic question, but i couldn't find answer anywhere in googling it.

据我了解,调度程序延迟是使任务再次可运行所需的时间.我的意思是,如果有100个进程,即1、2,e.t.c,那么它们将按从1开始的顺序执行.因此,等待时间是再次执行进程1的时间.这意味着等待时间既是进程的等待时间,也是在运行队列中准备执行时的等待时间.

As Far As I Understand, scheduler latency is the time incurred in making the task runnable again. I mean, if there are 100 processes namely 1, 2, e.t.c, then they are executed let's say in order starting from 1. So the latency is the time that the process 1 is executed again. which means that the latency is the waiting time of the process as well as the waiting time of it when it is in runqueue ready to execute.

我误解了一点,而sheduler延迟只是进程之间的上下文切换时间而已?

i misunderstood whole point and sheduler latency is just nothing but the context switching time between the processes?

推荐答案

计划延迟是指由于计划任务而导致系统失效的时间.这是系统延迟,因为它需要花费时间进行调度.

Scheduling latency is the time that the system is inproductive because of scheduling tasks. It is system latency incurred because it has to spend time scheduling.

具体来说,它由2个元素组成:

Specifically it consists of 2 elements:

  • 任务唤醒与实际运行之间的延迟(上下文切换时间")
  • 制定调度程序决策所花费的时间(调度程序的实际工作,它消耗了实际任务无法使用的资源)

这篇关于什么是调度程序延迟?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆