SlideShare a Scribd company logo
Improvement of Scheduling
Granularity for Deadline Scheduler
Copyright 2012, Toshiba Corporation.
Yoshitake Kobayashi
Advanced Software Technology Group
Corporate Software Engineering Center
TOSHIBA CORPORATION
Outline
Motivation
Deadline scheduler
SCHED_DEADLINE and its evaluation
Budget management
Conclusion
2TOSHIBA Confidential
Motivation
We would like to use Linux on control systems
Real-time is one of the most critical topic
Problem statement
Need to evaluate deeply to meet the deadline
CPU resource used too much by higher priority tasks
3TOSHIBA Confidential
CPU resource used too much by higher priority tasks
EDF scheduler
Definition of deadline
Wakeup time: The time of an event occurred (Ex. Timer interrupt)
and target task’s state changed to runnable.
Event response time: Interrupt latency
Deadline: The time for a target task must finish
Process time
Event response time
4TOSHIBA Confidential
Wakeup time
Deadline
Period
Event response time
Wakeup time
Earliest Deadline Fisrt scheduling (EDF)
The earliest deadline task has the highest priority
Task’s priority is dynamically changed and
managed
SCHED_FIFO is static priority management
Theoretically the total CPU usage by all tasks is
up to 100%
Includes the kernel overhead
5TOSHIBA Confidential
Includes the kernel overhead
If usage of CPU by all tasks is less than 100%, all
tasks meet the deadline
Reference
http://en.wikipedia.org/wiki/Earliest_deadline_first_schedu
ling
An example of EDF Scheduling
Task1: budget 1ms period 8ms
Task2: budget 2ms period 5ms
Task3: budget 4ms period 10ms
T1
20ms0ms
CPU usage====0.925%
<<<< 100%
6TOSHIBA Confidential
T1
T2
T3
Rate-Monotonic Scheduling (RMS)
One of the popular scheduling algorithm for RTOS
Assumptions for task behavior
NO resource sharing such as hardware, a queue, or any kind of semaphore
Deterministic deadlines are exactly equal to periods
Static priorities (the task with the highest static priority that is runnable
immediately preempts all other tasks)
Static priorities assigned according to the rate monotonic conventions (tasks with
shorter periods/deadlines are given higher priorities)
Context switch times and other thread operations are free and have no impact on
the model
CPU utilization
7TOSHIBA Confidential
CPU utilization
n: number of periodic tasks,Ti: Release period, Ci: Computation time
CPU utilization depends on the combination of periodic tasks and it is possible to
meet the deadline even the CPU utilization is around 80%
Reference
http://en.wikipedia.org/wiki/Earliest_deadline_first_scheduling
69.02ln)12(/
0
≈→−≤= ∞=
=
∑ n
n
i
n
ii nTCU
Compared with the RMS scheduling
Task1: budget 1ms period 4ms
Task2: budget 2ms period 6ms
Task3: budget 3ms period 8ms
T1
T2
20ms0ms
RMS
CPU usage====0.958%
8TOSHIBA Confidential
T3
deadline miss
T1
T2
T3
20ms0ms
EDF
Comparison of deadline algorithms
Advantage Disadvantage
RMS Easier to implement
Evaluation for
scheduling possibility is
required to meet the
deadline
9TOSHIBA Confidential
deadline
EDF
No evaluation for
scheduling possibility is
required to meet the
deadline
Difficult to implement
SCHED_DEADLINE
http://www.evidence.eu.com/sched_deadline.html
Implements the EDF scheduling algorithm
Posted to LKML by Dario Faggioli and Juri Lelli
Latest version is V6 (2012/10/24)
But V2 and V4 are used in our evaluation.
Key features of SCHED_DEADLINE
10TOSHIBA Confidential
Key features of SCHED_DEADLINE
Temporal isolation
The temporal behavior of each task (i.e., its ability to meet its
deadlines) is not affected by the behavior of any other task in the
system
Each task is characterized by the following aspects:
Budget: sched_runtime
Period: sched_period, equal to its deadline
Build SCHED_DEADLINE(linux kernel)
Get rt-deadline from the following place
git clone git://gitorious.org/rt-deadline (for V2)
Kernel configuration
CONFIG_EXPERIMENTAL = y
CONFIG_CGROUPS = y
CONFIG_CGROUP_SCHED = n
CONFIG_HIGH_RES_TIMERS = y
11TOSHIBA Confidential
CONFIG_HIGH_RES_TIMERS = y
CONFIG_PREEMPT = y
CONFIG_PREEMPT_RT = y
CONFIG_HZ_1000 = y
Note: For V6
git clone git://github.com/jlelli/sched-deadline.git
Overview of SCHED_DEADLINE
EDF task User
sysctl_sched_dl_runtime
sysctl_sched_dl_period
procfs
Set parameters for
SCHED_DEADLINE
sched_prama_ex
Set deadline
and budget
System call
12TOSHIBA Confidential
Kernel
task_struct
sched_calss
dl_sched_class
enqueue_task_dl
dequeue_task_dl
sched_dl_entity
task_tick_dl
set_curr_task_dl
・・・
・・・
・・・
・・・
rb_node
dl_runtime
dl_deadline
dl_timer
・・・・・・
・・
Overview of SCHED_DEADLINE
EDF task User
sysctl_sched_dl_runtime
sysctl_sched_dl_period
procfs
Set parameters for
SCHED_DEADLINE
sched_prama_ex
Set deadline
and budget
System call
13TOSHIBA Confidential
Kernel
task_struct
sched_calss
dl_sched_class
enqueue_task_dl
dequeue_task_dl
sched_dl_entity
task_tick_dl
set_curr_task_dl
・・・
・・・
・・・
・・・
rb_node
dl_runtime
dl_deadline
dl_timer
・・・・・・
・・
Setting CPU utilization for EDF tasks
Parameters can be setted via procfs
CPU utilization for rt(SCHED_FIFO and SCHED_RR) and
dl(SCHED_DEADLINE) should be under 100%
Parameters for EDF scheduler
/proc/sys/kernel/sched_dl_period_us
/proc/sys/kernel/sched_dl_runtime_us
When a task requires more than above limit, the task
14TOSHIBA Confidential
When a task requires more than above limit, the task
cannot submit to run
An example setting (rt: 50%, dl:50%))))
# echo 500000 > /proc/sys/kernel/sched_rt_runtime_us (500ms)
# echo 100000 > /proc/sys/kernel/sched_dl_period_us (100ms)
# echo 50000 > /proc/sys/kernel/sched_dl_runtime_us (50ms)
Overview of SCHED_DEADLINE
EDF task User
sysctl_sched_dl_runtime
sysctl_sched_dl_period
procfs
Set parameters for
SCHED_DEADLINE
sched_prama_ex
Set deadline
and runtime
System call
15TOSHIBA Confidential
Kernel
task_struct
sched_calss
dl_sched_class
enqueue_task_dl
dequeue_task_dl
sched_dl_entity
task_tick_dl
set_curr_task_dl
・・・
・・・
・・・
・・・
rb_node
dl_runtime
dl_deadline
dl_timer
・・・・・・
・・
Run a EDF task
Schedtool
# schedtool -E -t 10000:100000 -a 0 -e ./yes
Options
-E: a task runs on SCHED_DEADLINE
-t: <execution time> and <period> in micro seconds
-a: Affinity mask
-e: command
16TOSHIBA Confidential
System call
sched_setscheduler_ex()
Budget management for EDF tasks
EDF task User
sysctl_sched_dl_runtime
sysctl_sched_dl_period
procfs
Set parameters for
SCHED_DEADLINE
sched_prama_ex
Set deadline
and runtime
System call
17TOSHIBA Confidential
Kernel
task_struct
sched_calss
dl_sched_class
enqueue_task_dl
dequeue_task_dl
sched_dl_entity
task_tick_dl
set_curr_task_dl
・・・
・・・
・・・
・・・
rb_node
dl_runtime
dl_deadline
dl_timer
・・・・・・
・・
Budget management for EDF tasks
Each task on SCHED_DEADLINE has budget which
allows it to use CPU
Budget management
Refill budget : dl_timer ( high resolution timer )
Use budget : task_tick_dl ( tick bsed )
task_tick_dl
18TOSHIBA Confidential
Wakeup time Period Wakeup time
dl_timer
Task
task_tick_dl
dl_timer
Evaluation (Period:100ms, Budget: 50ms)
19TOSHIBA Confidential
Evaluation (Period: 100ms , Budget: 10ms)
20TOSHIBA Confidential
Evaluation
Task T1: budget 1ms period 4ms
Task T2: budget 2ms period 6ms
Task T3: budget 3ms period 8ms
21TOSHIBA Confidential
T1
T2
T3
20ms0ms
Compare with page 6
Evaluation (Period: 1ms, Budget: 0.5ms)
22TOSHIBA Confidential
Budget management for EDF tasks
Each task on SCHED_DEADLINE has budget which allows it to
use CPU
Budget management
Refill budget : dl_timer ( high resolution timer )
Use budget : task_tick_dl ( tick based )
An Issue
Difficult to keep task’s budget if the budget has micro seconds granularity
1.5ms 1.5ms
23TOSHIBA Confidential
Wakeup
Period
Task execution
Time
dl_timer
1.5ms
task_tick_dl
1ms
Wakeup
dl_timer
1.5ms
1ms
Step1: Refill budget
Step2: Use budget
Period
2ms
Overview
When a task’s budget is less than 1ms, set HRTICK for the rest of
budget
Step1: Refill budget
3.2ms
1ms 2ms 3ms
Support for micro seconds granularity
24TOSHIBA Confidential
Wakeup
Period
Task execution
Set HRTICK here
Step2: Use budget
Time
1ms 2ms 3ms
Wakeup
Evaluation (Cycle: 1ms, Budget: 0.5ms)
25TOSHIBA Confidential
Advantage and Disadvantage
Advantage
Easy to support high resolution budget
Disadvantage
Increase overhead
26TOSHIBA Confidential
Conclusion
SCHED_DEADLINE is useful for real time systems
An Enhancement for budget management
Support fine grained budget such as 100 micro seconds
HRTICK is needed to support fine grained budget
What we’ve done:
Backport the SCHED_DEADLINE v4 to kernel v3.0-rt
27TOSHIBA Confidential
Backport the SCHED_DEADLINE v4 to kernel v3.0-rt
Because v3.0 is the base version of LTSI
Implement this improvement into SCHED_DEADLINE v4 on kernel
v3.0-rt
Forwardport it to original SCHED_DEADLINE v4
Send a patch to the author of SCHED_DEADLINE
Thank you
28TOSHIBA Confidential
Thank you

More Related Content

What's hot

XPDDS19 Keynote: Xen Dom0-less - Stefano Stabellini, Principal Engineer, Xilinx
XPDDS19 Keynote: Xen Dom0-less - Stefano Stabellini, Principal Engineer, XilinxXPDDS19 Keynote: Xen Dom0-less - Stefano Stabellini, Principal Engineer, Xilinx
XPDDS19 Keynote: Xen Dom0-less - Stefano Stabellini, Principal Engineer, Xilinx
The Linux Foundation
 
OpenCLに触れてみよう
OpenCLに触れてみようOpenCLに触れてみよう
OpenCLに触れてみよう
You&I
 
Csw2017 bazhaniuk exploring_yoursystemdeeper_updated
Csw2017 bazhaniuk exploring_yoursystemdeeper_updatedCsw2017 bazhaniuk exploring_yoursystemdeeper_updated
Csw2017 bazhaniuk exploring_yoursystemdeeper_updated
CanSecWest
 
NeXTBSD aka FreeBSD X
NeXTBSD aka FreeBSD XNeXTBSD aka FreeBSD X
NeXTBSD aka FreeBSD X
iXsystems
 
(公開版)FPGAエクストリームコンピューティング2017
(公開版)FPGAエクストリームコンピューティング2017 (公開版)FPGAエクストリームコンピューティング2017
(公開版)FPGAエクストリームコンピューティング2017
Hiroki Nakahara
 
Virtualization Support in ARMv8+
Virtualization Support in ARMv8+Virtualization Support in ARMv8+
Virtualization Support in ARMv8+
Aananth C N
 
UEFI Firmware Rootkits: Myths and Reality
UEFI Firmware Rootkits: Myths and RealityUEFI Firmware Rootkits: Myths and Reality
UEFI Firmware Rootkits: Myths and Reality
Sally Feller
 
March Patch Tuesday
March Patch TuesdayMarch Patch Tuesday
March Patch Tuesday
Ivanti
 
ALSS14: Xen Project Automotive Hypervisor (Demo)
ALSS14: Xen Project Automotive Hypervisor (Demo)ALSS14: Xen Project Automotive Hypervisor (Demo)
ALSS14: Xen Project Automotive Hypervisor (Demo)
The Linux Foundation
 
Yocto project
Yocto projectYocto project
キーボード自作のススメ
キーボード自作のススメキーボード自作のススメ
キーボード自作のススメ
Retrieva inc.
 
Boot process: BIOS vs UEFI
Boot process: BIOS vs UEFIBoot process: BIOS vs UEFI
Boot process: BIOS vs UEFI
Alea Soluciones, S.L.
 
ゲームAI製作のためのワークショップ(II)
ゲームAI製作のためのワークショップ(II)ゲームAI製作のためのワークショップ(II)
ゲームAI製作のためのワークショップ(II)
Youichiro Miyake
 
NVidia CUDA Tutorial - June 15, 2009
NVidia CUDA Tutorial - June 15, 2009NVidia CUDA Tutorial - June 15, 2009
NVidia CUDA Tutorial - June 15, 2009
Randall Hand
 
클라우드 컴퓨팅 기반 기술과 오픈스택(Kvm) 기반 Provisioning
클라우드 컴퓨팅 기반 기술과 오픈스택(Kvm) 기반 Provisioning 클라우드 컴퓨팅 기반 기술과 오픈스택(Kvm) 기반 Provisioning
클라우드 컴퓨팅 기반 기술과 오픈스택(Kvm) 기반 Provisioning
Ji-Woong Choi
 
仮想化技術によるマルウェア対策とその問題点
仮想化技術によるマルウェア対策とその問題点仮想化技術によるマルウェア対策とその問題点
仮想化技術によるマルウェア対策とその問題点
Kuniyasu Suzaki
 
Unity対応してるmbass全部紹介する
Unity対応してるmbass全部紹介するUnity対応してるmbass全部紹介する
Unity対応してるmbass全部紹介する
Takaaki Ichijo
 
USB3.0ドライバ開発の道
USB3.0ドライバ開発の道USB3.0ドライバ開発の道
USB3.0ドライバ開発の道
uchan_nos
 
Cisco ACI と 仮想化連携 (vSphere / Hyepr-V)
Cisco ACI と 仮想化連携 (vSphere / Hyepr-V)Cisco ACI と 仮想化連携 (vSphere / Hyepr-V)
Cisco ACI と 仮想化連携 (vSphere / Hyepr-V)
Takao Setaka
 

What's hot (20)

XPDDS19 Keynote: Xen Dom0-less - Stefano Stabellini, Principal Engineer, Xilinx
XPDDS19 Keynote: Xen Dom0-less - Stefano Stabellini, Principal Engineer, XilinxXPDDS19 Keynote: Xen Dom0-less - Stefano Stabellini, Principal Engineer, Xilinx
XPDDS19 Keynote: Xen Dom0-less - Stefano Stabellini, Principal Engineer, Xilinx
 
OpenCLに触れてみよう
OpenCLに触れてみようOpenCLに触れてみよう
OpenCLに触れてみよう
 
Csw2017 bazhaniuk exploring_yoursystemdeeper_updated
Csw2017 bazhaniuk exploring_yoursystemdeeper_updatedCsw2017 bazhaniuk exploring_yoursystemdeeper_updated
Csw2017 bazhaniuk exploring_yoursystemdeeper_updated
 
NeXTBSD aka FreeBSD X
NeXTBSD aka FreeBSD XNeXTBSD aka FreeBSD X
NeXTBSD aka FreeBSD X
 
(公開版)FPGAエクストリームコンピューティング2017
(公開版)FPGAエクストリームコンピューティング2017 (公開版)FPGAエクストリームコンピューティング2017
(公開版)FPGAエクストリームコンピューティング2017
 
Virtualization Support in ARMv8+
Virtualization Support in ARMv8+Virtualization Support in ARMv8+
Virtualization Support in ARMv8+
 
UEFI Firmware Rootkits: Myths and Reality
UEFI Firmware Rootkits: Myths and RealityUEFI Firmware Rootkits: Myths and Reality
UEFI Firmware Rootkits: Myths and Reality
 
March Patch Tuesday
March Patch TuesdayMarch Patch Tuesday
March Patch Tuesday
 
ALSS14: Xen Project Automotive Hypervisor (Demo)
ALSS14: Xen Project Automotive Hypervisor (Demo)ALSS14: Xen Project Automotive Hypervisor (Demo)
ALSS14: Xen Project Automotive Hypervisor (Demo)
 
Yocto project
Yocto projectYocto project
Yocto project
 
キーボード自作のススメ
キーボード自作のススメキーボード自作のススメ
キーボード自作のススメ
 
Boot process: BIOS vs UEFI
Boot process: BIOS vs UEFIBoot process: BIOS vs UEFI
Boot process: BIOS vs UEFI
 
Hacking the swisscom modem
Hacking the swisscom modemHacking the swisscom modem
Hacking the swisscom modem
 
ゲームAI製作のためのワークショップ(II)
ゲームAI製作のためのワークショップ(II)ゲームAI製作のためのワークショップ(II)
ゲームAI製作のためのワークショップ(II)
 
NVidia CUDA Tutorial - June 15, 2009
NVidia CUDA Tutorial - June 15, 2009NVidia CUDA Tutorial - June 15, 2009
NVidia CUDA Tutorial - June 15, 2009
 
클라우드 컴퓨팅 기반 기술과 오픈스택(Kvm) 기반 Provisioning
클라우드 컴퓨팅 기반 기술과 오픈스택(Kvm) 기반 Provisioning 클라우드 컴퓨팅 기반 기술과 오픈스택(Kvm) 기반 Provisioning
클라우드 컴퓨팅 기반 기술과 오픈스택(Kvm) 기반 Provisioning
 
仮想化技術によるマルウェア対策とその問題点
仮想化技術によるマルウェア対策とその問題点仮想化技術によるマルウェア対策とその問題点
仮想化技術によるマルウェア対策とその問題点
 
Unity対応してるmbass全部紹介する
Unity対応してるmbass全部紹介するUnity対応してるmbass全部紹介する
Unity対応してるmbass全部紹介する
 
USB3.0ドライバ開発の道
USB3.0ドライバ開発の道USB3.0ドライバ開発の道
USB3.0ドライバ開発の道
 
Cisco ACI と 仮想化連携 (vSphere / Hyepr-V)
Cisco ACI と 仮想化連携 (vSphere / Hyepr-V)Cisco ACI と 仮想化連携 (vSphere / Hyepr-V)
Cisco ACI と 仮想化連携 (vSphere / Hyepr-V)
 

Viewers also liked

HKG15-305: Real Time processing comparing the RT patch vs Core isolation
HKG15-305: Real Time processing comparing the RT patch vs Core isolationHKG15-305: Real Time processing comparing the RT patch vs Core isolation
HKG15-305: Real Time processing comparing the RT patch vs Core isolation
Linaro
 
Overview of Linux real-time challenges
Overview of Linux real-time challengesOverview of Linux real-time challenges
Overview of Linux real-time challenges
Daniel Stenberg
 
El libro de los muertos
El libro de los muertosEl libro de los muertos
El libro de los muertos
pabloafherradura
 
Layanan internet
Layanan internetLayanan internet
Layanan internet
NadiyaAssegaf
 
Trabajo
TrabajoTrabajo
Sản phẩm bổ dưỡng, tăng cường sức khỏe Nhật Bản - Hàng nội địa Nhật chính hãng
Sản phẩm bổ dưỡng, tăng cường sức khỏe Nhật Bản - Hàng nội địa Nhật chính hãngSản phẩm bổ dưỡng, tăng cường sức khỏe Nhật Bản - Hàng nội địa Nhật chính hãng
Sản phẩm bổ dưỡng, tăng cường sức khỏe Nhật Bản - Hàng nội địa Nhật chính hãng
Thuốc bổ Nhật Bản
 
Sound Machina
Sound MachinaSound Machina
Sound Machina
ENDIKA CATARECHA
 
Applying Linux to the Civil Infrastructure
Applying Linux to the Civil InfrastructureApplying Linux to the Civil Infrastructure
Applying Linux to the Civil Infrastructure
Yoshitake Kobayashi
 
Tukesin Kukkahattutäti & Nuoret ja kemikaalit -teemavuosi2015
Tukesin Kukkahattutäti & Nuoret ja kemikaalit -teemavuosi2015Tukesin Kukkahattutäti & Nuoret ja kemikaalit -teemavuosi2015
Tukesin Kukkahattutäti & Nuoret ja kemikaalit -teemavuosi2015
Turvallisuus- ja kemikaalivirasto (Tukes)
 
【5分鐘搞懂輪狀病毒】-寶寶怎麼拉不停?輪狀病毒別輕忽 預防感染勝治療
【5分鐘搞懂輪狀病毒】-寶寶怎麼拉不停?輪狀病毒別輕忽 預防感染勝治療【5分鐘搞懂輪狀病毒】-寶寶怎麼拉不停?輪狀病毒別輕忽 預防感染勝治療
【5分鐘搞懂輪狀病毒】-寶寶怎麼拉不停?輪狀病毒別輕忽 預防感染勝治療
Yu Shin Wei
 
Atiso tác dụng tuyệt vời
Atiso tác dụng tuyệt vờiAtiso tác dụng tuyệt vời
Atiso tác dụng tuyệt vời
cengroup
 
Using Embedded Linux for Infrastructure Systems
Using Embedded Linux for Infrastructure SystemsUsing Embedded Linux for Infrastructure Systems
Using Embedded Linux for Infrastructure Systems
Yoshitake Kobayashi
 
Ineffective and Effective Ways To Find Out Latency Bottlenecks With Ftrace
Ineffective and Effective Ways To Find Out Latency Bottlenecks With FtraceIneffective and Effective Ways To Find Out Latency Bottlenecks With Ftrace
Ineffective and Effective Ways To Find Out Latency Bottlenecks With Ftrace
Yoshitake Kobayashi
 
Palabra de incide n 2
Palabra de incide n 2Palabra de incide n 2
Palabra de incide n 2
derechoshumanos2017
 
An Essential Relationship between Real-time and Resource Partitioning
An Essential Relationship between Real-time and Resource PartitioningAn Essential Relationship between Real-time and Resource Partitioning
An Essential Relationship between Real-time and Resource Partitioning
Yoshitake Kobayashi
 
Suomen 100 kokeilua -hankeidea (2016-2017). Tule mukaan!
Suomen 100 kokeilua -hankeidea (2016-2017). Tule mukaan!Suomen 100 kokeilua -hankeidea (2016-2017). Tule mukaan!
Suomen 100 kokeilua -hankeidea (2016-2017). Tule mukaan!
Vesa Auvinen
 
Grand Format "Jardins Ouverts, Jardins Clos" du 28/02/2017 - Présentation M6 ...
Grand Format "Jardins Ouverts, Jardins Clos" du 28/02/2017 - Présentation M6 ...Grand Format "Jardins Ouverts, Jardins Clos" du 28/02/2017 - Présentation M6 ...
Grand Format "Jardins Ouverts, Jardins Clos" du 28/02/2017 - Présentation M6 ...
Petit Web
 
Grand Format "Jardins Ouverts, Jardins Clos" du 28/02/2017 - Présentation TF1...
Grand Format "Jardins Ouverts, Jardins Clos" du 28/02/2017 - Présentation TF1...Grand Format "Jardins Ouverts, Jardins Clos" du 28/02/2017 - Présentation TF1...
Grand Format "Jardins Ouverts, Jardins Clos" du 28/02/2017 - Présentation TF1...
Petit Web
 
Les civilitzacions fluvials - Mesopotàmia
Les civilitzacions fluvials - Mesopotàmia Les civilitzacions fluvials - Mesopotàmia
Les civilitzacions fluvials - Mesopotàmia
professor_errant
 

Viewers also liked (20)

HKG15-305: Real Time processing comparing the RT patch vs Core isolation
HKG15-305: Real Time processing comparing the RT patch vs Core isolationHKG15-305: Real Time processing comparing the RT patch vs Core isolation
HKG15-305: Real Time processing comparing the RT patch vs Core isolation
 
Overview of Linux real-time challenges
Overview of Linux real-time challengesOverview of Linux real-time challenges
Overview of Linux real-time challenges
 
El libro de los muertos
El libro de los muertosEl libro de los muertos
El libro de los muertos
 
Layanan internet
Layanan internetLayanan internet
Layanan internet
 
Trabajo
TrabajoTrabajo
Trabajo
 
Sản phẩm bổ dưỡng, tăng cường sức khỏe Nhật Bản - Hàng nội địa Nhật chính hãng
Sản phẩm bổ dưỡng, tăng cường sức khỏe Nhật Bản - Hàng nội địa Nhật chính hãngSản phẩm bổ dưỡng, tăng cường sức khỏe Nhật Bản - Hàng nội địa Nhật chính hãng
Sản phẩm bổ dưỡng, tăng cường sức khỏe Nhật Bản - Hàng nội địa Nhật chính hãng
 
Sound Machina
Sound MachinaSound Machina
Sound Machina
 
Applying Linux to the Civil Infrastructure
Applying Linux to the Civil InfrastructureApplying Linux to the Civil Infrastructure
Applying Linux to the Civil Infrastructure
 
Tukesin Kukkahattutäti & Nuoret ja kemikaalit -teemavuosi2015
Tukesin Kukkahattutäti & Nuoret ja kemikaalit -teemavuosi2015Tukesin Kukkahattutäti & Nuoret ja kemikaalit -teemavuosi2015
Tukesin Kukkahattutäti & Nuoret ja kemikaalit -teemavuosi2015
 
【5分鐘搞懂輪狀病毒】-寶寶怎麼拉不停?輪狀病毒別輕忽 預防感染勝治療
【5分鐘搞懂輪狀病毒】-寶寶怎麼拉不停?輪狀病毒別輕忽 預防感染勝治療【5分鐘搞懂輪狀病毒】-寶寶怎麼拉不停?輪狀病毒別輕忽 預防感染勝治療
【5分鐘搞懂輪狀病毒】-寶寶怎麼拉不停?輪狀病毒別輕忽 預防感染勝治療
 
Atiso tác dụng tuyệt vời
Atiso tác dụng tuyệt vờiAtiso tác dụng tuyệt vời
Atiso tác dụng tuyệt vời
 
Mastering Real-time Linux
Mastering Real-time LinuxMastering Real-time Linux
Mastering Real-time Linux
 
Using Embedded Linux for Infrastructure Systems
Using Embedded Linux for Infrastructure SystemsUsing Embedded Linux for Infrastructure Systems
Using Embedded Linux for Infrastructure Systems
 
Ineffective and Effective Ways To Find Out Latency Bottlenecks With Ftrace
Ineffective and Effective Ways To Find Out Latency Bottlenecks With FtraceIneffective and Effective Ways To Find Out Latency Bottlenecks With Ftrace
Ineffective and Effective Ways To Find Out Latency Bottlenecks With Ftrace
 
Palabra de incide n 2
Palabra de incide n 2Palabra de incide n 2
Palabra de incide n 2
 
An Essential Relationship between Real-time and Resource Partitioning
An Essential Relationship between Real-time and Resource PartitioningAn Essential Relationship between Real-time and Resource Partitioning
An Essential Relationship between Real-time and Resource Partitioning
 
Suomen 100 kokeilua -hankeidea (2016-2017). Tule mukaan!
Suomen 100 kokeilua -hankeidea (2016-2017). Tule mukaan!Suomen 100 kokeilua -hankeidea (2016-2017). Tule mukaan!
Suomen 100 kokeilua -hankeidea (2016-2017). Tule mukaan!
 
Grand Format "Jardins Ouverts, Jardins Clos" du 28/02/2017 - Présentation M6 ...
Grand Format "Jardins Ouverts, Jardins Clos" du 28/02/2017 - Présentation M6 ...Grand Format "Jardins Ouverts, Jardins Clos" du 28/02/2017 - Présentation M6 ...
Grand Format "Jardins Ouverts, Jardins Clos" du 28/02/2017 - Présentation M6 ...
 
Grand Format "Jardins Ouverts, Jardins Clos" du 28/02/2017 - Présentation TF1...
Grand Format "Jardins Ouverts, Jardins Clos" du 28/02/2017 - Présentation TF1...Grand Format "Jardins Ouverts, Jardins Clos" du 28/02/2017 - Présentation TF1...
Grand Format "Jardins Ouverts, Jardins Clos" du 28/02/2017 - Présentation TF1...
 
Les civilitzacions fluvials - Mesopotàmia
Les civilitzacions fluvials - Mesopotàmia Les civilitzacions fluvials - Mesopotàmia
Les civilitzacions fluvials - Mesopotàmia
 

Similar to Improvement of Scheduling Granularity for Deadline Scheduler

Deadline Miss Detection with SCHED_DEADLINE
Deadline Miss Detection with SCHED_DEADLINEDeadline Miss Detection with SCHED_DEADLINE
Deadline Miss Detection with SCHED_DEADLINE
Yoshitake Kobayashi
 
Multiprocessor Real-Time Scheduling.pptx
Multiprocessor Real-Time Scheduling.pptxMultiprocessor Real-Time Scheduling.pptx
Multiprocessor Real-Time Scheduling.pptx
naghamallella
 
Energy power efficient real time systems
Energy power efficient real time systemsEnergy power efficient real time systems
Energy power efficient real time systems
pragya arya
 
Document 14 (6).pdf
Document 14 (6).pdfDocument 14 (6).pdf
Document 14 (6).pdf
RajMantry
 
Rate.docx
Rate.docxRate.docx
Rate.docx
kradha5
 
task_sched2.ppt
task_sched2.ppttask_sched2.ppt
task_sched2.ppt
SruthiReddy112
 
Clock driven scheduling
Clock driven schedulingClock driven scheduling
Clock driven scheduling
Kamal Acharya
 
Unit 2 process Management
Unit 2 process ManagementUnit 2 process Management
Unit 2 process Management
zahid7578
 
ERTS UNIT 5.pptx
ERTS UNIT 5.pptxERTS UNIT 5.pptx
ERTS UNIT 5.pptx
Pavithra525349
 
Scheduling and Scheduler's Process and Premptive
Scheduling and Scheduler's Process and PremptiveScheduling and Scheduler's Process and Premptive
Scheduling and Scheduler's Process and Premptive
choudharyxdevansh
 
multiprocessor real_ time scheduling.ppt
multiprocessor real_ time scheduling.pptmultiprocessor real_ time scheduling.ppt
multiprocessor real_ time scheduling.ppt
naghamallella
 
Real time-embedded-system-lec-02
Real time-embedded-system-lec-02Real time-embedded-system-lec-02
Real time-embedded-system-lec-02
University of Computer Science and Technology
 
Real time-embedded-system-lec-02
Real time-embedded-system-lec-02Real time-embedded-system-lec-02
Real time-embedded-system-lec-02
University of Computer Science and Technology
 
Cpm module iii reference
Cpm module iii referenceCpm module iii reference
Cpm module iii reference
ahsanrabbani
 
6_RealTimeScheduling.pdf
6_RealTimeScheduling.pdf6_RealTimeScheduling.pdf
6_RealTimeScheduling.pdf
Tigabu Yaya
 
Multiprocessor scheduling 3
Multiprocessor scheduling 3Multiprocessor scheduling 3
Multiprocessor scheduling 3mrbourne
 
ESC UNIT 3.ppt
ESC UNIT 3.pptESC UNIT 3.ppt
ESC UNIT 3.ppt
Sarvesh Warjurkar
 

Similar to Improvement of Scheduling Granularity for Deadline Scheduler (20)

Deadline Miss Detection with SCHED_DEADLINE
Deadline Miss Detection with SCHED_DEADLINEDeadline Miss Detection with SCHED_DEADLINE
Deadline Miss Detection with SCHED_DEADLINE
 
Multiprocessor Real-Time Scheduling.pptx
Multiprocessor Real-Time Scheduling.pptxMultiprocessor Real-Time Scheduling.pptx
Multiprocessor Real-Time Scheduling.pptx
 
Energy power efficient real time systems
Energy power efficient real time systemsEnergy power efficient real time systems
Energy power efficient real time systems
 
Document 14 (6).pdf
Document 14 (6).pdfDocument 14 (6).pdf
Document 14 (6).pdf
 
Rate.docx
Rate.docxRate.docx
Rate.docx
 
task_sched2.ppt
task_sched2.ppttask_sched2.ppt
task_sched2.ppt
 
Real time system tsp
Real time system tspReal time system tsp
Real time system tsp
 
Clock driven scheduling
Clock driven schedulingClock driven scheduling
Clock driven scheduling
 
Unit 2 process Management
Unit 2 process ManagementUnit 2 process Management
Unit 2 process Management
 
ERTS UNIT 5.pptx
ERTS UNIT 5.pptxERTS UNIT 5.pptx
ERTS UNIT 5.pptx
 
Scheduling and Scheduler's Process and Premptive
Scheduling and Scheduler's Process and PremptiveScheduling and Scheduler's Process and Premptive
Scheduling and Scheduler's Process and Premptive
 
Ijariie1161
Ijariie1161Ijariie1161
Ijariie1161
 
multiprocessor real_ time scheduling.ppt
multiprocessor real_ time scheduling.pptmultiprocessor real_ time scheduling.ppt
multiprocessor real_ time scheduling.ppt
 
Real time-embedded-system-lec-02
Real time-embedded-system-lec-02Real time-embedded-system-lec-02
Real time-embedded-system-lec-02
 
Real time-embedded-system-lec-02
Real time-embedded-system-lec-02Real time-embedded-system-lec-02
Real time-embedded-system-lec-02
 
Cpm module iii reference
Cpm module iii referenceCpm module iii reference
Cpm module iii reference
 
6_RealTimeScheduling.pdf
6_RealTimeScheduling.pdf6_RealTimeScheduling.pdf
6_RealTimeScheduling.pdf
 
Multiprocessor scheduling 3
Multiprocessor scheduling 3Multiprocessor scheduling 3
Multiprocessor scheduling 3
 
ESC UNIT 3.ppt
ESC UNIT 3.pptESC UNIT 3.ppt
ESC UNIT 3.ppt
 
Process management
Process managementProcess management
Process management
 

More from Yoshitake Kobayashi

InnerSource Learning Path (Japanese)
InnerSource Learning Path (Japanese)InnerSource Learning Path (Japanese)
InnerSource Learning Path (Japanese)
Yoshitake Kobayashi
 
Civil Infrastructure Platform: Industrial Grade SLTS Kernel and Base-layer De...
Civil Infrastructure Platform: Industrial Grade SLTS Kernel and Base-layer De...Civil Infrastructure Platform: Industrial Grade SLTS Kernel and Base-layer De...
Civil Infrastructure Platform: Industrial Grade SLTS Kernel and Base-layer De...
Yoshitake Kobayashi
 
SLTS kernel and base-layer development in the Civil Infrastructure Platform
SLTS kernel and base-layer development in the Civil Infrastructure PlatformSLTS kernel and base-layer development in the Civil Infrastructure Platform
SLTS kernel and base-layer development in the Civil Infrastructure Platform
Yoshitake Kobayashi
 
Time is ready for the Civil Infrastructure Platform
Time is ready for the Civil Infrastructure PlatformTime is ready for the Civil Infrastructure Platform
Time is ready for the Civil Infrastructure Platform
Yoshitake Kobayashi
 
Introducing the Civil Infrastructure Platform Project
Introducing the Civil Infrastructure Platform ProjectIntroducing the Civil Infrastructure Platform Project
Introducing the Civil Infrastructure Platform Project
Yoshitake Kobayashi
 
Introducing the Civil Infrastructure Platform
Introducing the Civil Infrastructure PlatformIntroducing the Civil Infrastructure Platform
Introducing the Civil Infrastructure Platform
Yoshitake Kobayashi
 
The Latest Status of CE Workgroup Shared Embedded Linux Distribution Project
 The Latest Status of CE Workgroup Shared Embedded Linux Distribution Project The Latest Status of CE Workgroup Shared Embedded Linux Distribution Project
The Latest Status of CE Workgroup Shared Embedded Linux Distribution Project
Yoshitake Kobayashi
 
Poky meets Debian: Understanding how to make an embedded Linux by using an ex...
Poky meets Debian: Understanding how to make an embedded Linux by using an ex...Poky meets Debian: Understanding how to make an embedded Linux by using an ex...
Poky meets Debian: Understanding how to make an embedded Linux by using an ex...
Yoshitake Kobayashi
 
Using Real-Time Patch with LTSI Kernel
Using Real-Time Patch with LTSI KernelUsing Real-Time Patch with LTSI Kernel
Using Real-Time Patch with LTSI Kernel
Yoshitake Kobayashi
 
Moving Forward: Overcoming Compatibility Issues BoFs
Moving Forward: Overcoming Compatibility Issues BoFs Moving Forward: Overcoming Compatibility Issues BoFs
Moving Forward: Overcoming Compatibility Issues BoFs
Yoshitake Kobayashi
 
Evaluation of Data Reliability on Linux File Systems
Evaluation of Data Reliability on Linux File SystemsEvaluation of Data Reliability on Linux File Systems
Evaluation of Data Reliability on Linux File Systems
Yoshitake Kobayashi
 

More from Yoshitake Kobayashi (11)

InnerSource Learning Path (Japanese)
InnerSource Learning Path (Japanese)InnerSource Learning Path (Japanese)
InnerSource Learning Path (Japanese)
 
Civil Infrastructure Platform: Industrial Grade SLTS Kernel and Base-layer De...
Civil Infrastructure Platform: Industrial Grade SLTS Kernel and Base-layer De...Civil Infrastructure Platform: Industrial Grade SLTS Kernel and Base-layer De...
Civil Infrastructure Platform: Industrial Grade SLTS Kernel and Base-layer De...
 
SLTS kernel and base-layer development in the Civil Infrastructure Platform
SLTS kernel and base-layer development in the Civil Infrastructure PlatformSLTS kernel and base-layer development in the Civil Infrastructure Platform
SLTS kernel and base-layer development in the Civil Infrastructure Platform
 
Time is ready for the Civil Infrastructure Platform
Time is ready for the Civil Infrastructure PlatformTime is ready for the Civil Infrastructure Platform
Time is ready for the Civil Infrastructure Platform
 
Introducing the Civil Infrastructure Platform Project
Introducing the Civil Infrastructure Platform ProjectIntroducing the Civil Infrastructure Platform Project
Introducing the Civil Infrastructure Platform Project
 
Introducing the Civil Infrastructure Platform
Introducing the Civil Infrastructure PlatformIntroducing the Civil Infrastructure Platform
Introducing the Civil Infrastructure Platform
 
The Latest Status of CE Workgroup Shared Embedded Linux Distribution Project
 The Latest Status of CE Workgroup Shared Embedded Linux Distribution Project The Latest Status of CE Workgroup Shared Embedded Linux Distribution Project
The Latest Status of CE Workgroup Shared Embedded Linux Distribution Project
 
Poky meets Debian: Understanding how to make an embedded Linux by using an ex...
Poky meets Debian: Understanding how to make an embedded Linux by using an ex...Poky meets Debian: Understanding how to make an embedded Linux by using an ex...
Poky meets Debian: Understanding how to make an embedded Linux by using an ex...
 
Using Real-Time Patch with LTSI Kernel
Using Real-Time Patch with LTSI KernelUsing Real-Time Patch with LTSI Kernel
Using Real-Time Patch with LTSI Kernel
 
Moving Forward: Overcoming Compatibility Issues BoFs
Moving Forward: Overcoming Compatibility Issues BoFs Moving Forward: Overcoming Compatibility Issues BoFs
Moving Forward: Overcoming Compatibility Issues BoFs
 
Evaluation of Data Reliability on Linux File Systems
Evaluation of Data Reliability on Linux File SystemsEvaluation of Data Reliability on Linux File Systems
Evaluation of Data Reliability on Linux File Systems
 

Recently uploaded

Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Paige Cruz
 
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdfSAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
Peter Spielvogel
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
DanBrown980551
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Albert Hoitingh
 
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptxSecstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
nkrafacyberclub
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
BookNet Canada
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
Dorra BARTAGUIZ
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
Adtran
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
KatiaHIMEUR1
 
GridMate - End to end testing is a critical piece to ensure quality and avoid...
GridMate - End to end testing is a critical piece to ensure quality and avoid...GridMate - End to end testing is a critical piece to ensure quality and avoid...
GridMate - End to end testing is a critical piece to ensure quality and avoid...
ThomasParaiso2
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
Neo4j
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
Matthew Sinclair
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance
 
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
James Anderson
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
DianaGray10
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
Quotidiano Piemontese
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
Alpen-Adria-Universität
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
Guy Korland
 

Recently uploaded (20)

Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
 
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdfSAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
 
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptxSecstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
 
GridMate - End to end testing is a critical piece to ensure quality and avoid...
GridMate - End to end testing is a critical piece to ensure quality and avoid...GridMate - End to end testing is a critical piece to ensure quality and avoid...
GridMate - End to end testing is a critical piece to ensure quality and avoid...
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
 
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 

Improvement of Scheduling Granularity for Deadline Scheduler

  • 1. Improvement of Scheduling Granularity for Deadline Scheduler Copyright 2012, Toshiba Corporation. Yoshitake Kobayashi Advanced Software Technology Group Corporate Software Engineering Center TOSHIBA CORPORATION
  • 2. Outline Motivation Deadline scheduler SCHED_DEADLINE and its evaluation Budget management Conclusion 2TOSHIBA Confidential
  • 3. Motivation We would like to use Linux on control systems Real-time is one of the most critical topic Problem statement Need to evaluate deeply to meet the deadline CPU resource used too much by higher priority tasks 3TOSHIBA Confidential CPU resource used too much by higher priority tasks EDF scheduler
  • 4. Definition of deadline Wakeup time: The time of an event occurred (Ex. Timer interrupt) and target task’s state changed to runnable. Event response time: Interrupt latency Deadline: The time for a target task must finish Process time Event response time 4TOSHIBA Confidential Wakeup time Deadline Period Event response time Wakeup time
  • 5. Earliest Deadline Fisrt scheduling (EDF) The earliest deadline task has the highest priority Task’s priority is dynamically changed and managed SCHED_FIFO is static priority management Theoretically the total CPU usage by all tasks is up to 100% Includes the kernel overhead 5TOSHIBA Confidential Includes the kernel overhead If usage of CPU by all tasks is less than 100%, all tasks meet the deadline Reference http://en.wikipedia.org/wiki/Earliest_deadline_first_schedu ling
  • 6. An example of EDF Scheduling Task1: budget 1ms period 8ms Task2: budget 2ms period 5ms Task3: budget 4ms period 10ms T1 20ms0ms CPU usage====0.925% <<<< 100% 6TOSHIBA Confidential T1 T2 T3
  • 7. Rate-Monotonic Scheduling (RMS) One of the popular scheduling algorithm for RTOS Assumptions for task behavior NO resource sharing such as hardware, a queue, or any kind of semaphore Deterministic deadlines are exactly equal to periods Static priorities (the task with the highest static priority that is runnable immediately preempts all other tasks) Static priorities assigned according to the rate monotonic conventions (tasks with shorter periods/deadlines are given higher priorities) Context switch times and other thread operations are free and have no impact on the model CPU utilization 7TOSHIBA Confidential CPU utilization n: number of periodic tasks,Ti: Release period, Ci: Computation time CPU utilization depends on the combination of periodic tasks and it is possible to meet the deadline even the CPU utilization is around 80% Reference http://en.wikipedia.org/wiki/Earliest_deadline_first_scheduling 69.02ln)12(/ 0 ≈→−≤= ∞= = ∑ n n i n ii nTCU
  • 8. Compared with the RMS scheduling Task1: budget 1ms period 4ms Task2: budget 2ms period 6ms Task3: budget 3ms period 8ms T1 T2 20ms0ms RMS CPU usage====0.958% 8TOSHIBA Confidential T3 deadline miss T1 T2 T3 20ms0ms EDF
  • 9. Comparison of deadline algorithms Advantage Disadvantage RMS Easier to implement Evaluation for scheduling possibility is required to meet the deadline 9TOSHIBA Confidential deadline EDF No evaluation for scheduling possibility is required to meet the deadline Difficult to implement
  • 10. SCHED_DEADLINE http://www.evidence.eu.com/sched_deadline.html Implements the EDF scheduling algorithm Posted to LKML by Dario Faggioli and Juri Lelli Latest version is V6 (2012/10/24) But V2 and V4 are used in our evaluation. Key features of SCHED_DEADLINE 10TOSHIBA Confidential Key features of SCHED_DEADLINE Temporal isolation The temporal behavior of each task (i.e., its ability to meet its deadlines) is not affected by the behavior of any other task in the system Each task is characterized by the following aspects: Budget: sched_runtime Period: sched_period, equal to its deadline
  • 11. Build SCHED_DEADLINE(linux kernel) Get rt-deadline from the following place git clone git://gitorious.org/rt-deadline (for V2) Kernel configuration CONFIG_EXPERIMENTAL = y CONFIG_CGROUPS = y CONFIG_CGROUP_SCHED = n CONFIG_HIGH_RES_TIMERS = y 11TOSHIBA Confidential CONFIG_HIGH_RES_TIMERS = y CONFIG_PREEMPT = y CONFIG_PREEMPT_RT = y CONFIG_HZ_1000 = y Note: For V6 git clone git://github.com/jlelli/sched-deadline.git
  • 12. Overview of SCHED_DEADLINE EDF task User sysctl_sched_dl_runtime sysctl_sched_dl_period procfs Set parameters for SCHED_DEADLINE sched_prama_ex Set deadline and budget System call 12TOSHIBA Confidential Kernel task_struct sched_calss dl_sched_class enqueue_task_dl dequeue_task_dl sched_dl_entity task_tick_dl set_curr_task_dl ・・・ ・・・ ・・・ ・・・ rb_node dl_runtime dl_deadline dl_timer ・・・・・・ ・・
  • 13. Overview of SCHED_DEADLINE EDF task User sysctl_sched_dl_runtime sysctl_sched_dl_period procfs Set parameters for SCHED_DEADLINE sched_prama_ex Set deadline and budget System call 13TOSHIBA Confidential Kernel task_struct sched_calss dl_sched_class enqueue_task_dl dequeue_task_dl sched_dl_entity task_tick_dl set_curr_task_dl ・・・ ・・・ ・・・ ・・・ rb_node dl_runtime dl_deadline dl_timer ・・・・・・ ・・
  • 14. Setting CPU utilization for EDF tasks Parameters can be setted via procfs CPU utilization for rt(SCHED_FIFO and SCHED_RR) and dl(SCHED_DEADLINE) should be under 100% Parameters for EDF scheduler /proc/sys/kernel/sched_dl_period_us /proc/sys/kernel/sched_dl_runtime_us When a task requires more than above limit, the task 14TOSHIBA Confidential When a task requires more than above limit, the task cannot submit to run An example setting (rt: 50%, dl:50%)))) # echo 500000 > /proc/sys/kernel/sched_rt_runtime_us (500ms) # echo 100000 > /proc/sys/kernel/sched_dl_period_us (100ms) # echo 50000 > /proc/sys/kernel/sched_dl_runtime_us (50ms)
  • 15. Overview of SCHED_DEADLINE EDF task User sysctl_sched_dl_runtime sysctl_sched_dl_period procfs Set parameters for SCHED_DEADLINE sched_prama_ex Set deadline and runtime System call 15TOSHIBA Confidential Kernel task_struct sched_calss dl_sched_class enqueue_task_dl dequeue_task_dl sched_dl_entity task_tick_dl set_curr_task_dl ・・・ ・・・ ・・・ ・・・ rb_node dl_runtime dl_deadline dl_timer ・・・・・・ ・・
  • 16. Run a EDF task Schedtool # schedtool -E -t 10000:100000 -a 0 -e ./yes Options -E: a task runs on SCHED_DEADLINE -t: <execution time> and <period> in micro seconds -a: Affinity mask -e: command 16TOSHIBA Confidential System call sched_setscheduler_ex()
  • 17. Budget management for EDF tasks EDF task User sysctl_sched_dl_runtime sysctl_sched_dl_period procfs Set parameters for SCHED_DEADLINE sched_prama_ex Set deadline and runtime System call 17TOSHIBA Confidential Kernel task_struct sched_calss dl_sched_class enqueue_task_dl dequeue_task_dl sched_dl_entity task_tick_dl set_curr_task_dl ・・・ ・・・ ・・・ ・・・ rb_node dl_runtime dl_deadline dl_timer ・・・・・・ ・・
  • 18. Budget management for EDF tasks Each task on SCHED_DEADLINE has budget which allows it to use CPU Budget management Refill budget : dl_timer ( high resolution timer ) Use budget : task_tick_dl ( tick bsed ) task_tick_dl 18TOSHIBA Confidential Wakeup time Period Wakeup time dl_timer Task task_tick_dl dl_timer
  • 19. Evaluation (Period:100ms, Budget: 50ms) 19TOSHIBA Confidential
  • 20. Evaluation (Period: 100ms , Budget: 10ms) 20TOSHIBA Confidential
  • 21. Evaluation Task T1: budget 1ms period 4ms Task T2: budget 2ms period 6ms Task T3: budget 3ms period 8ms 21TOSHIBA Confidential T1 T2 T3 20ms0ms Compare with page 6
  • 22. Evaluation (Period: 1ms, Budget: 0.5ms) 22TOSHIBA Confidential
  • 23. Budget management for EDF tasks Each task on SCHED_DEADLINE has budget which allows it to use CPU Budget management Refill budget : dl_timer ( high resolution timer ) Use budget : task_tick_dl ( tick based ) An Issue Difficult to keep task’s budget if the budget has micro seconds granularity 1.5ms 1.5ms 23TOSHIBA Confidential Wakeup Period Task execution Time dl_timer 1.5ms task_tick_dl 1ms Wakeup dl_timer 1.5ms 1ms Step1: Refill budget Step2: Use budget Period 2ms
  • 24. Overview When a task’s budget is less than 1ms, set HRTICK for the rest of budget Step1: Refill budget 3.2ms 1ms 2ms 3ms Support for micro seconds granularity 24TOSHIBA Confidential Wakeup Period Task execution Set HRTICK here Step2: Use budget Time 1ms 2ms 3ms Wakeup
  • 25. Evaluation (Cycle: 1ms, Budget: 0.5ms) 25TOSHIBA Confidential
  • 26. Advantage and Disadvantage Advantage Easy to support high resolution budget Disadvantage Increase overhead 26TOSHIBA Confidential
  • 27. Conclusion SCHED_DEADLINE is useful for real time systems An Enhancement for budget management Support fine grained budget such as 100 micro seconds HRTICK is needed to support fine grained budget What we’ve done: Backport the SCHED_DEADLINE v4 to kernel v3.0-rt 27TOSHIBA Confidential Backport the SCHED_DEADLINE v4 to kernel v3.0-rt Because v3.0 is the base version of LTSI Implement this improvement into SCHED_DEADLINE v4 on kernel v3.0-rt Forwardport it to original SCHED_DEADLINE v4 Send a patch to the author of SCHED_DEADLINE