performance characterization and architecture exploration of picoradio data link layer mei xu and...

25
Performance Characterization and Architecture Exploration of PicoRadio Data Link Layer Mei Xu and Rahul Shah EE249 Project Fall 2001 Mentor: Roberto Passerone

Upload: may-stevenson

Post on 03-Jan-2016

213 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Performance Characterization and Architecture Exploration of PicoRadio Data Link Layer Mei Xu and Rahul Shah EE249 Project Fall 2001 Mentor: Roberto Passerone

Performance Characterization and Architecture Exploration of PicoRadio Data Link Layer

Mei Xu and Rahul ShahEE249 Project

Fall 2001Mentor: Roberto Passerone

Page 2: Performance Characterization and Architecture Exploration of PicoRadio Data Link Layer Mei Xu and Rahul Shah EE249 Project Fall 2001 Mentor: Roberto Passerone

Project Description Complete the data link layer functional

description in VCC (initialization & maintenance blocks)

Develop target architecture platforms for implementation

Use VCC Architectural Services to estimate performance on different architectures

Identify an architecture that is suitable for the implementation of PicoNode III

Page 3: Performance Characterization and Architecture Exploration of PicoRadio Data Link Layer Mei Xu and Rahul Shah EE249 Project Fall 2001 Mentor: Roberto Passerone

Motivation Identify missed events Estimate system-level performance Provide data on the usage of

processors, buses, and other shared devices

Provide idea of potential target architectures and their characteristics

Page 4: Performance Characterization and Architecture Exploration of PicoRadio Data Link Layer Mei Xu and Rahul Shah EE249 Project Fall 2001 Mentor: Roberto Passerone

Data Link Layer – Major Blocks

Initialization & Maintenance Block Local Address Manager Neighbor Search Block Control Message Packetization Block Control Message Dispatcher Transmit Data Path Receive Data Path Transmit/Receive Controller Medium Access Control (MAC)

Control Data

Page 5: Performance Characterization and Architecture Exploration of PicoRadio Data Link Layer Mei Xu and Rahul Shah EE249 Project Fall 2001 Mentor: Roberto Passerone

Data Link Layer Behavior

LocalAddrMem

Netw

orkSearch

Netw

orkResult

Network Search Nb

NbLoc

NbStatus

NbLM

NbSize

NbAddr

FromMngr

ToMngr

FromRX

ToMsg

Local Info Processing

AddrSpace

Location

NumAvail

Assign

Local Addr Manager

Rand

RandNumAssigned

UniformPulses

StartT

TExpTimer

Timer_

Read

WriteRNG

clock

MyTimer

NW

_Search

From_N

W

From

_Phy

To_

NW

NW

_Res

ult

To_Phy

Node B

Assign

ToD

P

Fro

mP

roc

Init & Mnt Manager

StartTimer

TimerExp

StartInitMnt

AssignedToMsg

Fro

mD

PC

ntrl

Star

t

Init & Maint Timer

SetChl

ToT

XD

ataP

ath

FromRXTXCtrl

From

Init

MESSAGE

From

Mai

nten

ance

RX

From

Phys

ical

Lay

e

ToN

etwork

ToN

L

ToControlRX Data Path

TX

ToP

hyL

ayer

From

Net

wor

k

From

Mes

sage

TXReq

TXAck

TX Data Path

TXAskPermit

Permit

Ask

MA

C

Cha

nnel

Bac

koff

SetC

hann

el

Ask

ToT

X

Ask

ToR

X

TX

Don

e

RX

Don

e

RXGotMsg

FromM

anager

ToM

sg

TXRX Controller

CtrlT

imer

Tim

erExpired

ToM

anager

Cnt

rlT

ime

Exp

ired

Timer Controller

MyQT13_inst

MyQT11_inst

MyQT8_inst

MyQT3_inst

MyQT16_inst

MyQT7_inst

MyQT10_inst MyQT12_inst

MyQT14_inst

MyQT5_inst

MyQT2_inst

MyQT6_inst

MyQT1_inst

MyQT9_inst

MyQT4_inst TXTimer

MyQT15_inst

Page 6: Performance Characterization and Architecture Exploration of PicoRadio Data Link Layer Mei Xu and Rahul Shah EE249 Project Fall 2001 Mentor: Roberto Passerone

Basic Y-Chart

Behavior Architecture

Mapping

Flow to implementation

•Describe & verify behavior•Describe architectures•Explore HW/SW design tradeoffs•Integrated flow to implementation

Page 7: Performance Characterization and Architecture Exploration of PicoRadio Data Link Layer Mei Xu and Rahul Shah EE249 Project Fall 2001 Mentor: Roberto Passerone

The VCC Design Flow

Page 8: Performance Characterization and Architecture Exploration of PicoRadio Data Link Layer Mei Xu and Rahul Shah EE249 Project Fall 2001 Mentor: Roberto Passerone

Target Architectures

Architecture 0 – ASIC only Architecture 1 – CPU only Architecture 2 – ASIC and CPU

(hybrid)

Page 9: Performance Characterization and Architecture Exploration of PicoRadio Data Link Layer Mei Xu and Rahul Shah EE249 Project Fall 2001 Mentor: Roberto Passerone

Architecture 1:ARM CPU Only

Page 10: Performance Characterization and Architecture Exploration of PicoRadio Data Link Layer Mei Xu and Rahul Shah EE249 Project Fall 2001 Mentor: Roberto Passerone

Architecture

ARM7TDMI

TDMI_DataBus

TDMI_InterruptBus

eCos

SimpleMemoryMemor

y

ARM 7 CoreeCos RTOS – Round RobinTime Sliced BusSimple Memory

Page 11: Performance Characterization and Architecture Exploration of PicoRadio Data Link Layer Mei Xu and Rahul Shah EE249 Project Fall 2001 Mentor: Roberto Passerone

CPU Utilization vs. Clock Speed

Loss of events

Page 12: Performance Characterization and Architecture Exploration of PicoRadio Data Link Layer Mei Xu and Rahul Shah EE249 Project Fall 2001 Mentor: Roberto Passerone

CPU Latency vs. Clock Speed

Page 13: Performance Characterization and Architecture Exploration of PicoRadio Data Link Layer Mei Xu and Rahul Shah EE249 Project Fall 2001 Mentor: Roberto Passerone

CPU Utilization at 100khz

Page 14: Performance Characterization and Architecture Exploration of PicoRadio Data Link Layer Mei Xu and Rahul Shah EE249 Project Fall 2001 Mentor: Roberto Passerone

Architecture 2:ARM CPU + ASIC

Page 15: Performance Characterization and Architecture Exploration of PicoRadio Data Link Layer Mei Xu and Rahul Shah EE249 Project Fall 2001 Mentor: Roberto Passerone

Architecture

ARM7TDMI

TDMI_DataBus

TDMI_InterruptBus

ASIC eCos

SimpleMemoryMemor

y

ARM 7 CoreeCos RTOS – Round RobinASICTime Sliced BusSimple Memory

Page 16: Performance Characterization and Architecture Exploration of PicoRadio Data Link Layer Mei Xu and Rahul Shah EE249 Project Fall 2001 Mentor: Roberto Passerone

Mapping

Page 17: Performance Characterization and Architecture Exploration of PicoRadio Data Link Layer Mei Xu and Rahul Shah EE249 Project Fall 2001 Mentor: Roberto Passerone

Mapping of Major Blocks

Initialization & Maintenance Block Local Address Manager Neighbor Search Block Control Message Packetization Block Control Message Dispatcher Transmit Data Path Receive Data Path Transmit/Receive Controller Medium Access Control (MAC)

ASIC ARM

Page 18: Performance Characterization and Architecture Exploration of PicoRadio Data Link Layer Mei Xu and Rahul Shah EE249 Project Fall 2001 Mentor: Roberto Passerone

CPU Utilization vs. Clock Speed

Loss of events

Page 19: Performance Characterization and Architecture Exploration of PicoRadio Data Link Layer Mei Xu and Rahul Shah EE249 Project Fall 2001 Mentor: Roberto Passerone

CPU Latency vs. Clock Speed

Page 20: Performance Characterization and Architecture Exploration of PicoRadio Data Link Layer Mei Xu and Rahul Shah EE249 Project Fall 2001 Mentor: Roberto Passerone

CPU Utilization at 10kHz

Page 21: Performance Characterization and Architecture Exploration of PicoRadio Data Link Layer Mei Xu and Rahul Shah EE249 Project Fall 2001 Mentor: Roberto Passerone

RTOS Gantt Chart (5kHz)

Tx and Rx block take large time

Page 22: Performance Characterization and Architecture Exploration of PicoRadio Data Link Layer Mei Xu and Rahul Shah EE249 Project Fall 2001 Mentor: Roberto Passerone

Some Observations Very bursty system since nodes are

mostly sleeping High peak to average load Low resource utilization Power down of resources necessary

Control Path better suited to hardware

Data Path better suited to software

Page 23: Performance Characterization and Architecture Exploration of PicoRadio Data Link Layer Mei Xu and Rahul Shah EE249 Project Fall 2001 Mentor: Roberto Passerone

Conclusions Hybrid Architecture vs. only CPU:

Lower clock speed needed Will result in lower power

consumption Hybrid Architecture vs. only ASIC:

Higher latency More flexibility

Page 24: Performance Characterization and Architecture Exploration of PicoRadio Data Link Layer Mei Xu and Rahul Shah EE249 Project Fall 2001 Mentor: Roberto Passerone

Possible Improvements to VCC Native support for power

performance estimation Interface with network simulators

to simulate large networks Runtime linking Trace driven simulations

Better characterization of architectural resources

Page 25: Performance Characterization and Architecture Exploration of PicoRadio Data Link Layer Mei Xu and Rahul Shah EE249 Project Fall 2001 Mentor: Roberto Passerone

Future Work Do a power performance

estimation Simulate the whole node –

application, network & data link layer

Design power manager and estimate node performance