Top Banner
ARMADA Middleware and Communication Services T. ABDELZAHER, M. BJORKLUND, S. DAWSON, W.-C. FENG, F. JAHANIAN, S. JOHNSON, P. MARRON, A. MEHRA, T. MITTON, A. SHAIKH, K. SHIN, Z. WANG, H. ZOU Real-Time Computing Laboratory University of Michigan Presented by Guoliang
37

ARMADA Middleware and Communication Services

Jan 07, 2016

Download

Documents

Inara_

ARMADA Middleware and Communication Services. T. ABDELZAHER, M. BJORKLUND, S. DAWSON, W.-C. FENG, F. JAHANIAN, S. JOHNSON, P. MARRON, A. MEHRA, T. MITTON, A. SHAIKH, K. SHIN, Z. WANG, H. ZOU Real-Time Computing Laboratory University of Michigan Presented by Guoliang Xing. Agenda. - PowerPoint PPT Presentation
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: ARMADA Middleware and Communication Services

ARMADA Middleware and Communication Services

T. ABDELZAHER, M. BJORKLUND, S. DAWSON, W.-C. FENG, F. JAHANIAN, S. JOHNSON, P. MARRON, A. MEHRA, T. MITTON, A. SHAIKH, K. SHIN, Z. WANG, H. ZOU

Real-Time Computing Laboratory

University of MichiganPresented by Guoliang Xing

Page 2: ARMADA Middleware and Communication Services

Agenda

Introduction RTCAST Group Comm. Service Real-Time Channel Architecture Platforms RTPB Replication Service Evaluation Tools

Page 3: ARMADA Middleware and Communication Services

Target Applications

Embedded fault-tolerant applications

Industrial and manufacturing systems

Distributed multimedia Air traffic control

Page 4: ARMADA Middleware and Communication Services

Key Challenges Timely delivery of services with end-to-

end real-time constraints Dependability of services in the presence

of h/s failures Scalability of computation and

communication resources Exploitation of open systems and

emerging standards in operating systems and communication services

Page 5: ARMADA Middleware and Communication Services

ARMADA Architecture

Applications

MiddlewareServices

EvaluationTools

API

Real-TimeChannels

Microkernel

Page 6: ARMADA Middleware and Communication Services

RTCAST Multicast comm. and group management

in timely fashion, with faults

Page 7: ARMADA Middleware and Communication Services

Group Communication

Reliable message delivery Agreement on group membership Failure detection and handling Consistency

Atomicity: either everybody gets the message or nobody gets it

Global order

Page 8: ARMADA Middleware and Communication Services

Real-time Group Comm.

Late message means failure Atomic, ordered message delivery

in timely fashion Immediate message delivery

without compromising the above

Page 9: ARMADA Middleware and Communication Services

Achieve reliability, atomicity, RT

Reliability: each member either receives a multicast message m or crashes before receiving m

Atomicity: correct members receive all message and in the same order

Time-bounded multicast: each member either receives each multicast m in total order within T time units or crashes during T before receiving m

Page 10: ARMADA Middleware and Communication Services

RTCAST - ArchitectureReal-time Process Groups API

Clock Synchronization Virtual Network Interface

Unicast Datagram Communication

Admission Control andSchedulability Analysis

Group MembershipService

Timed Atomic Multicast

Page 11: ARMADA Middleware and Communication Services

System Model Assumptions:

each processor has its own unique identifier a path exists between any two processors communication delay is bounded (in the

absence of failures) synchronized clocks

Failures processors may suffer performance or crash

failures messages may suffer performance or

omission failures

Page 12: ARMADA Middleware and Communication Services

Agreement on membership

All members have the same membership view at group initialization time

For each membership update U which changes membership view from V to V’, U is delivered atomically (in order) to all members in V U V’ within T time units

Page 13: ARMADA Middleware and Communication Services

Steady-state operation

Page 14: ARMADA Middleware and Communication Services

Steady-state operation Token Ring: ensure order

A processor sends messages only after holds token

Upon receiving the token sends multicast messages within maximum

token hold time sends a heartbeat which is a token to

successor Upon receiving a multicast message

deliver to application in sequence if message omission detected, crash

Page 15: ARMADA Middleware and Communication Services

Steady-state operation– contd.

1 2 3 4

1 2 3 4

1 2 3 4

1 2 3 4

1

2

3

4

1 2 3 4

1 2 3 4

1 2 3 4

1 2 3 4

1

2

3

4

1 2 3 4

1 2 3 4

1 2 3 4

1 2 3 4

1

2

3

4

Page 16: ARMADA Middleware and Communication Services

Handle faults

1 2 3 4

1 2 3 4

1 2 3 4

1 2 3 4

1

2

3

4

1 2 3 4

1 2 3 4

1 2 3 4

1 2 3 4

1

2

3

4

1 2 3 4

1 2 3 4

1 2 3 4

1 2 3 4

1

2

3

4

1 2 3 4

1 2 3 4

1 2 3 4

1 2 3 4

1

2

3

4

1 2 3 4

1 2 3 4

1 2 3 4

1 2 3 4

1

2

3

4

1 3 4

1 2 3 4

1 3 4

1 3 4

1

2

3

4

Page 17: ARMADA Middleware and Communication Services

Membership Changes Processor crashes

Each processor checks the heartbeats from members when its turn comes

Send membership update multicast Joins

Sends a join request to some processor which multicasts membership change message

Joining processor checks the consistence of membership views sent in ACKs

Page 18: ARMADA Middleware and Communication Services

Token Rotation Period

Ptoken – Token rotation time Ti – maximum token hold time at any

processor n – number of processes dmax – comm. delay

Page 19: ARMADA Middleware and Communication Services

Admission Control

Goal: Only admit affordable messages

Assumptions: Each sender can transmit messages

for up to Tj units of time within P Time elapsed between the send and

delivery is bounded by Δ

Page 20: ARMADA Middleware and Communication Services

Admission Control – Contd. Real-time message: Maximum

transmission time Ci, period Pi, deadline di

Sufficient Schedulability Condition:

Page 21: ARMADA Middleware and Communication Services

Implementation

Page 22: ARMADA Middleware and Communication Services

Agenda

Introduction RTCAST Group Comm. Service Real-Time Comm. Architecture Platforms RTPB Replication Service Evaluation Tools Conclusion

Page 23: ARMADA Middleware and Communication Services

RT Channel Architecture

Page 24: ARMADA Middleware and Communication Services

RT Comm. Architecture – Contd.

Real-time channel: unicast virtual connection between two hosts with bounded end-to-end delay guarantee RTC API: Clip: endpoint with QoS parameters RTCOP: Signaling and resource reservation QoS model & Admission control:

Page 25: ARMADA Middleware and Communication Services

RTC API

Page 26: ARMADA Middleware and Communication Services

RTCOP-Contd.

Real-Time Connection Ordination Protocol: Distributed end-to-end signaling Request and reply handler: manage signaling

state and interface to admission control Comm. module: reliably forward signaling

message Signaling connection is non-real-time but

reliable

Page 27: ARMADA Middleware and Communication Services

RTCOP

Page 28: ARMADA Middleware and Communication Services

Resource scheduling

Page 29: ARMADA Middleware and Communication Services

Resource scheduling- Contd.

QoS-sensitive CPU scheduling: Each message must be sent within deadline Comm. Handler scheduled with EDF policy

Resource reservation: Associate each Comm. Handler with budget

Policing: Link bandwidth allocation:

Dynamic priority based link scheduler

Page 30: ARMADA Middleware and Communication Services

Resource Scheduling – contd.

Msg Msg Msg

Cl i ps

pkt pkt pkt

Li nk

EDFSchedul er

EDFSchedul er

Buget

Page 31: ARMADA Middleware and Communication Services

Traffic isolation in RTC

Page 32: ARMADA Middleware and Communication Services

Agenda

Introduction RTCAST Group Comm. Service Real-Time Comm. Architecture Platforms RTPB Replication Service Evaluation Tools Conclusion

Page 33: ARMADA Middleware and Communication Services

Platforms Microkernel x-kernel: Co-

located server

UDP/IP

Page 34: ARMADA Middleware and Communication Services

RTPB Architecture

Many RT applications can tolerate minor inconsistencies in replicated state

Backup maintains a less current copy of primary

Distance between the primary and backup data is bounded within a time window

Page 35: ARMADA Middleware and Communication Services

Evaluation Tools - ORCHESTRA A distributed protocol is viewed as an

abstraction layer through which participants communicate by exchanging messages

A probe/fault injection (PFI) layer is inserted between any two consecutive layers in a protocol stack.

PFI layer can delay, drop, reorder, duplicate, modify, introducing spontaneous messages

Page 36: ARMADA Middleware and Communication Services

Conclusions Middleware Services for fault-

tolerant group communication Real-time communication services validation tools

Page 37: ARMADA Middleware and Communication Services

Questions?