You are on page 1of 12

ESCUELA TÉCNICA SUPERIOR DE INGENIEROS

DE TELECOMUNICACIÓN

Characterization system for Network on


Chip (NoC) architectures with QoS.

Master Thesis

Rayco Hernández Moreno


2

Introduction
• Goal: Design and write a Simulator for NoC.
• What's NoC? Network on chip.

NoC 5 main characteristic:


* Topology:
* Switching:
* Routing:
* Flow Control:
* Buffering:
* Arbitration:

Characterization
Selecting the appropriate parameters
Environment
3

Steps
4

Specification
Develop a basic characterization system for NoC.
Modular system that allows enlarging the range of characterized NoC.
Charateristic Description
Topology Implement 2D-Mesh. Supports Torus, Folded-Torus.
Routing Implement X-Y. Support algorithm: deterministic, oblivious y adaptative.
Switching Wormhole.
Flow Control Credits.
Memory allocation Ports and Virtual channels.
QoS With QoS. GT (Guaranteed Traffic).
Without QoS. BE (Best-Effort).
Allocation Independent allocators. Weighted round-robin arbiters.

Traffics Modular traffic. Supports many possibilities.

Outputs Behavioral Outputs. Latency, Throughput.


5

Implementation Outputs
long int num_flits;
Input parameters long int num_flits_gt;
int sim_id;
long int num_flits_be;
int BE_VCs;
double average_latency;
int GT_VCs; double average_latency_gt;
int dim;
Simulation double average_latency_be;
int MAX_VC_flit; long int num_pack;
float packet_insertion_rate; long int num_pack_gt;
float qos_insertion_rate; long int num_pack_be;
bool numeric_data; double pack_average_latency;
cycle final_cycle; double pack_average_latency_gt;
int flits_per_packet; double pack_average_latency_be;
int fsel; long int global_accepted_packets;
int farb; long int global_total_packets;

int fsel_route; long int global_accepted_packets_be;

int fselout; long int global_accepted_packets_gt;

int ftraffic; float accepted_PIR;


6

run_sim.h C++
7

Modularity
8

Events Final Map of events

Batch Allocation
9

Verification
10

Example
QoS IR Dim VC size Packet size BE/GT Weight BE/GT VCs Cycles/WarmUp

50% 3 4 15 1/8 2/2 1M/500k

Latency
300 average_latency average_latency_gt
250 average_latency_be
200
Latency

150
100
Saturation: More GT
50
0
0 0,1 0,2 0,3 0,4
Accepted Traffic
11

Example
Ratio Throughput
BE GT 0,45

1 0,4
A
0,35
c 0,8

Accepted Traffic
0,3
c 0,6
R
e 0,25
a 0,4
p 0,2
t
t 0,2
0,15
i
a 0
o 0,1
n
0,01
0,2
0,22
0,24

0,05
0,26

c
0,28
0,3
0,33
0,38
0,45
0,55
0,7
0,9
e 0
0 0,2 0,4 0,6 0,8 1

Injection rate Injection Rate


12

Conclusion
Not a final system. Base System. Usability lacks. But…

Característica Booksim PopNet My Work


Interconnections General Interconnection NoC NoC
Goal Behavioral Behavioral / Power Behavioral
Design Space Big NoC(Small) NoC(few implemented)

Modularity Close. Close. Modular System

Core Cycles Events Events


Flexibility. Low Low. Need redesign. Good
Traffic Gen Common Common Supported per Node
QoS support NO. NO. YES.
Allocation Batch Allocation Batch Allocation Independent Allocation

Numbers
Total Physical Source Lines of Code (SLOC) 8,835
Development Effort Estimate, Person-Years (Person-Months) 4.10 (49.18)
Embedded COCOMO model

You might also like