[Paper Review] Power and Execution Time Measurement Methodology for SDF Applications on FPGA-based MPSoCs
This paper presents a low-cost, minimally invasive measurement methodology for jointly analyzing execution time and dynamic power consumption of Synchronous Dataflow (SDF) applications on FPGA-based MPSoCs. By integrating a custom measurement controller in an FPGA and using low-resolution ADCs on a low-cost board, the approach enables cycle-accurate timing and phase-level power measurements, demonstrating its effectiveness in optimizing mappings for image processing workloads like Sobel and JPEG encoders through Pareto analysis.
Timing and power consumption play an important role in the design of embedded systems. Furthermore, both properties are directly related to the safety requirements of many embedded systems. With regard to availability requirements, power considerations are of uttermost importance for battery operated systems. Validation of timing and power requires observability of these properties. In many cases this is difficult, because the observability is either not possible or requires big extra effort in the system validation process. In this paper, we present a measurement-based approach for the joint timing and power analysis of Synchronous Dataflow (SDF) applications running on a shared memory multiprocessor systems-on-chip (MPSoC) architecture. As a proof-of-concept, we implement an MPSoC system with configurable power and timing measurement interfaces inside a Field Programmable Gate Array (FPGA). Our experiments demonstrate the viability of our approach being able of accurately analyzing different mappings of image processing applications (Sobel filter and JPEG encoder) on an FPGA-based MPSoC implementation.
Motivation & Objective
- To address the challenge of limited observability in measuring dynamic power and execution time in embedded MPSoC systems, especially for battery-operated and real-time applications.
- To enable accurate, fine-grained measurement of timing and power at the phase level (read, compute, write) for SDF actors, which are critical for performance and energy optimization.
- To develop a low-cost, reusable measurement infrastructure that can be deployed on any FPGA-based MPSoC platform without requiring invasive hardware modifications.
- To support automated, repeatable analysis of different task mappings on MPSoC tiles to identify optimal trade-offs between execution time and power consumption.
- To validate the methodology using real image processing workloads (Sobel filter and JPEG encoder) and demonstrate its utility in generating Pareto-optimal mappings.
Proposed method
- A custom measurement controller is implemented in the FPGA fabric to instrument SDF actors with timing and power probes, replacing trigger signals with NOP operations to preserve original behavior.
- The measurement system uses a low-cost ADC-based power measurement setup connected to the power rail, enabling dynamic power capture with minimal hardware overhead.
- Execution time is measured at cycle resolution by inserting timestamping logic at the start and end of each actor phase (read, compute, write), synchronized with the controller.
- Power measurements are taken during each phase using a 12-bit ADC with a sampling rate of 6.25 Hz, sufficient for phase-level analysis despite low resolution.
- The system supports both static and dynamic task scheduling; in the evaluation, static scheduling was used to explore different core mappings on a quad-core MPSoC.
- A Pareto chart is generated from the collected data to visualize trade-offs between end-to-end latency and power consumption across different task-to-core mappings.
Experimental results
Research questions
- RQ1Can a low-cost, minimally invasive measurement system accurately capture dynamic power and execution time at the phase level for SDF applications on an FPGA-based MPSoC?
- RQ2How does the choice of task mapping across multiple processing elements affect the joint timing and power consumption of SDF applications?
- RQ3To what extent can the proposed methodology support automated, data-driven optimization of SDF application mappings for energy and performance?
- RQ4What is the impact of shared memory contention and inter-task dependencies on the measured timing and power behavior of SDF applications?
- RQ5How does the measurement resolution of the low-cost ADC affect the accuracy and granularity of power measurements at the phase level?
Key findings
- The methodology enables cycle-accurate timing measurement of SDF actor phases with minimal impact on the original application behavior, achieved by replacing trigger probes with NOP operations.
- Power measurements at the phase level (read, compute, write) were successfully captured using a low-cost ADC-based setup, with average power values ranging from 0.54 W to 0.68 W depending on the actor and mapping.
- Mapping 1 of the Sobel and JPEG encoder SDFGs achieved the lowest end-to-end latency (35,963 cycles for Sobel, 294,906 for JPEG) but incurred the highest power consumption due to high processor utilization.
- Mapping 7, which used only two cores, reduced power consumption but increased latency to over 40,000 cycles for the Sobel filter, demonstrating a clear energy-latency trade-off.
- The Pareto analysis revealed that mappings 2, 5, and 6 exhibited worse performance due to contention and lower priority scheduling of faster SDFG actors, leading to increased waiting times.
- The approach is most effective at phase-level granularity; higher-resolution measurement devices could further improve accuracy for sub-phase analysis.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.