美文网首页
6. Scheduling

6. Scheduling

作者: 何大炮 | 来源:发表于2017-10-05 14:13 被阅读0次

The purpose of scheduling

  1. Ordering resource assignment
  2. Do prediction of the system behavior under anticipated loads.
    In running time: to permit the new request of the loading-balancing
    In compile time: to confirm the feasibility of the system or predict resource needs.

Criteria in Performance

Process /user perspective: Waiting time, Response time(从用户提交请求开始,直达系统首次产生响应为止的时间间隔), Turnaround Time(完成时间 - 提交时间).
System perspective: Throughput, Utilization.

Method in scheduling

  1. First come first served

  2. Round Robin
    A round-robin scheduler generally employs time-sharing, giving each job a time slot or quantum[4](its allowance of CPU time), and interrupting the job if it is not completed by then.

  3. Feedback with 2^i pre-empty intervals
    ---- When processes can be readily categorized, then multiple separate queues can be established, lower priority more 2^i unit time.
    ---- Scheduling must also be done between queues, that is scheduling one queue to get time relative to other queues.
    ---- Jobs may be moved from one queue to another for a variety of reasons
    ---- Scheduling is the most flexible, because it can be tuned for any situation

  4. Shortest job first
    when the computing time is know and switch is expensive then this method is good.

  5. Highest Response Ration First(HRRF)
    Combine the "Short job first" and "First come first serve".

  6. Shortest remaining time first
    The difference between 6 and 4 is that this one has ability to pre-emption the current executing job.

Predictable scheduling

guarantee task:

  1. the deadline
  2. reaction time
  3. data flow level
  4. delivery time
  5. the bound of variables in result.

相关文章

  • 6. Scheduling

    The purpose of scheduling Ordering resource assignment Do...

  • 20170924_Handbook

    2.2.2 Scheduling Scheduling involves devising a plan to c...

  • 操作系统复习4

    1、高级调度(High Scheduling) 又称作业调度或长程调度(Long-Term Scheduling)...

  • Jobs and Scheduling

    Scheduling 1、Flink的Execution resources是通过Task Slots定义的。每个...

  • Linux scheduling

    .sh 脚本 #!/bin/bash cd / ls -l > /home/../result.txt 任务调度指...

  • Scheduling Tasks

    如果不知道如何使用 Spring,请先查看 Building a RESTful Web Service。 官方文...

  • Scheduling Framework

    背景 随着Kubernetes被越来越多的个人及公司使用, 需要越来越强大的调度能力, 面对不同的或者更复杂的场景...

  • kubernetes Scheduling

    Kubernetes Scheduling Kubernetes作为一个容器编排调度引擎,资源调度是它的最基本也是...

  • The road less traveled––day7

    This tool or process of scheduling is learned by most...

  • The road less traveled––day6

    Delaying gratification is a process of scheduling th...

网友评论

      本文标题:6. Scheduling

      本文链接:https://www.haomeiwen.com/subject/rxnhyxtx.html