SlideShare a Scribd company logo
多核心匯流排與直接存取記憶體之優先權配置
Priority Assignment
on the MPSoC with DMAC
Presenter: Shih-Peng Yu
Professor: Ya-Shu Chen
Department of Electrical Engineering,
National Taiwan University of Science and Technology
M10007411@mail.ntust.edu.tw
2013/10/04
Outline
• Introduction
• Related work
• Problem definition
• Approach
• Experimental result
• Conclusions
2
Introduction
 Embedded system
 Peripheral device
• Camera
• Display
• Storage
3
Direct memory access control(DMAC)
 Direct memory access(DMAC)
Transfer data without core
 Transfer type
• Memory to memory
• Memory to peripheral devices
L1 Memory
L3 Memory
L2 Memory
Device1
Device n
.
.
.
.
.
4
Introduction
UART Transfer Data
(kbps)
CPU Idle rate (%)
No DMA
CPU Idle rate (%)
With DMA
Can’t work
Can’t work
Can’t work
A B
[1] Sachin Gupta and Lakshmi Natarajan‘Optimizing Embedded Applications using DMA,” Published in EE Times Design
 DMAC is powerful to improve the system performance.
• Increase core idle time (A)
• Decrease system power (B) [1]
5
Motivation
Bus: Which master can be serviced first?
DMAC : Which device can be serviced first?
6
BUS
C𝟎 C𝟏
DMAC
𝐷0 𝐷1 𝐷2
Memory
C𝒏
BUS
Arbiter
𝐷𝑛
Motivation
BUS Priority : DMAC>C0>C1
BUS Priority : C0>C1>DMAC
7
T1,1
(2) I1,2
(3)
T1,3
(2)
T1,0
(5)
(4)
(4)
𝐓𝟏
𝐝𝟏=30
𝐃𝟎
T2,0
(5)
I2,1
(2)
T2,2
(7)
T2,3
(6)
𝐝𝟐=30
𝐓𝟐
(3)
(3)
𝐃𝟎
1
CE
1,3
2
DE0,1
(7)
1
DE
0,2
(7)
Related work
8
[2] Ya-Shu Chen, Song-Jian Tang and Shi-Wu Lo,“A Priority Assignment Strategy of Processing Elementsover an On-Chip Bus,”
Proceedings of the 2007 ACM symposium on Applied computing May 3, 2007
[3] Pi-Cheng Hsiu, Member’’Multilayer Bus Optimization for Real-Time Embedded Systems ,” Computers, IEEE Transactions on
(Volume:61 , Issue: 11 ) ,Nov. 2012
 Priority assignment
• Ya-Shu Chen, [2] propose a priority assignment strategy based
on Simulated Annealing (SA) to minimize the number of
priorities for each PE’s.
• Pi-Cheng Hsiu, [3] propose a dynamic-programming approach
for scheduling real-time tasks with precedence constraints to
minimizing the communication cost in multilayer bus embedded
systems.
Related work
9
[4] Joosun Hahn,Rhan Ha,Sang Lyul Min,Jane W.-S. Liu,’’ Analysis of Worst Case DMA Response Time in a Fixed-Priority Bus
Arbitration Protocol,” Journal Real-Time Systems Volume 23, Issue 3 , pp 209-238 , 2002-11-01
[5] Tai-Yi Huang, Chih-Chieh Chou, Po-Yuan Chen“Bounding the Execution Times of DMA I/O Tasks on Hard-Real-Time
Embedded Systems,” 9th International Conference, RTCSA, February 18-20, 2003
[6] Tai-Yi Huang,J. W.-S. Liu,Jen-Yao Chung’’ Allowing Cycle-Stealing Direct Memory Access I/O Concurrent with Hard-Real-
Time Programs ,” IEEE Computer Society Washington , 1996
 Response time analysis
• Joosun Hahn, [4] propose a technique for finding the worst case
response time (WCRT) of DMA request that is needed in the
schedulability analysis of a whole real-time system.
• Tai-Yi Huang, [5] presents a method for bounding the worst-
case execution time of a cycle-stealing DMA I/O task executing
concurrently with a set of CPU tasks on a single-processor
system.
• Tai-Yi Huang,[6] presents an analytical method for bounding
the WCET of a program executing concurrently with cycle-
stealing DMA I/O.
Problem definition
 Input:Task set and MPSoC architecture
 Output:Cores, DMAC and Devices priority assignment
 Constraint:Meet timing constrains
 Objective:Maximum the bus utilization
Bus utilization =
System exectuion time − BUS Idle Time
System exectuion time
10
System model
BUS
C𝟎 C𝟏
DMAC
𝐷0 𝐷1 𝐷2
Memory
C𝒏
BUS
Arbiter
𝐷𝑛
DMAC model
12
 Channels schedule
Arbiter controller
.
.
.
.
FIFO
Ch0
DMAC
D0
Memory
D1 Ch1
Dn Chn
Task model
13
T1.1
T1.2 T1.3 T1.4
T1.5
T1.7
𝐈𝟏.𝟔
T2.1
T2.2 T2.3
T2.5
𝐈𝟐.𝟒
C Subtask
D Subtask
CPU transmission(CE)
DMAC transmission(DE)
1
CE1,2
1
CE2,7
1
CE3,5
1
CE1,3
1
CE1,4
2
CE1,2
2
CE1,3
1
DE4,6
1
DE6,7
2
DE2,4
2
DE4,5
𝐝𝟏
𝐓𝟏
𝐝𝟐
𝐓𝟐
Approach
14
 Subtask assignment
• Subtask cluster [8] : Minimize number of data transaction
• Worst fit assignment : Balance the workload of tasks
 Priority assignment
• Workload-based (Fix priority)
• Bandwidth-based (Dynamic priority)
• SA
 Schedulability bound
• Priority order
• Distinct path
• Contention Interval
[8]Cyun-Yi Jheng, Ya-Shu Chen “On-line Real-Time Task Management for Three-dimensional Network on Chips,” Anti-Counterfeiting,
Security and Identification (ASID), 2012 International Conference ,July,13,2011
Subtask assignment
15
[8]Cyun-Yi Jheng, Ya-Shu Chen “On-line Real-Time Task Management for Three-dimensional Network on Chips,” Anti-
Counterfeiting, Security and Identification (ASID), 2012 International Conference ,July,13,2011
T1,1
(2)
T1,2
(7)
T1,3
(6)
T1,5
(3)
T1,6
(4)
T2,0
(2)
T2,1
(4)
T2,2
(2)
T2,3
(4)
I2,5
(6)
T2,6
(2)
T1,0
(4)
I1,4
(7)
T2,4
(2)
𝐝𝟐=80
𝐓𝟐
(3) (5)
(2)
(6)
(2)
(3)
(2)
(4)
(5) (5)
(5)
(2)
𝐓𝟏
𝐝𝟏=80
𝐃𝟎
𝐃𝟏
Subtask assignment
16
BUS
C0 C1
DMAC
𝐷0
Memory
BUS
Arbiter
𝐷1
Worst fit partition
Workload-based
17
 For fix arbiter
 Setting the workload of every data transaction
 The urgency level is directly proportional to the workload value.
 The priority order of master is highest, if the master has large workload
value
Wtransaction =
CTi,j
+ CEi,j
𝑇𝑑
WMaster = Wtransaction
CTi,j
: Execution time of Subtask
CEi,j
:Execution time of data transaction
𝑇𝑑 : Task deadline
Workload-based
18
T1,1
(2)
T1,2
(7)
T1,3
(6)
T1,5
(3)
T1,6
(4)
T2,0
(4)
T2,1
(4)
T2,2
(2)
T2,3
(4)
I2,5
(6)
T2,6
(4)
T1,0
(4)
I1,4
(7)
T2,4
(2)
1
CE0,1
(2)
2
CE0,2
(4)
1
DE2,4
(6) 2
DE2,5
(5)
2
DE5,6
(3)
1
CE3,6
(2)
𝐃𝟎
𝐓𝟏
𝐝𝟏=30
𝐓𝟐
𝐝𝟐=30
𝐃𝟏
C0 =
2+2+6+3+2+4
30
= 0.633
C1 =
2+4
30
+
4+2+5+6+3+4
30
= 1
D0 =
6+7
30
= 0.433
D1 =
5+6+3+4
30
+
3+4
30
=0.833
DMAC = D0 + D1 = 1.266
Priority : DMAC >𝐶1 >𝐶0
Priority: 𝐷1> 𝐷0
Scheduability test
19
ST𝑃 =
Tsump
dP − (Comm + Cont)p
Schedulable: 0<STP<1
Compare contention :
1.Priority order
2.Distinct path
3.Contention Interval
-ASAP(Start time)
-ALAP(End time)
Tsum:Total execution time of subtask on the path
dp: Path deadline
Comm: Data transaction time
Cont: Contention time
T1,1
(2)
T1,2
(7)
T1,3
(6)
T1,5
(3)
T1,6
(4)
T1,0
(4)
I1,4
(7)
1
CE0,1
(2)
1
DE2,4
(6)
1
CE3,6
(2)
𝐃𝟎
𝐓𝟏
𝐝𝟏=30
Scheduability test
20
Compare contention :
1.Priority order
2.Distinct path
and on different path
3.Contention Interval
T1,1
(2)
T1,2
(7)
T1,3
(6)
T1,5
(3)
T1,6
(4)
T2,0
(4)
T2,1
(4)
T2,2
(2)
T2,3
(4)
I2,5
(6)
T2,6
(4)
T1,0
(4)
I1,4
(7)
T2,4
(2)
1
CE0,1
(2) 2
CE0,2
(4)
1
DE2,4
(6) 2
DE2,5
(5)
2
DE5,6
(3)
1
CE3,6
(2)
𝐃𝟎
𝐓𝟏
𝐝𝟏=30
𝐓𝟐
𝐝𝟐=30
𝐃𝟏
1
CE0,1
2
CE
0,2
<
1
CE0,1
2
CE0,2
A B
Start
Time
End
Time
A 4 14
B 4 10
Bandwidth-based
21
 For the dynamic bus arbiter [7] and the dynamic DMAC [8]
 Server Size Setting
𝐁𝐔𝐒 𝐦𝐚𝐬𝐭𝐞𝐫 𝐬𝐞𝐫𝐯𝐞𝐫 𝐬𝐢𝐳𝐞 =
𝐌𝐚𝐬𝐭𝐞𝐫 𝐰𝐨𝐫𝐤 𝐥𝐨𝐚𝐝
𝐁𝐔𝐒 𝐰𝐨𝐫𝐤 𝐥𝐨𝐚𝐝
𝐃𝐞𝐯𝐢𝐜𝐞 𝐬𝐞𝐫𝐯𝐞𝐫 𝐬𝐢𝐳𝐞 =
𝐃𝐞𝐯𝐢𝐜𝐞 𝐰𝐨𝐫𝐤 𝐥𝐨𝐚𝐝
𝐃𝐌𝐀𝐂 𝐰𝐨𝐫𝐤 𝐥𝐨𝐚𝐝
[7] Eric S. Collins, Reginald J. Hill, Brett L. Lindsley‘Dynamic bus arbitration priority and task switching based on shared memory fullness in a
multi-processor system” , Motorola, Inc.,US 09/089,721,12/5 2000
[8] Steven E. Olson, Jhy-Ping Shaw‘High speed dynamic chaining of DMA operations without suspending a DMA controller or incurring race
conditions.” , Oak Technology, US 09/130,885, 3/06 2001
According to work load
Bandwidth-based
22
 Deadline setting [9]
 According to the deadline value to determine the service
order
𝐄𝐝 = 𝐦𝐚𝐱 𝐓𝐀𝐫𝐫𝐢𝐯𝐚𝐥 , 𝐄′𝐝 +
𝐄𝐞
𝐔𝐒
[ [9] Marco Spuri , Giorgio Buttazzo ‘ Scheduling Aperiodic Tasks in Dynamic Priority.” , journal Real-Time Systems , July. 1996
𝐄𝐝:The deadline of data transaction
𝐓𝐀𝐫𝐫𝐢𝐯𝐚𝐥 : Arrival time of data transaction
𝐄′𝐝: The deadline of previous data transaction
𝐄𝐞: The execution time of data transaction
𝐔𝐒 : The sever size
Bandwidth-based
23
Work Load:
C0 : 0.633
C1 : 1
D0 : 0.433
D1 : 0.833
DMAC Total Work Load=0.433+0.833=1.266
BUS Total Work Load=0.633+1+1.266=2.899
Server size:
C0 : 0.633
2.899
= 0.22
C1 :
1
2.899
= 0.34
DMAC :
1.266
2.899
= 0.44
D0 :
0.433
1.266
= 0.34
D1 :
0.833
1.266
= 0.66
Bandwidth-based
24
2
CE0,2
1
CE0,1
: max 4,0 +
4
0.34
=15
: max 4,0 +
2
0.22
=13
Deadline assignment:
Server size:
C0 : 0.633
2.899
= 0.22
C1 :
1
2.899
= 0.34
DMAC :
1.266
2.899
= 0.44
D0 :
0.433
1.266
= 0.34
D1 :
0.833
1.266
= 0.66
SA algorithm
25
 Initial state
Workload-based priority assignment
 Perturbation strategy
• Swap bus master priority order(Cores and DMAC)
• Swap DMAC master priority order (Devices)
 Energy function
Bus utilization =
System execution time − BUS Idle Time
System execution time
Experimental setting
26
 Input
• By TGFF [10]
Degree (in, out)=(2,3)
Number of task set=1000
Number of task=1~5
Number of subtask =20~80
• SA Setting
Initial temperature : 100
End temperature : 20
Iteration : 25
𝜌=0.9
[10]R. P. Dick, D. L. Rhodes, and W. Wolf. Tgff: task graphs for free. In
Proceedings of the 6th international workshop on Hardware/software codesign,
CODES/CASHE ’98, pages 97–101, Washington, DC, USA, 1998. IEEE
Computer Society.
Performance metrics
•Bus utilization
•Meet ratio
•Algorithm Time
Comparison
Cycle stealing
Experimental result
27
Variation of core number
• Device : 2
• IO-ratio : 0.3
Experimental result
28
Variation of core number
• Device : 2
• IO-ratio : 0.3
Experimental result
29
Experimental result
30
Variation of ratio of device numbers
• Core : 4
• IO-ratio : 0.3
Experimental result
31
Experimental result
Variation of device tasks
• Core : 4
• Device: 2
32
Experimental result
Variation of device tasks
• Core : 4
• Device: 2
33
Experimental result
34
Optimum-near
• Core : 4
• Device:2
• IO-Ratio : 0.3
Experimental result
35
Optimum-near
• Core : 4
• Device:2
• IO-Ratio : 0.3
Experimental result
Variation of iteration setting
• Core : 4
• Device:2
• IO-Ratio : 0.3
36
Conclusions
 Priority Assignment on the MPSoC with DMA
• Precedence constraint scheduling
• Core and DMAC priority setting
• Device priority setting
 We propose
• Workload-based
• Bandwidth-based
• SA
 Future work
• Multi/Multilayer Bus
• Energy aware
37
References
[1] Sachin Gupta and Lakshmi Natarajan‘Optimizing Embedded Applications using DMA.” Published in EE
Times Design
[2] Ya-Shu Chen, Song-Jian Tang and Shi-Wu Lo “A Priority Assignment Strategy of Processing Elementsover
an On-Chip Bus,”, Proceedings of the 2007 ACM symposium on Applied computing May 3, 2007
[3] Pi-Cheng Hsiu, Member’’ Multilayer Bus Optimization for Real-Time Embedded Systems ,” Computers,
IEEE Transactions on (Volume:61 , Issue: 11 ) ,Nov. 2012
[4] Joosun Hahn,Rhan Ha,Sang Lyul Min,Jane W.-S. Liu,’’Analysis of Worst Case DMA Response Time in a
Fixed-Priority Bus Arbitration Protocol,” Journal Real-Time Systems Volume 23, Issue 3 , pp 209-238 , 2002-
11-01
[5] Tai-Yi Huang, Chih-Chieh Chou, Po-Yuan Chen“Bounding the Execution Times of DMA I/O Tasks on Hard-
Real-Time Embedded Systems,” 9th International Conference, RTCSA, February 18-20, 2003
[6] Tai-Yi Huang,J. W.-S. Liu,Jen-Yao Chung’’Allowing Cycle-Stealing Direct Memory Access I/O Concurrent
with Hard-Real-Time Programs ,” IEEE Computer Society Washington , 1996
[7] Eric S. Collins, Reginald J. Hill, Brett L. Lindsley‘Dynamic bus arbitration priority and task switching based
on shared memory fullness in a multi-processor system” , Motorola, Inc.,US 09/089,721,12/5 2000
[8] Steven E. Olson, Jhy-Ping Shaw‘High speed dynamic chaining of DMA operations without suspending a
DMA controller or incurring race conditions.” , Oak Technology, US 09/130,885, 3/06 2001
[9] Marco Spuri , Giorgio Buttazzo ‘ Scheduling Aperiodic Tasks in Dynamic Priority.” , journal Real-Time
Systems , July. 1996
[10]R. P. Dick, D. L. Rhodes, and W. Wolf. Tgff: task graphs for free. In Proceedings of the 6th international
workshop on Hardware/software codesign, CODES/CASHE ’98, pages 97–101, Washington, DC, USA, 1998.
IEEE Computer Society.
38
39
Thanks for your attention!
Algorithm Time
40
Core 4 8 16 32 64
OPT 53.71 72576 3.766*
10^13
4.73*
10^35
2.283*
10^89
SA 89.84 89.84 92.341 90.239 89.487
BandWidth 0.004 0.004 0.003 0.004 0.004
WorkLoad 0.004 0.004 0.003 0.004 0.004
CYC 0.001 0.002 0.001 0.001 0.001
Introduction
41
Data transaction(E) (Execution Time , deadline)
E1(1,2)
E2(2,5)
Task Variation
42
Variation of tasks
• Core : 4
• Device:2
• IO-Ratio : 0.3
Task Variation
43
Variation of tasks
• Core : 4
• Device:2
• IO-Ratio : 0.3
In out Variation
44
Variation of in-out for subtask
• Core : 4
• Device:2
• IO-Ratio : 0.3
In out Variation
45
Variation of in-out for subtask
• Core : 4
• Device:2
• IO-Ratio : 0.3
Scheduability Test
46
Variation of in-out for subtask
• Core : 4
• Device:2
• IO-Ratio : 0.3
47
48
多核心匯流排與直接存取記憶體之優先權配置
Priority Assignment
on the MPSoC with DMAC
Presenter: Shih-Peng Yu
Professor: Ya-Shu Chen
Department of Electrical Engineering,
National Taiwan University of Science and Technology
M10007411@mail.ntust.edu.tw
2013/10/04
Algorithm Time
50
Core 4 8 16 32 64
OPT 2445.5 4032000 2.09*
10^15
2.63*
10^37
1.26*
10^91
SA 523.11 526.24 524.712 525.184 524.69
BandWidth 0.016 0.016 0.016 0.017 0.016
WorkLoad 0.016 0.016 0.016 0.017 0.016
CYC 0.001 0.002 0.02 0.002 0.002

More Related Content

What's hot

Gossip-based resource allocation for green computing in large clouds
Gossip-based resource allocation for green computing in large cloudsGossip-based resource allocation for green computing in large clouds
Gossip-based resource allocation for green computing in large clouds
Rerngvit Yanggratoke
 
Concurrent Programming
Concurrent ProgrammingConcurrent Programming
Concurrent Programming
Sithija Thewa Hettige
 
Asynchronous Methods for Deep Reinforcement Learning
Asynchronous Methods for Deep Reinforcement LearningAsynchronous Methods for Deep Reinforcement Learning
Asynchronous Methods for Deep Reinforcement Learning
Ssu-Rui Lee
 
Tutotial 2 answer
Tutotial 2 answerTutotial 2 answer
Tutotial 2 answer
Udaya Kumar
 
Cost-Efficient Rule Management and Traffic Engineering for Software Defined N...
Cost-Efficient Rule Management and Traffic Engineering for Software Defined N...Cost-Efficient Rule Management and Traffic Engineering for Software Defined N...
Cost-Efficient Rule Management and Traffic Engineering for Software Defined N...
Huawei Huang
 
Cell Charge Approximation for Accelerating Molecular Simulation on CUDA-Enabl...
Cell Charge Approximation for Accelerating Molecular Simulation on CUDA-Enabl...Cell Charge Approximation for Accelerating Molecular Simulation on CUDA-Enabl...
Cell Charge Approximation for Accelerating Molecular Simulation on CUDA-Enabl...
ijcax
 
R0
R0R0
NEW IMPROVED 2D SVD BASED ALGORITHM FOR VIDEO CODING
NEW IMPROVED 2D SVD BASED ALGORITHM FOR VIDEO CODINGNEW IMPROVED 2D SVD BASED ALGORITHM FOR VIDEO CODING
NEW IMPROVED 2D SVD BASED ALGORITHM FOR VIDEO CODING
cscpconf
 
GPU-Accelerated Parallel Computing
GPU-Accelerated Parallel ComputingGPU-Accelerated Parallel Computing
GPU-Accelerated Parallel Computing
Jun Young Park
 
Implementation and evaluation of novel scheduler of UC/OS (RTOS)
Implementation and evaluation of novel scheduler of UC/OS (RTOS)Implementation and evaluation of novel scheduler of UC/OS (RTOS)
Implementation and evaluation of novel scheduler of UC/OS (RTOS)
Editor Jacotech
 
Ajila (1)
Ajila (1)Ajila (1)
Ajila (1)
akanksha kunwar
 
A vm scheduling algorithm for reducing power consumption of a virtual machine...
A vm scheduling algorithm for reducing power consumption of a virtual machine...A vm scheduling algorithm for reducing power consumption of a virtual machine...
A vm scheduling algorithm for reducing power consumption of a virtual machine...
eSAT Journals
 
A vm scheduling algorithm for reducing power consumption of a virtual machine...
A vm scheduling algorithm for reducing power consumption of a virtual machine...A vm scheduling algorithm for reducing power consumption of a virtual machine...
A vm scheduling algorithm for reducing power consumption of a virtual machine...
eSAT Publishing House
 
[251] implementing deep learning using cu dnn
[251] implementing deep learning using cu dnn[251] implementing deep learning using cu dnn
[251] implementing deep learning using cu dnn
NAVER D2
 
Reactive/Proactive Connectivity Management in a Tactical Service-Oriented Inf...
Reactive/Proactive Connectivity Management in a Tactical Service-Oriented Inf...Reactive/Proactive Connectivity Management in a Tactical Service-Oriented Inf...
Reactive/Proactive Connectivity Management in a Tactical Service-Oriented Inf...
Roberto Rigolin F. Lopes
 
Cvpr 2018 papers review (efficient computing)
Cvpr 2018 papers review (efficient computing)Cvpr 2018 papers review (efficient computing)
Cvpr 2018 papers review (efficient computing)
DonghyunKang12
 
Optimized Network-coded Scalable Video Multicasting over eMBMS Networks
Optimized Network-coded Scalable Video Multicasting over eMBMS NetworksOptimized Network-coded Scalable Video Multicasting over eMBMS Networks
Optimized Network-coded Scalable Video Multicasting over eMBMS Networks
Andrea Tassi
 
Gpu perf-presentation
Gpu perf-presentationGpu perf-presentation
Gpu perf-presentation
GiannisTsagatakis
 
Ns fundamentals 1
Ns fundamentals 1Ns fundamentals 1
Ns fundamentals 1
narmada alaparthi
 

What's hot (19)

Gossip-based resource allocation for green computing in large clouds
Gossip-based resource allocation for green computing in large cloudsGossip-based resource allocation for green computing in large clouds
Gossip-based resource allocation for green computing in large clouds
 
Concurrent Programming
Concurrent ProgrammingConcurrent Programming
Concurrent Programming
 
Asynchronous Methods for Deep Reinforcement Learning
Asynchronous Methods for Deep Reinforcement LearningAsynchronous Methods for Deep Reinforcement Learning
Asynchronous Methods for Deep Reinforcement Learning
 
Tutotial 2 answer
Tutotial 2 answerTutotial 2 answer
Tutotial 2 answer
 
Cost-Efficient Rule Management and Traffic Engineering for Software Defined N...
Cost-Efficient Rule Management and Traffic Engineering for Software Defined N...Cost-Efficient Rule Management and Traffic Engineering for Software Defined N...
Cost-Efficient Rule Management and Traffic Engineering for Software Defined N...
 
Cell Charge Approximation for Accelerating Molecular Simulation on CUDA-Enabl...
Cell Charge Approximation for Accelerating Molecular Simulation on CUDA-Enabl...Cell Charge Approximation for Accelerating Molecular Simulation on CUDA-Enabl...
Cell Charge Approximation for Accelerating Molecular Simulation on CUDA-Enabl...
 
R0
R0R0
R0
 
NEW IMPROVED 2D SVD BASED ALGORITHM FOR VIDEO CODING
NEW IMPROVED 2D SVD BASED ALGORITHM FOR VIDEO CODINGNEW IMPROVED 2D SVD BASED ALGORITHM FOR VIDEO CODING
NEW IMPROVED 2D SVD BASED ALGORITHM FOR VIDEO CODING
 
GPU-Accelerated Parallel Computing
GPU-Accelerated Parallel ComputingGPU-Accelerated Parallel Computing
GPU-Accelerated Parallel Computing
 
Implementation and evaluation of novel scheduler of UC/OS (RTOS)
Implementation and evaluation of novel scheduler of UC/OS (RTOS)Implementation and evaluation of novel scheduler of UC/OS (RTOS)
Implementation and evaluation of novel scheduler of UC/OS (RTOS)
 
Ajila (1)
Ajila (1)Ajila (1)
Ajila (1)
 
A vm scheduling algorithm for reducing power consumption of a virtual machine...
A vm scheduling algorithm for reducing power consumption of a virtual machine...A vm scheduling algorithm for reducing power consumption of a virtual machine...
A vm scheduling algorithm for reducing power consumption of a virtual machine...
 
A vm scheduling algorithm for reducing power consumption of a virtual machine...
A vm scheduling algorithm for reducing power consumption of a virtual machine...A vm scheduling algorithm for reducing power consumption of a virtual machine...
A vm scheduling algorithm for reducing power consumption of a virtual machine...
 
[251] implementing deep learning using cu dnn
[251] implementing deep learning using cu dnn[251] implementing deep learning using cu dnn
[251] implementing deep learning using cu dnn
 
Reactive/Proactive Connectivity Management in a Tactical Service-Oriented Inf...
Reactive/Proactive Connectivity Management in a Tactical Service-Oriented Inf...Reactive/Proactive Connectivity Management in a Tactical Service-Oriented Inf...
Reactive/Proactive Connectivity Management in a Tactical Service-Oriented Inf...
 
Cvpr 2018 papers review (efficient computing)
Cvpr 2018 papers review (efficient computing)Cvpr 2018 papers review (efficient computing)
Cvpr 2018 papers review (efficient computing)
 
Optimized Network-coded Scalable Video Multicasting over eMBMS Networks
Optimized Network-coded Scalable Video Multicasting over eMBMS NetworksOptimized Network-coded Scalable Video Multicasting over eMBMS Networks
Optimized Network-coded Scalable Video Multicasting over eMBMS Networks
 
Gpu perf-presentation
Gpu perf-presentationGpu perf-presentation
Gpu perf-presentation
 
Ns fundamentals 1
Ns fundamentals 1Ns fundamentals 1
Ns fundamentals 1
 

Similar to Priority assignment on the mp so c with dmac

Recent Progress in SCCS on GPU Simulation of Biomedical and Hydrodynamic Prob...
Recent Progress in SCCS on GPU Simulation of Biomedical and Hydrodynamic Prob...Recent Progress in SCCS on GPU Simulation of Biomedical and Hydrodynamic Prob...
Recent Progress in SCCS on GPU Simulation of Biomedical and Hydrodynamic Prob...
NVIDIA Taiwan
 
Distributed systems scheduling
Distributed systems schedulingDistributed systems scheduling
Distributed systems scheduling
Pragati Startup Presentation Designer firm
 
It110 assignment-1 answer key
It110 assignment-1 answer keyIt110 assignment-1 answer key
It110 assignment-1 answer key
JVM_
 
distributed real time system schedul.ppt
distributed real time system schedul.pptdistributed real time system schedul.ppt
distributed real time system schedul.ppt
naghamallella
 
Coding the Continuum
Coding the ContinuumCoding the Continuum
Coding the Continuum
Ian Foster
 
Tutorial-on-DNN-09A-Co-design-Sparsity.pdf
Tutorial-on-DNN-09A-Co-design-Sparsity.pdfTutorial-on-DNN-09A-Co-design-Sparsity.pdf
Tutorial-on-DNN-09A-Co-design-Sparsity.pdf
Duy-Hieu Bui
 
On the-joint-optimization-of-performance-and-power-consumption-in-data-centers
On the-joint-optimization-of-performance-and-power-consumption-in-data-centersOn the-joint-optimization-of-performance-and-power-consumption-in-data-centers
On the-joint-optimization-of-performance-and-power-consumption-in-data-centersCemal Ardil
 
(Slides) Task scheduling algorithm for multicore processor system for minimiz...
(Slides) Task scheduling algorithm for multicore processor system for minimiz...(Slides) Task scheduling algorithm for multicore processor system for minimiz...
(Slides) Task scheduling algorithm for multicore processor system for minimiz...
Naoki Shibata
 
K017617786
K017617786K017617786
K017617786
IOSR Journals
 
Efficient Dynamic Scheduling Algorithm for Real-Time MultiCore Systems
Efficient Dynamic Scheduling Algorithm for Real-Time MultiCore Systems Efficient Dynamic Scheduling Algorithm for Real-Time MultiCore Systems
Efficient Dynamic Scheduling Algorithm for Real-Time MultiCore Systems
iosrjce
 
Accelerating Dynamic Time Warping Subsequence Search with GPU
Accelerating Dynamic Time Warping Subsequence Search with GPUAccelerating Dynamic Time Warping Subsequence Search with GPU
Accelerating Dynamic Time Warping Subsequence Search with GPU
Davide Nardone
 
Scheduling Task-parallel Applications in Dynamically Asymmetric Environments
Scheduling Task-parallel Applications in Dynamically Asymmetric EnvironmentsScheduling Task-parallel Applications in Dynamically Asymmetric Environments
Scheduling Task-parallel Applications in Dynamically Asymmetric Environments
LEGATO project
 
Thermal modeling and management of cluster storage systems xunfei jiang 2014
Thermal modeling and management of cluster storage systems xunfei jiang 2014Thermal modeling and management of cluster storage systems xunfei jiang 2014
Thermal modeling and management of cluster storage systems xunfei jiang 2014
Xiao Qin
 
Scan Segmentation Approach to Magnify Detection Sensitivity for Tiny Hardware...
Scan Segmentation Approach to Magnify Detection Sensitivity for Tiny Hardware...Scan Segmentation Approach to Magnify Detection Sensitivity for Tiny Hardware...
Scan Segmentation Approach to Magnify Detection Sensitivity for Tiny Hardware...
奈良先端大 情報科学研究科
 
Dsp lab manual 15 11-2016
Dsp lab manual 15 11-2016Dsp lab manual 15 11-2016
Dsp lab manual 15 11-2016
Gopinath.B.L Naidu
 
Scheduling Fixed Priority Tasks with Preemption Threshold
Scheduling Fixed Priority Tasks with Preemption ThresholdScheduling Fixed Priority Tasks with Preemption Threshold
Scheduling Fixed Priority Tasks with Preemption Threshold
Deepak Raj
 
Implementasi Pemodelan Sistem Ke TeeChart
Implementasi Pemodelan Sistem Ke TeeChartImplementasi Pemodelan Sistem Ke TeeChart
Implementasi Pemodelan Sistem Ke TeeChart
Lusiana Diyan
 
DYNAMIC VOLTAGE SCALING FOR POWER CONSUMPTION REDUCTION IN REAL-TIME MIXED TA...
DYNAMIC VOLTAGE SCALING FOR POWER CONSUMPTION REDUCTION IN REAL-TIME MIXED TA...DYNAMIC VOLTAGE SCALING FOR POWER CONSUMPTION REDUCTION IN REAL-TIME MIXED TA...
DYNAMIC VOLTAGE SCALING FOR POWER CONSUMPTION REDUCTION IN REAL-TIME MIXED TA...
cscpconf
 
Task Scheduling Algorithm for Multicore Processor Systems with Turbo Boost an...
Task Scheduling Algorithm for Multicore Processor Systems with Turbo Boost an...Task Scheduling Algorithm for Multicore Processor Systems with Turbo Boost an...
Task Scheduling Algorithm for Multicore Processor Systems with Turbo Boost an...
Naoki Shibata
 
RTOS Material hfffffffffffffffffffffffffffffffffffff
RTOS Material hfffffffffffffffffffffffffffffffffffffRTOS Material hfffffffffffffffffffffffffffffffffffff
RTOS Material hfffffffffffffffffffffffffffffffffffff
adugnanegero
 

Similar to Priority assignment on the mp so c with dmac (20)

Recent Progress in SCCS on GPU Simulation of Biomedical and Hydrodynamic Prob...
Recent Progress in SCCS on GPU Simulation of Biomedical and Hydrodynamic Prob...Recent Progress in SCCS on GPU Simulation of Biomedical and Hydrodynamic Prob...
Recent Progress in SCCS on GPU Simulation of Biomedical and Hydrodynamic Prob...
 
Distributed systems scheduling
Distributed systems schedulingDistributed systems scheduling
Distributed systems scheduling
 
It110 assignment-1 answer key
It110 assignment-1 answer keyIt110 assignment-1 answer key
It110 assignment-1 answer key
 
distributed real time system schedul.ppt
distributed real time system schedul.pptdistributed real time system schedul.ppt
distributed real time system schedul.ppt
 
Coding the Continuum
Coding the ContinuumCoding the Continuum
Coding the Continuum
 
Tutorial-on-DNN-09A-Co-design-Sparsity.pdf
Tutorial-on-DNN-09A-Co-design-Sparsity.pdfTutorial-on-DNN-09A-Co-design-Sparsity.pdf
Tutorial-on-DNN-09A-Co-design-Sparsity.pdf
 
On the-joint-optimization-of-performance-and-power-consumption-in-data-centers
On the-joint-optimization-of-performance-and-power-consumption-in-data-centersOn the-joint-optimization-of-performance-and-power-consumption-in-data-centers
On the-joint-optimization-of-performance-and-power-consumption-in-data-centers
 
(Slides) Task scheduling algorithm for multicore processor system for minimiz...
(Slides) Task scheduling algorithm for multicore processor system for minimiz...(Slides) Task scheduling algorithm for multicore processor system for minimiz...
(Slides) Task scheduling algorithm for multicore processor system for minimiz...
 
K017617786
K017617786K017617786
K017617786
 
Efficient Dynamic Scheduling Algorithm for Real-Time MultiCore Systems
Efficient Dynamic Scheduling Algorithm for Real-Time MultiCore Systems Efficient Dynamic Scheduling Algorithm for Real-Time MultiCore Systems
Efficient Dynamic Scheduling Algorithm for Real-Time MultiCore Systems
 
Accelerating Dynamic Time Warping Subsequence Search with GPU
Accelerating Dynamic Time Warping Subsequence Search with GPUAccelerating Dynamic Time Warping Subsequence Search with GPU
Accelerating Dynamic Time Warping Subsequence Search with GPU
 
Scheduling Task-parallel Applications in Dynamically Asymmetric Environments
Scheduling Task-parallel Applications in Dynamically Asymmetric EnvironmentsScheduling Task-parallel Applications in Dynamically Asymmetric Environments
Scheduling Task-parallel Applications in Dynamically Asymmetric Environments
 
Thermal modeling and management of cluster storage systems xunfei jiang 2014
Thermal modeling and management of cluster storage systems xunfei jiang 2014Thermal modeling and management of cluster storage systems xunfei jiang 2014
Thermal modeling and management of cluster storage systems xunfei jiang 2014
 
Scan Segmentation Approach to Magnify Detection Sensitivity for Tiny Hardware...
Scan Segmentation Approach to Magnify Detection Sensitivity for Tiny Hardware...Scan Segmentation Approach to Magnify Detection Sensitivity for Tiny Hardware...
Scan Segmentation Approach to Magnify Detection Sensitivity for Tiny Hardware...
 
Dsp lab manual 15 11-2016
Dsp lab manual 15 11-2016Dsp lab manual 15 11-2016
Dsp lab manual 15 11-2016
 
Scheduling Fixed Priority Tasks with Preemption Threshold
Scheduling Fixed Priority Tasks with Preemption ThresholdScheduling Fixed Priority Tasks with Preemption Threshold
Scheduling Fixed Priority Tasks with Preemption Threshold
 
Implementasi Pemodelan Sistem Ke TeeChart
Implementasi Pemodelan Sistem Ke TeeChartImplementasi Pemodelan Sistem Ke TeeChart
Implementasi Pemodelan Sistem Ke TeeChart
 
DYNAMIC VOLTAGE SCALING FOR POWER CONSUMPTION REDUCTION IN REAL-TIME MIXED TA...
DYNAMIC VOLTAGE SCALING FOR POWER CONSUMPTION REDUCTION IN REAL-TIME MIXED TA...DYNAMIC VOLTAGE SCALING FOR POWER CONSUMPTION REDUCTION IN REAL-TIME MIXED TA...
DYNAMIC VOLTAGE SCALING FOR POWER CONSUMPTION REDUCTION IN REAL-TIME MIXED TA...
 
Task Scheduling Algorithm for Multicore Processor Systems with Turbo Boost an...
Task Scheduling Algorithm for Multicore Processor Systems with Turbo Boost an...Task Scheduling Algorithm for Multicore Processor Systems with Turbo Boost an...
Task Scheduling Algorithm for Multicore Processor Systems with Turbo Boost an...
 
RTOS Material hfffffffffffffffffffffffffffffffffffff
RTOS Material hfffffffffffffffffffffffffffffffffffffRTOS Material hfffffffffffffffffffffffffffffffffffff
RTOS Material hfffffffffffffffffffffffffffffffffffff
 

More from 鵬 大

影音串流簡述.
影音串流簡述.影音串流簡述.
影音串流簡述.
鵬 大
 
Atomic habits an easy &amp; proven way to build good habits &amp; break bad ones
Atomic habits an easy &amp; proven way to build good habits &amp; break bad onesAtomic habits an easy &amp; proven way to build good habits &amp; break bad ones
Atomic habits an easy &amp; proven way to build good habits &amp; break bad ones
鵬 大
 
MCU introduction
MCU introductionMCU introduction
MCU introduction
鵬 大
 
Zfs replication overview
Zfs replication overviewZfs replication overview
Zfs replication overview
鵬 大
 
Sonar Qube tool introduction
Sonar Qube tool introductionSonar Qube tool introduction
Sonar Qube tool introduction
鵬 大
 
Nlog target DB setting
Nlog target DB settingNlog target DB setting
Nlog target DB setting
鵬 大
 
Icp das zig bee series set(2570,2571,25055)
Icp das zig bee series set(2570,2571,25055)Icp das zig bee series set(2570,2571,25055)
Icp das zig bee series set(2570,2571,25055)
鵬 大
 
GIT實務操作與理論
GIT實務操作與理論GIT實務操作與理論
GIT實務操作與理論
鵬 大
 

More from 鵬 大 (8)

影音串流簡述.
影音串流簡述.影音串流簡述.
影音串流簡述.
 
Atomic habits an easy &amp; proven way to build good habits &amp; break bad ones
Atomic habits an easy &amp; proven way to build good habits &amp; break bad onesAtomic habits an easy &amp; proven way to build good habits &amp; break bad ones
Atomic habits an easy &amp; proven way to build good habits &amp; break bad ones
 
MCU introduction
MCU introductionMCU introduction
MCU introduction
 
Zfs replication overview
Zfs replication overviewZfs replication overview
Zfs replication overview
 
Sonar Qube tool introduction
Sonar Qube tool introductionSonar Qube tool introduction
Sonar Qube tool introduction
 
Nlog target DB setting
Nlog target DB settingNlog target DB setting
Nlog target DB setting
 
Icp das zig bee series set(2570,2571,25055)
Icp das zig bee series set(2570,2571,25055)Icp das zig bee series set(2570,2571,25055)
Icp das zig bee series set(2570,2571,25055)
 
GIT實務操作與理論
GIT實務操作與理論GIT實務操作與理論
GIT實務操作與理論
 

Recently uploaded

extra-chromosomal-inheritance[1].pptx.pdfpdf
extra-chromosomal-inheritance[1].pptx.pdfpdfextra-chromosomal-inheritance[1].pptx.pdfpdf
extra-chromosomal-inheritance[1].pptx.pdfpdf
DiyaBiswas10
 
Nucleic Acid-its structural and functional complexity.
Nucleic Acid-its structural and functional complexity.Nucleic Acid-its structural and functional complexity.
Nucleic Acid-its structural and functional complexity.
Nistarini College, Purulia (W.B) India
 
erythropoiesis-I_mechanism& clinical significance.pptx
erythropoiesis-I_mechanism& clinical significance.pptxerythropoiesis-I_mechanism& clinical significance.pptx
erythropoiesis-I_mechanism& clinical significance.pptx
muralinath2
 
Hemostasis_importance& clinical significance.pptx
Hemostasis_importance& clinical significance.pptxHemostasis_importance& clinical significance.pptx
Hemostasis_importance& clinical significance.pptx
muralinath2
 
What is greenhouse gasses and how many gasses are there to affect the Earth.
What is greenhouse gasses and how many gasses are there to affect the Earth.What is greenhouse gasses and how many gasses are there to affect the Earth.
What is greenhouse gasses and how many gasses are there to affect the Earth.
moosaasad1975
 
general properties of oerganologametal.ppt
general properties of oerganologametal.pptgeneral properties of oerganologametal.ppt
general properties of oerganologametal.ppt
IqrimaNabilatulhusni
 
Structural Classification Of Protein (SCOP)
Structural Classification Of Protein  (SCOP)Structural Classification Of Protein  (SCOP)
Structural Classification Of Protein (SCOP)
aishnasrivastava
 
GBSN - Biochemistry (Unit 5) Chemistry of Lipids
GBSN - Biochemistry (Unit 5) Chemistry of LipidsGBSN - Biochemistry (Unit 5) Chemistry of Lipids
GBSN - Biochemistry (Unit 5) Chemistry of Lipids
Areesha Ahmad
 
Orion Air Quality Monitoring Systems - CWS
Orion Air Quality Monitoring Systems - CWSOrion Air Quality Monitoring Systems - CWS
Orion Air Quality Monitoring Systems - CWS
Columbia Weather Systems
 
Citrus Greening Disease and its Management
Citrus Greening Disease and its ManagementCitrus Greening Disease and its Management
Citrus Greening Disease and its Management
subedisuryaofficial
 
The ASGCT Annual Meeting was packed with exciting progress in the field advan...
The ASGCT Annual Meeting was packed with exciting progress in the field advan...The ASGCT Annual Meeting was packed with exciting progress in the field advan...
The ASGCT Annual Meeting was packed with exciting progress in the field advan...
Health Advances
 
EY - Supply Chain Services 2018_template.pptx
EY - Supply Chain Services 2018_template.pptxEY - Supply Chain Services 2018_template.pptx
EY - Supply Chain Services 2018_template.pptx
AlguinaldoKong
 
SCHIZOPHRENIA Disorder/ Brain Disorder.pdf
SCHIZOPHRENIA Disorder/ Brain Disorder.pdfSCHIZOPHRENIA Disorder/ Brain Disorder.pdf
SCHIZOPHRENIA Disorder/ Brain Disorder.pdf
SELF-EXPLANATORY
 
Earliest Galaxies in the JADES Origins Field: Luminosity Function and Cosmic ...
Earliest Galaxies in the JADES Origins Field: Luminosity Function and Cosmic ...Earliest Galaxies in the JADES Origins Field: Luminosity Function and Cosmic ...
Earliest Galaxies in the JADES Origins Field: Luminosity Function and Cosmic ...
Sérgio Sacani
 
Astronomy Update- Curiosity’s exploration of Mars _ Local Briefs _ leadertele...
Astronomy Update- Curiosity’s exploration of Mars _ Local Briefs _ leadertele...Astronomy Update- Curiosity’s exploration of Mars _ Local Briefs _ leadertele...
Astronomy Update- Curiosity’s exploration of Mars _ Local Briefs _ leadertele...
NathanBaughman3
 
Richard's aventures in two entangled wonderlands
Richard's aventures in two entangled wonderlandsRichard's aventures in two entangled wonderlands
Richard's aventures in two entangled wonderlands
Richard Gill
 
4. An Overview of Sugarcane White Leaf Disease in Vietnam.pdf
4. An Overview of Sugarcane White Leaf Disease in Vietnam.pdf4. An Overview of Sugarcane White Leaf Disease in Vietnam.pdf
4. An Overview of Sugarcane White Leaf Disease in Vietnam.pdf
ssuserbfdca9
 
THE IMPORTANCE OF MARTIAN ATMOSPHERE SAMPLE RETURN.
THE IMPORTANCE OF MARTIAN ATMOSPHERE SAMPLE RETURN.THE IMPORTANCE OF MARTIAN ATMOSPHERE SAMPLE RETURN.
THE IMPORTANCE OF MARTIAN ATMOSPHERE SAMPLE RETURN.
Sérgio Sacani
 
(May 29th, 2024) Advancements in Intravital Microscopy- Insights for Preclini...
(May 29th, 2024) Advancements in Intravital Microscopy- Insights for Preclini...(May 29th, 2024) Advancements in Intravital Microscopy- Insights for Preclini...
(May 29th, 2024) Advancements in Intravital Microscopy- Insights for Preclini...
Scintica Instrumentation
 
GBSN- Microbiology (Lab 3) Gram Staining
GBSN- Microbiology (Lab 3) Gram StainingGBSN- Microbiology (Lab 3) Gram Staining
GBSN- Microbiology (Lab 3) Gram Staining
Areesha Ahmad
 

Recently uploaded (20)

extra-chromosomal-inheritance[1].pptx.pdfpdf
extra-chromosomal-inheritance[1].pptx.pdfpdfextra-chromosomal-inheritance[1].pptx.pdfpdf
extra-chromosomal-inheritance[1].pptx.pdfpdf
 
Nucleic Acid-its structural and functional complexity.
Nucleic Acid-its structural and functional complexity.Nucleic Acid-its structural and functional complexity.
Nucleic Acid-its structural and functional complexity.
 
erythropoiesis-I_mechanism& clinical significance.pptx
erythropoiesis-I_mechanism& clinical significance.pptxerythropoiesis-I_mechanism& clinical significance.pptx
erythropoiesis-I_mechanism& clinical significance.pptx
 
Hemostasis_importance& clinical significance.pptx
Hemostasis_importance& clinical significance.pptxHemostasis_importance& clinical significance.pptx
Hemostasis_importance& clinical significance.pptx
 
What is greenhouse gasses and how many gasses are there to affect the Earth.
What is greenhouse gasses and how many gasses are there to affect the Earth.What is greenhouse gasses and how many gasses are there to affect the Earth.
What is greenhouse gasses and how many gasses are there to affect the Earth.
 
general properties of oerganologametal.ppt
general properties of oerganologametal.pptgeneral properties of oerganologametal.ppt
general properties of oerganologametal.ppt
 
Structural Classification Of Protein (SCOP)
Structural Classification Of Protein  (SCOP)Structural Classification Of Protein  (SCOP)
Structural Classification Of Protein (SCOP)
 
GBSN - Biochemistry (Unit 5) Chemistry of Lipids
GBSN - Biochemistry (Unit 5) Chemistry of LipidsGBSN - Biochemistry (Unit 5) Chemistry of Lipids
GBSN - Biochemistry (Unit 5) Chemistry of Lipids
 
Orion Air Quality Monitoring Systems - CWS
Orion Air Quality Monitoring Systems - CWSOrion Air Quality Monitoring Systems - CWS
Orion Air Quality Monitoring Systems - CWS
 
Citrus Greening Disease and its Management
Citrus Greening Disease and its ManagementCitrus Greening Disease and its Management
Citrus Greening Disease and its Management
 
The ASGCT Annual Meeting was packed with exciting progress in the field advan...
The ASGCT Annual Meeting was packed with exciting progress in the field advan...The ASGCT Annual Meeting was packed with exciting progress in the field advan...
The ASGCT Annual Meeting was packed with exciting progress in the field advan...
 
EY - Supply Chain Services 2018_template.pptx
EY - Supply Chain Services 2018_template.pptxEY - Supply Chain Services 2018_template.pptx
EY - Supply Chain Services 2018_template.pptx
 
SCHIZOPHRENIA Disorder/ Brain Disorder.pdf
SCHIZOPHRENIA Disorder/ Brain Disorder.pdfSCHIZOPHRENIA Disorder/ Brain Disorder.pdf
SCHIZOPHRENIA Disorder/ Brain Disorder.pdf
 
Earliest Galaxies in the JADES Origins Field: Luminosity Function and Cosmic ...
Earliest Galaxies in the JADES Origins Field: Luminosity Function and Cosmic ...Earliest Galaxies in the JADES Origins Field: Luminosity Function and Cosmic ...
Earliest Galaxies in the JADES Origins Field: Luminosity Function and Cosmic ...
 
Astronomy Update- Curiosity’s exploration of Mars _ Local Briefs _ leadertele...
Astronomy Update- Curiosity’s exploration of Mars _ Local Briefs _ leadertele...Astronomy Update- Curiosity’s exploration of Mars _ Local Briefs _ leadertele...
Astronomy Update- Curiosity’s exploration of Mars _ Local Briefs _ leadertele...
 
Richard's aventures in two entangled wonderlands
Richard's aventures in two entangled wonderlandsRichard's aventures in two entangled wonderlands
Richard's aventures in two entangled wonderlands
 
4. An Overview of Sugarcane White Leaf Disease in Vietnam.pdf
4. An Overview of Sugarcane White Leaf Disease in Vietnam.pdf4. An Overview of Sugarcane White Leaf Disease in Vietnam.pdf
4. An Overview of Sugarcane White Leaf Disease in Vietnam.pdf
 
THE IMPORTANCE OF MARTIAN ATMOSPHERE SAMPLE RETURN.
THE IMPORTANCE OF MARTIAN ATMOSPHERE SAMPLE RETURN.THE IMPORTANCE OF MARTIAN ATMOSPHERE SAMPLE RETURN.
THE IMPORTANCE OF MARTIAN ATMOSPHERE SAMPLE RETURN.
 
(May 29th, 2024) Advancements in Intravital Microscopy- Insights for Preclini...
(May 29th, 2024) Advancements in Intravital Microscopy- Insights for Preclini...(May 29th, 2024) Advancements in Intravital Microscopy- Insights for Preclini...
(May 29th, 2024) Advancements in Intravital Microscopy- Insights for Preclini...
 
GBSN- Microbiology (Lab 3) Gram Staining
GBSN- Microbiology (Lab 3) Gram StainingGBSN- Microbiology (Lab 3) Gram Staining
GBSN- Microbiology (Lab 3) Gram Staining
 

Priority assignment on the mp so c with dmac

  • 1. 多核心匯流排與直接存取記憶體之優先權配置 Priority Assignment on the MPSoC with DMAC Presenter: Shih-Peng Yu Professor: Ya-Shu Chen Department of Electrical Engineering, National Taiwan University of Science and Technology M10007411@mail.ntust.edu.tw 2013/10/04
  • 2. Outline • Introduction • Related work • Problem definition • Approach • Experimental result • Conclusions 2
  • 3. Introduction  Embedded system  Peripheral device • Camera • Display • Storage 3
  • 4. Direct memory access control(DMAC)  Direct memory access(DMAC) Transfer data without core  Transfer type • Memory to memory • Memory to peripheral devices L1 Memory L3 Memory L2 Memory Device1 Device n . . . . . 4
  • 5. Introduction UART Transfer Data (kbps) CPU Idle rate (%) No DMA CPU Idle rate (%) With DMA Can’t work Can’t work Can’t work A B [1] Sachin Gupta and Lakshmi Natarajan‘Optimizing Embedded Applications using DMA,” Published in EE Times Design  DMAC is powerful to improve the system performance. • Increase core idle time (A) • Decrease system power (B) [1] 5
  • 6. Motivation Bus: Which master can be serviced first? DMAC : Which device can be serviced first? 6 BUS C𝟎 C𝟏 DMAC 𝐷0 𝐷1 𝐷2 Memory C𝒏 BUS Arbiter 𝐷𝑛
  • 7. Motivation BUS Priority : DMAC>C0>C1 BUS Priority : C0>C1>DMAC 7 T1,1 (2) I1,2 (3) T1,3 (2) T1,0 (5) (4) (4) 𝐓𝟏 𝐝𝟏=30 𝐃𝟎 T2,0 (5) I2,1 (2) T2,2 (7) T2,3 (6) 𝐝𝟐=30 𝐓𝟐 (3) (3) 𝐃𝟎 1 CE 1,3 2 DE0,1 (7) 1 DE 0,2 (7)
  • 8. Related work 8 [2] Ya-Shu Chen, Song-Jian Tang and Shi-Wu Lo,“A Priority Assignment Strategy of Processing Elementsover an On-Chip Bus,” Proceedings of the 2007 ACM symposium on Applied computing May 3, 2007 [3] Pi-Cheng Hsiu, Member’’Multilayer Bus Optimization for Real-Time Embedded Systems ,” Computers, IEEE Transactions on (Volume:61 , Issue: 11 ) ,Nov. 2012  Priority assignment • Ya-Shu Chen, [2] propose a priority assignment strategy based on Simulated Annealing (SA) to minimize the number of priorities for each PE’s. • Pi-Cheng Hsiu, [3] propose a dynamic-programming approach for scheduling real-time tasks with precedence constraints to minimizing the communication cost in multilayer bus embedded systems.
  • 9. Related work 9 [4] Joosun Hahn,Rhan Ha,Sang Lyul Min,Jane W.-S. Liu,’’ Analysis of Worst Case DMA Response Time in a Fixed-Priority Bus Arbitration Protocol,” Journal Real-Time Systems Volume 23, Issue 3 , pp 209-238 , 2002-11-01 [5] Tai-Yi Huang, Chih-Chieh Chou, Po-Yuan Chen“Bounding the Execution Times of DMA I/O Tasks on Hard-Real-Time Embedded Systems,” 9th International Conference, RTCSA, February 18-20, 2003 [6] Tai-Yi Huang,J. W.-S. Liu,Jen-Yao Chung’’ Allowing Cycle-Stealing Direct Memory Access I/O Concurrent with Hard-Real- Time Programs ,” IEEE Computer Society Washington , 1996  Response time analysis • Joosun Hahn, [4] propose a technique for finding the worst case response time (WCRT) of DMA request that is needed in the schedulability analysis of a whole real-time system. • Tai-Yi Huang, [5] presents a method for bounding the worst- case execution time of a cycle-stealing DMA I/O task executing concurrently with a set of CPU tasks on a single-processor system. • Tai-Yi Huang,[6] presents an analytical method for bounding the WCET of a program executing concurrently with cycle- stealing DMA I/O.
  • 10. Problem definition  Input:Task set and MPSoC architecture  Output:Cores, DMAC and Devices priority assignment  Constraint:Meet timing constrains  Objective:Maximum the bus utilization Bus utilization = System exectuion time − BUS Idle Time System exectuion time 10
  • 11. System model BUS C𝟎 C𝟏 DMAC 𝐷0 𝐷1 𝐷2 Memory C𝒏 BUS Arbiter 𝐷𝑛
  • 12. DMAC model 12  Channels schedule Arbiter controller . . . . FIFO Ch0 DMAC D0 Memory D1 Ch1 Dn Chn
  • 13. Task model 13 T1.1 T1.2 T1.3 T1.4 T1.5 T1.7 𝐈𝟏.𝟔 T2.1 T2.2 T2.3 T2.5 𝐈𝟐.𝟒 C Subtask D Subtask CPU transmission(CE) DMAC transmission(DE) 1 CE1,2 1 CE2,7 1 CE3,5 1 CE1,3 1 CE1,4 2 CE1,2 2 CE1,3 1 DE4,6 1 DE6,7 2 DE2,4 2 DE4,5 𝐝𝟏 𝐓𝟏 𝐝𝟐 𝐓𝟐
  • 14. Approach 14  Subtask assignment • Subtask cluster [8] : Minimize number of data transaction • Worst fit assignment : Balance the workload of tasks  Priority assignment • Workload-based (Fix priority) • Bandwidth-based (Dynamic priority) • SA  Schedulability bound • Priority order • Distinct path • Contention Interval [8]Cyun-Yi Jheng, Ya-Shu Chen “On-line Real-Time Task Management for Three-dimensional Network on Chips,” Anti-Counterfeiting, Security and Identification (ASID), 2012 International Conference ,July,13,2011
  • 15. Subtask assignment 15 [8]Cyun-Yi Jheng, Ya-Shu Chen “On-line Real-Time Task Management for Three-dimensional Network on Chips,” Anti- Counterfeiting, Security and Identification (ASID), 2012 International Conference ,July,13,2011 T1,1 (2) T1,2 (7) T1,3 (6) T1,5 (3) T1,6 (4) T2,0 (2) T2,1 (4) T2,2 (2) T2,3 (4) I2,5 (6) T2,6 (2) T1,0 (4) I1,4 (7) T2,4 (2) 𝐝𝟐=80 𝐓𝟐 (3) (5) (2) (6) (2) (3) (2) (4) (5) (5) (5) (2) 𝐓𝟏 𝐝𝟏=80 𝐃𝟎 𝐃𝟏
  • 17. Workload-based 17  For fix arbiter  Setting the workload of every data transaction  The urgency level is directly proportional to the workload value.  The priority order of master is highest, if the master has large workload value Wtransaction = CTi,j + CEi,j 𝑇𝑑 WMaster = Wtransaction CTi,j : Execution time of Subtask CEi,j :Execution time of data transaction 𝑇𝑑 : Task deadline
  • 19. Scheduability test 19 ST𝑃 = Tsump dP − (Comm + Cont)p Schedulable: 0<STP<1 Compare contention : 1.Priority order 2.Distinct path 3.Contention Interval -ASAP(Start time) -ALAP(End time) Tsum:Total execution time of subtask on the path dp: Path deadline Comm: Data transaction time Cont: Contention time T1,1 (2) T1,2 (7) T1,3 (6) T1,5 (3) T1,6 (4) T1,0 (4) I1,4 (7) 1 CE0,1 (2) 1 DE2,4 (6) 1 CE3,6 (2) 𝐃𝟎 𝐓𝟏 𝐝𝟏=30
  • 20. Scheduability test 20 Compare contention : 1.Priority order 2.Distinct path and on different path 3.Contention Interval T1,1 (2) T1,2 (7) T1,3 (6) T1,5 (3) T1,6 (4) T2,0 (4) T2,1 (4) T2,2 (2) T2,3 (4) I2,5 (6) T2,6 (4) T1,0 (4) I1,4 (7) T2,4 (2) 1 CE0,1 (2) 2 CE0,2 (4) 1 DE2,4 (6) 2 DE2,5 (5) 2 DE5,6 (3) 1 CE3,6 (2) 𝐃𝟎 𝐓𝟏 𝐝𝟏=30 𝐓𝟐 𝐝𝟐=30 𝐃𝟏 1 CE0,1 2 CE 0,2 < 1 CE0,1 2 CE0,2 A B Start Time End Time A 4 14 B 4 10
  • 21. Bandwidth-based 21  For the dynamic bus arbiter [7] and the dynamic DMAC [8]  Server Size Setting 𝐁𝐔𝐒 𝐦𝐚𝐬𝐭𝐞𝐫 𝐬𝐞𝐫𝐯𝐞𝐫 𝐬𝐢𝐳𝐞 = 𝐌𝐚𝐬𝐭𝐞𝐫 𝐰𝐨𝐫𝐤 𝐥𝐨𝐚𝐝 𝐁𝐔𝐒 𝐰𝐨𝐫𝐤 𝐥𝐨𝐚𝐝 𝐃𝐞𝐯𝐢𝐜𝐞 𝐬𝐞𝐫𝐯𝐞𝐫 𝐬𝐢𝐳𝐞 = 𝐃𝐞𝐯𝐢𝐜𝐞 𝐰𝐨𝐫𝐤 𝐥𝐨𝐚𝐝 𝐃𝐌𝐀𝐂 𝐰𝐨𝐫𝐤 𝐥𝐨𝐚𝐝 [7] Eric S. Collins, Reginald J. Hill, Brett L. Lindsley‘Dynamic bus arbitration priority and task switching based on shared memory fullness in a multi-processor system” , Motorola, Inc.,US 09/089,721,12/5 2000 [8] Steven E. Olson, Jhy-Ping Shaw‘High speed dynamic chaining of DMA operations without suspending a DMA controller or incurring race conditions.” , Oak Technology, US 09/130,885, 3/06 2001 According to work load
  • 22. Bandwidth-based 22  Deadline setting [9]  According to the deadline value to determine the service order 𝐄𝐝 = 𝐦𝐚𝐱 𝐓𝐀𝐫𝐫𝐢𝐯𝐚𝐥 , 𝐄′𝐝 + 𝐄𝐞 𝐔𝐒 [ [9] Marco Spuri , Giorgio Buttazzo ‘ Scheduling Aperiodic Tasks in Dynamic Priority.” , journal Real-Time Systems , July. 1996 𝐄𝐝:The deadline of data transaction 𝐓𝐀𝐫𝐫𝐢𝐯𝐚𝐥 : Arrival time of data transaction 𝐄′𝐝: The deadline of previous data transaction 𝐄𝐞: The execution time of data transaction 𝐔𝐒 : The sever size
  • 23. Bandwidth-based 23 Work Load: C0 : 0.633 C1 : 1 D0 : 0.433 D1 : 0.833 DMAC Total Work Load=0.433+0.833=1.266 BUS Total Work Load=0.633+1+1.266=2.899 Server size: C0 : 0.633 2.899 = 0.22 C1 : 1 2.899 = 0.34 DMAC : 1.266 2.899 = 0.44 D0 : 0.433 1.266 = 0.34 D1 : 0.833 1.266 = 0.66
  • 24. Bandwidth-based 24 2 CE0,2 1 CE0,1 : max 4,0 + 4 0.34 =15 : max 4,0 + 2 0.22 =13 Deadline assignment: Server size: C0 : 0.633 2.899 = 0.22 C1 : 1 2.899 = 0.34 DMAC : 1.266 2.899 = 0.44 D0 : 0.433 1.266 = 0.34 D1 : 0.833 1.266 = 0.66
  • 25. SA algorithm 25  Initial state Workload-based priority assignment  Perturbation strategy • Swap bus master priority order(Cores and DMAC) • Swap DMAC master priority order (Devices)  Energy function Bus utilization = System execution time − BUS Idle Time System execution time
  • 26. Experimental setting 26  Input • By TGFF [10] Degree (in, out)=(2,3) Number of task set=1000 Number of task=1~5 Number of subtask =20~80 • SA Setting Initial temperature : 100 End temperature : 20 Iteration : 25 𝜌=0.9 [10]R. P. Dick, D. L. Rhodes, and W. Wolf. Tgff: task graphs for free. In Proceedings of the 6th international workshop on Hardware/software codesign, CODES/CASHE ’98, pages 97–101, Washington, DC, USA, 1998. IEEE Computer Society. Performance metrics •Bus utilization •Meet ratio •Algorithm Time Comparison Cycle stealing
  • 27. Experimental result 27 Variation of core number • Device : 2 • IO-ratio : 0.3
  • 28. Experimental result 28 Variation of core number • Device : 2 • IO-ratio : 0.3
  • 30. Experimental result 30 Variation of ratio of device numbers • Core : 4 • IO-ratio : 0.3
  • 32. Experimental result Variation of device tasks • Core : 4 • Device: 2 32
  • 33. Experimental result Variation of device tasks • Core : 4 • Device: 2 33
  • 34. Experimental result 34 Optimum-near • Core : 4 • Device:2 • IO-Ratio : 0.3
  • 35. Experimental result 35 Optimum-near • Core : 4 • Device:2 • IO-Ratio : 0.3
  • 36. Experimental result Variation of iteration setting • Core : 4 • Device:2 • IO-Ratio : 0.3 36
  • 37. Conclusions  Priority Assignment on the MPSoC with DMA • Precedence constraint scheduling • Core and DMAC priority setting • Device priority setting  We propose • Workload-based • Bandwidth-based • SA  Future work • Multi/Multilayer Bus • Energy aware 37
  • 38. References [1] Sachin Gupta and Lakshmi Natarajan‘Optimizing Embedded Applications using DMA.” Published in EE Times Design [2] Ya-Shu Chen, Song-Jian Tang and Shi-Wu Lo “A Priority Assignment Strategy of Processing Elementsover an On-Chip Bus,”, Proceedings of the 2007 ACM symposium on Applied computing May 3, 2007 [3] Pi-Cheng Hsiu, Member’’ Multilayer Bus Optimization for Real-Time Embedded Systems ,” Computers, IEEE Transactions on (Volume:61 , Issue: 11 ) ,Nov. 2012 [4] Joosun Hahn,Rhan Ha,Sang Lyul Min,Jane W.-S. Liu,’’Analysis of Worst Case DMA Response Time in a Fixed-Priority Bus Arbitration Protocol,” Journal Real-Time Systems Volume 23, Issue 3 , pp 209-238 , 2002- 11-01 [5] Tai-Yi Huang, Chih-Chieh Chou, Po-Yuan Chen“Bounding the Execution Times of DMA I/O Tasks on Hard- Real-Time Embedded Systems,” 9th International Conference, RTCSA, February 18-20, 2003 [6] Tai-Yi Huang,J. W.-S. Liu,Jen-Yao Chung’’Allowing Cycle-Stealing Direct Memory Access I/O Concurrent with Hard-Real-Time Programs ,” IEEE Computer Society Washington , 1996 [7] Eric S. Collins, Reginald J. Hill, Brett L. Lindsley‘Dynamic bus arbitration priority and task switching based on shared memory fullness in a multi-processor system” , Motorola, Inc.,US 09/089,721,12/5 2000 [8] Steven E. Olson, Jhy-Ping Shaw‘High speed dynamic chaining of DMA operations without suspending a DMA controller or incurring race conditions.” , Oak Technology, US 09/130,885, 3/06 2001 [9] Marco Spuri , Giorgio Buttazzo ‘ Scheduling Aperiodic Tasks in Dynamic Priority.” , journal Real-Time Systems , July. 1996 [10]R. P. Dick, D. L. Rhodes, and W. Wolf. Tgff: task graphs for free. In Proceedings of the 6th international workshop on Hardware/software codesign, CODES/CASHE ’98, pages 97–101, Washington, DC, USA, 1998. IEEE Computer Society. 38
  • 39. 39 Thanks for your attention!
  • 40. Algorithm Time 40 Core 4 8 16 32 64 OPT 53.71 72576 3.766* 10^13 4.73* 10^35 2.283* 10^89 SA 89.84 89.84 92.341 90.239 89.487 BandWidth 0.004 0.004 0.003 0.004 0.004 WorkLoad 0.004 0.004 0.003 0.004 0.004 CYC 0.001 0.002 0.001 0.001 0.001
  • 41. Introduction 41 Data transaction(E) (Execution Time , deadline) E1(1,2) E2(2,5)
  • 42. Task Variation 42 Variation of tasks • Core : 4 • Device:2 • IO-Ratio : 0.3
  • 43. Task Variation 43 Variation of tasks • Core : 4 • Device:2 • IO-Ratio : 0.3
  • 44. In out Variation 44 Variation of in-out for subtask • Core : 4 • Device:2 • IO-Ratio : 0.3
  • 45. In out Variation 45 Variation of in-out for subtask • Core : 4 • Device:2 • IO-Ratio : 0.3
  • 46. Scheduability Test 46 Variation of in-out for subtask • Core : 4 • Device:2 • IO-Ratio : 0.3
  • 47. 47
  • 48. 48
  • 49. 多核心匯流排與直接存取記憶體之優先權配置 Priority Assignment on the MPSoC with DMAC Presenter: Shih-Peng Yu Professor: Ya-Shu Chen Department of Electrical Engineering, National Taiwan University of Science and Technology M10007411@mail.ntust.edu.tw 2013/10/04
  • 50. Algorithm Time 50 Core 4 8 16 32 64 OPT 2445.5 4032000 2.09* 10^15 2.63* 10^37 1.26* 10^91 SA 523.11 526.24 524.712 525.184 524.69 BandWidth 0.016 0.016 0.016 0.017 0.016 WorkLoad 0.016 0.016 0.016 0.017 0.016 CYC 0.001 0.002 0.02 0.002 0.002

Editor's Notes

  1. 各位口試委員好,我的名字叫余士鵬 今天我要報告的題目是:Priority Assignment on the MPSoC with DMA
  2. 而第一篇文獻與第二篇文獻分別藉著該SA找尋適當的優先權配置與適當的行程配置去降低匯流排的Layer數去將低硬體成本的效益問題。但還沒有將DMAC機制與外部裝置影響考慮進去。
  3. 而大部份有考慮外部裝置的文獻探討,都是在於該如何靜態分析系統的反應時間與最差的執行時間去設計系統。而沒有討探關於Run Time去決定優先權的問題。
  4. 各位口試委員好,我的名字叫余士鵬 今天我要報告的題目是:Priority Assignment on the MPSoC with DMA