Design and Performance Evaluation of a New Spatial Reuse FireWire Protocol. Master s thesis defense by Vijay Chandramohan

Similar documents
Design and Performance Evaluation of a New Spatial Reuse. FireWire Protocol. Vijay Chandramohan

ET4254 Communications and Networking 1

Principles behind data link layer services

Chapter 11: Input/Output Organisation. Lesson 17: Standard I/O buses USB (Universal Serial Bus) and IEEE1394 FireWire Buses

Principles behind data link layer services:

Principles behind data link layer services:

Introduction to Input and Output

Chapter 15 Local Area Network Overview

>>> FINAL REPORT <<<

Generic Model of I/O Module Interface to CPU and Memory Interface to one or more peripherals

Input/Output Problems. External Devices. Input/Output Module. I/O Steps. I/O Module Function Computer Architecture

Topics. Link Layer Services (more) Link Layer Services LECTURE 5 MULTIPLE ACCESS AND LOCAL AREA NETWORKS. flow control: error detection:

High Level View. EE 122: Ethernet and Random Access protocols. Medium Access Protocols

Using Time Division Multiplexing to support Real-time Networking on Ethernet

Homework 1. Question 1 - Layering. CSCI 1680 Computer Networks Fonseca

PON Functional Requirements: Services and Performance

CCM 4300 Lecture 5 Computer Networks, Wireless and Mobile Communications. Dr Shahedur Rahman. Room: T115

Data Link Layer. Our goals: understand principles behind data link layer services: instantiation and implementation of various link layer technologies

EE 122: Ethernet and

Organisasi Sistem Komputer

Local Area Network Overview

Medium Access Protocols

Lecture Computer Networks

Chapter 1. Computer Networks and the Internet

Summary of MAC protocols

LAN Overview (part 2) Interconnecting LANs - Hubs

Introduction to LAN Topologies Cabling. 2000, Cisco Systems, Inc. 3-1

1999, Scott F. Midkiff

Medium Access Control. IEEE , Token Rings. CSMA/CD in WLANs? Ethernet MAC Algorithm. MACA Solution for Hidden Terminal Problem

ECE 653: Computer Networks Mid Term Exam all

IEEE , Token Rings. 10/11/06 CS/ECE UIUC, Fall

CS610- Computer Network Solved Subjective From Midterm Papers

Outline: Connecting Many Computers

4. Networks. in parallel computers. Advances in Computer Architecture

Real-Time (Paradigms) (47)

6.9. Communicating to the Outside World: Cluster Networking

CMSC 611: Advanced. Interconnection Networks

ECE 650 Systems Programming & Engineering. Spring 2018

Link Layer and LANs 안상현서울시립대학교컴퓨터 통계학과.

Multimedia Communication Services Traffic Modeling and Streaming

Lecture 5 The Data Link Layer. Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it

CH : 15 LOCAL AREA NETWORK OVERVIEW

TCOM 370 NOTES 99-1 NETWORKING AND COMMUNICATIONS

Multiple Access Protocols

Real-Time Protocol (RTP)

RMIT University. Data Communication and Net-Centric Computing COSC 1111/2061/1110. Lecture 8. Medium Access Control Methods & LAN

Data Link Layer, Part 5. Medium Access Control

The Network Layer and Routers

Data Link Layer, Part 3 Medium Access Control. Preface

Chapter 11 in Stallings 10 th Edition

LS Example 5 3 C 5 A 1 D

Lecture 6 The Data Link Layer. Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it

ECE 544 Computer Networks II Mid-Term Exam March 29, 2002 Profs. D. Raychaudhuri & M. Ott

Lecture 16: Network Layer Overview, Internet Protocol

Media Access Control (MAC) Sub-layer and Ethernet

Protocol Specification. Using Finite State Machines

Overview of Networks

Integrated t Services Digital it Network (ISDN) Digital Subscriber Line (DSL) Cable modems Hybrid Fiber Coax (HFC)

Network Topology. By Dr. Piya Techateerawat. Bus Topology Ring Topology Star Topology Fully Connected Topology. Combined Topology

Lecture 05 Chapter 16 High Speed LANs

Local Area Networks (LANs) SMU CSE 5344 /

Systems. Roland Kammerer. 10. November Institute of Computer Engineering Vienna University of Technology. Communication Protocols for Embedded

Performance Evaluation of Scheduling Mechanisms for Broadband Networks

CSE 461: Multiple Access Networks. This Lecture

Toward a Reliable Data Transport Architecture for Optical Burst-Switched Networks

Lecture (04 & 05) Packet switching & Frame Relay techniques Dr. Ahmed ElShafee

Lecture (04 & 05) Packet switching & Frame Relay techniques

CS 268: Computer Networking. Taking Advantage of Broadcast

STateless Resource Sharing (SRS)

Adaptors Communicating. Link Layer: Introduction. Parity Checking. Error Detection. Multiple Access Links and Protocols

Chapter 9. Ethernet. Part II

A closer look at network structure:

Atacama: An Open Experimental Platform for Mixed-Criticality Networking on Top of Ethernet

Data Communication & Computer Networks INFO

HPE FlexNetwork 5510 HI Switch Series FAQ

Network Superhighway CSCD 330. Network Programming Winter Lecture 13 Network Layer. Reading: Chapter 4

Typical Network Uses

Chapter 5: The Data Link Layer. Chapter 5 Link Layer and LANs. Ethernet. Link Layer. Star topology. Ethernet Frame Structure.

IEEE 802 LANs SECTION C

Chapter 5.6 Network and Multiplayer

Module 5. Broadcast Communication Networks. Version 2 CSE IIT, Kharagpur

Performance of a Switched Ethernet: A Case Study

ECE 551 System on Chip Design

Real-Time Networking for Quality of Service on TDM based Ethernet

Cache and Forward Architecture

Communication and Networks. Problems

ECE 158A: Lecture 13. Fall 2015

Chapter -4 OSI Reference Model

Links. Error Detection. Link Layer. Multiple access protocols. Nodes Links Frame. Shared channel Problem: collisions How nodes share a channel

2.1 CHANNEL ALLOCATION 2.2 MULTIPLE ACCESS PROTOCOLS Collision Free Protocols 2.3 FDDI 2.4 DATA LINK LAYER DESIGN ISSUES 2.5 FRAMING & STUFFING

Lecture 3. The Network Layer (cont d) Network Layer 1-1

Link Layer and Ethernet

2 Network Basics. types of communication service. how communication services are implemented. network performance measures. switching.

COMP476 Networked Computer Systems. Polling. Sharing the Wire. LAN Technologies. COMP476 Networked Computer Systems 1

Internetworking Part 1

Traffic Characteristics of Bulk Data Transfer using TCP/IP over Gigabit Ethernet

Adaptors Communicating. Link Layer: Introduction. Parity Checking. Error Detection. Multiple Access Links and Protocols

Localization approaches based on Ethernet technology

Silberschatz and Galvin Chapter 15

Master Course Computer Networks IN2097

Transcription:

Design and Performance Evaluation of a New Spatial Reuse FireWire Protocol Master s thesis defense by Vijay Chandramohan Committee Members: Dr. Christensen (Major Professor) Dr. Labrador Dr. Ranganathan This material is based upon work funded by a Florida Space Research and Education Grant (reference PO A07277) VC001 (vijay.ppt - 09/18/03) Acknowledgements I would like to thank: My major professor: Dr. Ken Christensen, My committee: Dr. Labrador and Dr. Ranganathan Florida Space Research and Education Grant Department of Computer Science and Engineering VC002 1

Topics Motivation Contributions Background Design of Spatial Reuse FireWire Protocol (SFP) Performance evaluation of SFP Conclusion VC003 Motivation Video surveillance systems with thousands of cameras are needed For monitoring of stadiums, airports, runways, etc. Existing dedicated medium networks are too costly The wire cost can exceed the camera cost! Wireless is not a solution Not enough bandwidth Need wiring in any case for power to cameras What is needed are new shared-medium protocols Daisy-chained networks High speed Suitable for variable bit-rate video traffic VC004 2

Contributions 1) Review of networking technologies for video surveillance 2) Performance evaluation of FireWire for video transport 3) Design and performance evaluation of SFP SFP = new Spatial reuse FireWire Protocol Attributes of SFP are: - Increases throughput of a FireWire - Adds QoS support for video VC005 Background Existing video surveillance systems are human monitored Places a limit on the number of cameras Future video surveillance will be image processing driven - Large number of cameras - Cameras are very low cost - Image processing in the camera There are three generations of video surveillance systems Generation 1 Existing Generation 2 Emerging Generation 3 Future VC006 3

Background continued Analog camera Monitors Panel Existing Tape recorder Dedicated coax cables, analog transmission. No processor in cameras. Digital camera with network interface Ethernet switch Emerging Sensor fusion Dedicated twisted-pair cables, encoder in cameras (processor possible). VC007 Background continued Digital camera Future Sensor fusion Shared-bandwidth, twisted-pair or fiber cables. Processor in cameras. VC008 4

Background continued Overview of FireWire Serial bus technology, Apple (1987) Shared-medium daisy-chained topology (tree), built-in power 63 nodes in a bus (repeat path), Up to 1024 buses can be bridged IEEE 1394 IEEE 1394a IEEE 1394b Internode distance 4.5 meters (max) 4.5 meters (max) 100 meters (max) Maximum hops 16 63 63 Physical medium STP STP STP, POF, MMF Cable bandwidth 100, 200, 400 Mbps 100, 200, 400 Mbps Up to 1.6 Gbps Loop prevention No No Yes Arbitration Large idle gaps Small idle gaps No idle gaps VC009 Background continued FireWire cable cross-section Power wires Outer jacket Outer shield Signal pair shield FireWire transactions Twisted signal pairs Asynchronous Guaranteed in delivery Isochronous Guaranteed in time (reserved bandwidth) Asynchronous streaming Guaranteed neither in time nor delivery VC010 5

Background continued FireWire protocol stack Bus Management Interface Software Driver Transfer Interface Asynchronous Isochronous Bus Manager IRM Cycle Master Node Controller Bus Management Layer Transaction Layer Link Layer Physical Layer Serial Bus Bus arbitration VC011 Background continued FireWire data transmission interface TX/RX Logic TPA TPA TX/RX Logic Repeater Repeater Arbitration Logic TPB TPB Arbitration Logic Two twisted pairs cross wired between nodes VC012 6

Background continued Bus arbitration in FireWire Nodes request the bus owner for access Bus owner makes the arbitration decision - Bus owner selects a best request and issues a grant Granted node can transmit data - Other nodes continue to request and wait for a grant Arbitration different in IEEE 1394, IEEE 1394a & IEEE 1394b - IEEE 1394b is full-duplex VC013 Background continued Arbitration sequence in IEEE 1394b Cycle start Cycle N = Isochronous Transactions = Asynchronous Transactions (Ack included) = Arbitration grant overhead -The bus owner is the last node to complete data transmission -The bus owner has limited knowledge about requesting nodes - Arbitrations are overlapped with data transmission (full-duplex) - Arbitrations are based upon a 125 microsecond cycle - Arbitration requests and grants are 10-bit tokens VC014 7

Background continued Performance limitations in FireWire 1) Lack of spatial reuse or concurrent packet transmissions Traffic Traffic N 6 5 4 3 2 1 To Sensor Fusion FireWire medium - Entire network envisioned as a logical serial bus - Throughput limited to single link capacity - No destination stripping of packets 2) Lack of support for priority traffic - Isochronous service lacks flexibility to support VBR video VC015 Background continued Rate plot of an MPEG-2 video (mean data rate 5 Mbps) 25 20 Rate (Mbps) 15 10 5 0 0 1 2 3 4 5 6 7 8 9 10 Time (sec) VC016 8

Design of SFP Overview of Spatial reuse FireWire Protocol (SFP) SFP is a new extension of the IEEE 1394b architecture SFP offers - spatial reuse of bandwidth (for improved throughput) - support for priority traffic (for real-time apps) SFP adds to IEEE 1394b - New data transmission interface that uses existing cable -Informative request packets - Caching of requests - Destination stripping of data packets VC017 Design of SFP continued SFP data transmission interface TX/RX Logic TPA Data line TPA TX/RX Logic Repeater Repeater Arbitration Logic TPB Request line TPB Arbitration Logic Twisted pairs TPA and TPB operate as independent half-duplex lines TPA carries data traffic. - TPA can operate in blocking mode or repeat mode TPB exclusively carries arbitration requests VC018 9

Design of SFP continued Overview of arbitration in SFP Nodes broadcast a request packet that is cached by every node Bus owner selects a group of requests from the cache - Selected requests (corresponding nodes) are granted A grant packet with information about granted nodes is broadcast - Granted nodes can transmit data VC019 Design of SFP continued Synchronous request transfer between nodes Cycle n (even) Data line Data 1 2 3 4 5 6 Request Request line SFP node N Cycle n+1 (odd) Data 1 2 3 4 5 6 Request N Each node caches incoming requests and retransmits Arbitration is continuous and independent of data traffic VC020 10

Design of SFP continued Each request packet contains the following fields of information: Source address of the arbitrating node Destination address of the data packet Arbitration phase, alternates between Current and Next - Arbitration phase ensures fairness among like priority nodes Size (in bytes) of the data packet Priority of the data packet, can be High, Medium or Low VC021 Design of SFP continued Arbitration schedule Arbitration is always done for head-of-line packet - In the highest non-empty priority queue High priority arbitrations are never preempted Low and Medium priority arbitrations may be preempted - If a higher priority packet is enqueued VC022 11

Design of SFP continued Arbitration scheduler algorithm 1. While (TRUE) do 2. If (High priority transmit buffer has packets) then 3. Send request packet with priority field = High 4. WAIT (until a grant for request is received) 5. Trigger packet transmit 6. Else if (Medium priority transmit buffer has packets) then 7. Send request packet with priority field = Medium 8. WAIT (until a grant for request is received or a High priority packet is enqueued) 9. If (grant for the request is received) then 10. Trigger packet transmit 11. Else if (Low priority transmit buffer has packets) then 12. Send request packet with priority field = Low 13. WAIT (until a grant for request is received or a High/Med priority packet is enqueued) 14. If (grant for the request is received) then 15. Trigger packet transmit VC023 Design of SFP continued Bus owner Bus owner makes the arbitration decision - Arbitrating decision is selecting a group of nodes for access Bus owner identifies its successor among granted nodes - Last node to complete packet transmission is next bus owner Bus owner broadcasts a grant packet - Each grant packet contains the following fields of information: 1) Granted address list: addresses of all granted nodes 2) Destination address list: addresses of destination nodes 3) Arbitration reset status: TRUE or FALSE 4) Address of the next bus owner VC024 12

Design of SFP continued Bus owner arbitration decision Group the requests in the cache into minimum number of sets Select a set containing at least one highest priority level request Issue grant to all requests (corresponding nodes) in the selected set Priority levels in SFP Priority class Arbitration phase Priority level High Medium Low Current Next Current Next Current 1 (highest) 2 3 4 5 VC025 Next 6 (lowest) Design of SFP continued Grouping compatible requests into minimum number of sets N sets = 4 e d a b c f 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Left End Right End N sets = 3 a d e b c f 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 VC026 13

Design of SFP continued Grouping compatible requests into minimum number of sets Each request has a left address and a right address - Each request has a unique signature Two requests can be placed in the same set -If left address of one is >= right address of the other VC027 Design of SFP continued Algorithm for grouping requests Scan the requests in sorted order (based on left & right addresses) - Request cache ensures sorted ordering of requests A stack data structure is used, from Zhang and Dai [28] - To identify the request whose right address is recently seen If left address of a request is seen If stack is empty then place the request in a new set Else place the request in the same set as the one in stack top VC028 14

Design of SFP continued Algorithm for grouping requests 1. For (each slot of the request cache) do 2. For (i = 1 to number of requests for this slot) do 3. If (R i has associated flag set to 1) then 4. Push R i on the stack 5. For (i = 1 to number of requests for this slot) do 6. If (R i has associated flag set to 0) then 7. If (stack is empty) then 8. index = index + 1 9. Assign R i to the set S index 10. Else 11. Pop R from stack 12. Assign R i to the same set as R VC029 Design of SFP continued Arbitration sequence in SFP Concurrent packet transmit Arbitration sequence = Asynchronous stream transaction = Arbitration grant overhead No isochronous service in SFP VC030 15

Performance evaluation of SFP Evaluation done with CSIM-18 simulation models N 6 5 4 3 2 1 To Sensor Fusion medium Traffic models - MPEG-2 traces [18], (mean bit-rate 5 Mbps) - Poisson arrivals of fixed length packets Traffic distribution between nodes - Spatial_min (No spatial reuse, all packets to head end) - Spatial_average (uniform distribution) - Spatial_video (90% to neighbors 10% to head end) - Spatial_max (all packets to right neighbor) VC031 Performance evaluation of SFP continued Experiments on the performance of SFP and IEEE 1394b Experiment #1: IEEE 1394b, async stream vs. isochronous Response variable is queuing delay Control variable is number of nodes MPEG-2 sources, 100 Mbps link bandwidth Experiment #2: SFP, IEEE 1394b, different traffic distributions - Response variable is queuing delay - Control variable is offered load - Poisson sources, 60 nodes, 400 Mbps link bandwidth Experiment #3: SFP, different traffic distributions - Response variable is queuing delay - Control variable is number of nodes - Poisson sources of 5 Mbps data rate, 100 Mbps link VC032 16

Performance evaluation of SFP continued Experiment #4: SFP, different fixed packet sizes - Response variable is maximum throughput - Control variable is packet size - Poisson sources, 100 nodes, 400 Mbps link bandwidth Experiment #5: SFP, priority traffic - Response variable is queuing delay - Control variable is offered load - 20% packets are High, 30% are Medium, and 50% are Low - MPEG-2 sources, 60 nodes VC033 Performance evaluation of SFP continued Experiment# 1 results 70 Delay (ms) 60 50 40 30 20 10 0 1394b Isochronous 1394b Asynchronous 0 2 4 6 8 10 12 14 16 18 20 Number of nodes Asynchronous streaming better than isochronous VC034 17

Performance evaluation of SFP continued Experiment# 2 results 100 Delay (ms) 10 1 IEEE 1394b Spatial_min Spatial_average Spatial_video Spatial_max 0.1 0.01 10 100 1000 10000 Load (%) SFP throughput better than IEEE 1394b VC035 Performance evaluation of SFP continued Experiment# 3 results 100 Delay (ms) 10 1 Spatial_min Spatial_average Spatial_video Spatial_max 0.1 0.01 10 100 1000 Node count Spatial reuse results in higher node count VC036 18

Performance evaluation of SFP continued Experiment# 4 results Throughput (factors) 10 9 8 7 6 5 4 3 2 1 0 0 2000 4000 6000 8000 10000 12000 14000 16000 18000 20000 Pkt size (bytes) Throughput increases with packet size VC037 Performance evaluation of SFP continued Experiment# 5 results 100 Delay (ms) 10 1 Low priority Average Medium priority High priority 0.1 0 20 40 60 80 100 120 140 160 Load (%) Priority traffic have distinct delays VC038 19

Conclusion Major contribution is New low-cost SFP bus arbitration protocol for video surveillance networks that builds on the existing FireWire protocol 1) SFP improves the throughput of IEEE 1394b FireWire 2) SFP supports three classes of priority 3) SFP asynchronous stream packets offer better delay for packet video than isochronous service 4) SFP ensures fairness among like priority nodes and supports variable size packets VC039 Publication V. Chandramohan and K. Christensen, "A First Look at Wired Sensor Networks for Video Surveillance Systems," Proceedings of the High Speed Local Networks Workshop at the 27th IEEE Conference on Local Computer Networks, pp. 728-729, November 2002. VC040 20