aiphs: adaptive profiling hardware sub-system

1
--> Local Memory Bus --> Fast Simplex Link --> AMBA APB, AHB, AXI --> Fast Simplex Link --> AMBA APB, AXI --> Event Monitor --> Time Monitor GM Interface Library Nucleus Library LIBRARY Target Bus Adapter Library GM Interface Library Nucleus Library Target Bus Adapter Library LEON3 LEON3 Ethernet MAC LEON3 AHB/APB Bridge Memory Controller PHY AMBA AHB AMBA APB UART UART - USB SDRAM S1 S2 S3 LEON3 ARM ARM Memory Controller UART Controller MicroBlaze USB SDRAM ARM ARM Memory Controller S2 S3 S5 S4 MicroBlaze S1 S6 AXI Controller mailbox S0 Target Bus Adapter GM Interface Nucleus SNIFFER LEON3 PLATFORM MICROBLAZE PLATFORM SYSTEM BEHAVIOUR Actual implementation of AIPHS library, that contains elements to target reconfigurable platforms based on Xilinx IP-Cores and Gaisler IP-Cores. Proposed profiling technique follows the approach of runtime bus sampling. Event monitor: strobe generation (ld_ac_event) during access on specified address range (delimited by sig_out_inf and sig_out_sup). Time monitor: counter activated by read operation (during_read) and stopped by write operation (during_write), both on specified address (0x808). SYSTEM DESCRIPTION OVERVIEW Monitoring a system during its life cycle can provide useful information to trace profiles of behavior at different level of granularity. This operation can be the starting point to drive different actions, such as the reconfiguration of the platform or a change in the scheduling policy. In the area of Embedded SoC a monitoring system should be customizable, since different behaviors can be required to be analyzed. Profiling systems on reconfigurable logic offer an interesting perspective to look for this characteristic. 1) 2) 3) This demo presents AIPHS, a library of hardware elements oriented to support the develop- ment of customized monitoring solutions. The use of AIPHS will be shown by illustrating: --> a customization for stalls identification in a message passing scenario --> a customization for bus utilization monitoring in a symmetric multi-processing system scenario (based on four Leon3 running a custom Linux kernel) PROPOSED WORK MOTIVATIONS AIPHS IS A LIBRARY OF HARDWARE ELEMENTS FOR RECONFIGURABLE PLATFORMS TO SUPPORT THE DEVELOPMENT OF MONITORING SOLUTIONS CUSTOMIZED TO PROFILE THE RUNTIME BEHAVIOUR OF A SYSTEM, WITHOUT INTRODUCING SOFTWARE OVERHEAD. AIPHS AdaptIve Profiling Hardware Sub-system G. Valente, A. Bufalino, V. Muttillo, M. Santic, L. Pomante, M. Faccio, F. Federici Main Contacts: [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], UNIVERSITA’ degli S TUDI dell’ AQUILA - C ENTER of E XCELLENCE D EWS ( I TALY) http://dews.univaq.it

Upload: vittoriano-muttillo

Post on 25-Jan-2017

51 views

Category:

Engineering


1 download

TRANSCRIPT

--> Local Memory Bus

--> Fast Simplex Link

--> AMBA APB, AHB, AXI

--> Fast Simplex Link

--> AMBA APB, AXI

--> Event Monitor

--> Time Monitor

GM InterfaceLibrary

NucleusLibrary

LIBRARY

Target Bus Adapter Library

GM InterfaceLibrary

NucleusLibrary

Target Bus Adapter Library

LEON3 LEON3

EthernetMAC LEON3 AHB/APB

Bridge

MemoryController

PHY

AMBA AHB

AMBA APB

UART

UART - USB

SDRAMS1 S2 S3

LEON3

ARM

ARM MemoryController

UARTController

MicroBlaze

USB

SDRAM

ARM

ARM

MemoryController

S2 S3

S5 S4MicroBlaze

S1

S6AXI

Controller mailb

oxS0

Target Bus Adapter

GM Interface Nucleus

SNIFFER

LEON3 PLATFORM

MICROBLAZE PLATFORM

SYSTEM BEHAVIOUR

Actual implementation of AIPHS library, that contains elements to target reconfigurable platforms based on Xilinx IP-Cores and Gaisler IP-Cores.

Proposed profiling technique follows the approach of runtime bus sampling.

Event monitor: strobe generation (ld_ac_event) during access on specified address range (delimited by sig_out_inf and sig_out_sup).

Time monitor: counter activated by read operation (during_read) and stopped by write operation (during_write), both on specified address (0x808).

SYSTEM DESCRIPTION

OVERVIEW

Monitoring a system during its life cycle can provide useful information to trace profiles of

behavior at different level of granularity.

This operation can be the starting point to drive different actions, such as the reconfiguration

of the platform or a change in the scheduling policy.

In the area of Embedded SoC a monitoring system should be customizable, since different

behaviors can be required to be analyzed. Profiling systems on reconfigurable logic offer an

interesting perspective to look for this characteristic.

1)

2)

3)

This demo presents AIPHS, a library of hardware elements oriented to support the develop-

ment of customized monitoring solutions. The use of AIPHS will be shown by illustrating:

--> a customization for stalls identification in a message passing scenario

--> a customization for bus utilization monitoring in a symmetric multi-processing system

scenario (based on four Leon3 running a custom Linux kernel)

PROPOSED WORKMOTIVATIONS

AIPHS IS A LIBRARY OF HARDWARE ELEMENTS FOR RECONFIGURABLE PLATFORMS TO SUPPORT THE DEVELOPMENT OF MONITORING SOLUTIONS CUSTOMIZED TO PROFILE THE RUNTIME BEHAVIOUR OF A SYSTEM, WITHOUT INTRODUCING SOFTWARE OVERHEAD.

AIPHS AdaptIve Profiling Hardware Sub-system

G. Valente, A. Bufalino, V. Muttillo, M. Santic, L. Pomante, M. Faccio, F. Federici

Main Contacts: [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected],

UNIVERSITA’ degli STUDI dell’AQUILA - CENTER of EXCELLENCE DEWS (ITALY)http://dews.univaq.it