Abstract
Application tasks are complex and diverse, requiring High Performance Computing (HPC) for effective resolution. However, computing efficiency varies significantly across different architectures because application tasks possess unique computing features. This paper proposes a method where Processor-Memory-Communication (PMC) resource requirements are perceived to determine the "operating grain," allowing the system to assign the best-matched architecture to the application. Using hypergraphs to describe both application structures and computing architectures, the system utilizes isomorphic principles to build super-mixed heterogeneous environments. Experimental results demonstrate that this reconfigurable architecture based on operator grain perception achieves high computing performance with low energy consumption.
Introduction
In the realm of High-Performance Computing (HPC), the "one-size-fits-all" approach to hardware architecture is reaching a technical wall. Modern applications are increasingly diverse, ranging from compute-intensive mathematical simulations to data-intensive big data analytics and communication-intensive distributed systems. Running these varied tasks on static architectures leads to significant inefficiencies.
The core problem addressed here is that the logical structure of a processor often dictates its effectiveness for a specific algorithm. For instance, a matrix multiplication that takes $O(n^3)$ time on a serial processor might be reduced to $O(n)$ on a specialized parallel structure. To overcome this, the authors propose a fluid, reconfigurable architecture that "perceives" the specific resource needs—the "grain"—of an application and dynamically reshapes its hardware logic to match.
Methodology: PMC Grain Analysis and Hypergraph Isomorphism
The proposed framework relies on PMC Grain Analysis, where PMC stands for Processor, Memory, and Communication. The system analyzes an application to determine its multi-dimensional profile, including computational intensity and data dependency patterns.
The TSM Model
To manage this transformation, the authors introduce the Calculating grain perception transformation model (TSM). This 7-tuple model governs the lifecycle of reconfiguration, from initial perception and decision-making to the final interconnection of hardware components.
Hypergraph Modeling
The mapping process is formalized using hypergraphs:
- Application Hypergraph (AH): Software tasks are modeled where nodes represent sub-algorithms and edges represent data dependencies.
- Architecture Hypergraph (GH): Available hardware resources (CPUs, GPUs, FPGAs) are modeled to show how components can be interconnected.
By applying the principle of hypergraph isomorphism, the system mathematically identifies a hardware sub-structure that matches the software's requirement structure. This "super-mixed" approach allows the architecture to combine different processing units into custom topologies, such as Torus or Mesh, specifically optimized for the sub-algorithm at hand.
Evaluation and Key Results
The architecture was evaluated using common algorithmic benchmarks, including K-Nearest Neighbor (KNN), Keyword Matching (Cmatch), and Bayesian algorithms, alongside a simulated "Travel Services" cloud workflow involving mapping, trip planning, and weather services.
Efficiency and Complexity
The primary insight is that "structure decides effectiveness." By matching the hardware structure to the algorithm's grain, the system can drastically reduce time complexity. In simulations of the Travel Services application, the authors compared a standard serial structure against various TSM configurations.
As shown in the efficiency comparison, the TSM models consistently outperformed serial and standard mesh architectures. Specifically, when the application was decomposed into four sub-clusters, the TSM4 configuration (which allocates four specific sub-structures) achieved the shortest execution time. Furthermore, the reconfigurable approach demonstrated superior load balancing, ensuring high utilization across all sub-parts of the system without creating bottlenecks.
Conclusion and Future Work
This research demonstrates that reconfigurable architectures based on grain perception can bridge the gap between diverse software requirements and static hardware limitations. By treating the hardware structure as a fluid resource that can be mathematically matched to an application's hypergraph, the system achieves significant gains in both speed and energy efficiency.
Future work will focus on increasing the automation of "grain" extraction. Currently, the perception phase requires significant pre-analysis. The authors aim to develop more intelligent, autonomous decision-making algorithms—potentially utilizing machine learning—to classify task requirements in real-time and build a more extensive library of optimized grain patterns.
Summary updated