Search results for: thread-level parallelism
3 A Fine-Grained Scheduling Algorithm for Heterogeneous Supercomputing Clusters Based on Graph Convolutional Networks and Proximal Policy Optimization
Authors: Jiahao Zhou, Lei Wang
Abstract:
In heterogeneous supercomputing clusters, designing an efficient scheduling strategy is pivotal for enhancing both energy efficiency and workflow execution performance. Dynamic allocation and reclamation of computing resources are critical to improving resource utilization. However, existing approaches often rely on fixed resource allocation for jobs prior to execution, retaining these resources until job completion. This static scheduling paradigm fails to account for the dynamic nature of job execution, leading to suboptimal performance. To address these challenges, this paper introduces the Heterogeneous Hierarchical Fine-grained Scheduling algorithm (HeHiFiS), leveraging Graph Convolutional Networks (GCN) and Proximal Policy Optimization (PPO). The proposed algorithm aims to mitigate prolonged workflow completion times and improve resource utilization in heterogeneous supercomputing environments. Specifically, GCNs are employed to extract task dependency features, which are integrated into state representations, while the PPO reinforcement learning algorithm is used to train a scheduling policy. This policy dynamically adjusts scheduling decisions in real-time based on the evolving states of tasks and resources. To evaluate the effectiveness of HeHiFiS, a heterogeneous scheduling simulation platform was developed. Experimental results demonstrate that HeHiFiS, through the incorporation of resource inheritance and intra-task parallelism mechanisms, significantly enhances resource utilization. Compared to existing scheduling algorithms, HeHiFiS achieves over a 50% improvement in both job completion time and response performance metrics, showcasing its efficacy in dynamic and heterogeneous computing environments.
Keywords: Heterogeneous, Dynamic Scheduling, Graph Convolutional Networks, Proximal Policy Optimization.
Procedia APA BibTeX Chicago EndNote Harvard JSON MLA RIS XML ISO 690 PDF Downloads 1842 Performance Analysis and Optimization for Diagonal Sparse Matrix-Vector Multiplication on Machine Learning Unit
Authors: Qiuyu Dai, Haochong Zhang, Xiangrong Liu
Abstract:
Efficient matrix-vector multiplication with diagonal sparse matrices is pivotal in a multitude of computational domains, ranging from scientific simulations to machine learning workloads. When encoded in the conventional Diagonal (DIA) format, these matrices often induce computational overheads due to extensive zero-padding and non-linear memory accesses, which can hamper the computational throughput, and elevate the usage of precious compute and memory resources beyond necessity. The ’DIA-Adaptive’ approach, a methodological enhancement introduced in this paper, confronts these challenges head-on by leveraging the advanced parallel instruction sets embedded within Machine Learning Units (MLUs). This research presents a thorough analysis of the DIA-Adaptive scheme’s efficacy in optimizing Sparse Matrix-Vector Multiplication (SpMV) operations. The scope of the evaluation extends to a variety of hardware architectures, examining the repercussions of distinct thread allocation strategies and cluster configurations across multiple storage formats. A dedicated computational kernel, intrinsic to the DIA-Adaptive approach, has been meticulously developed to synchronize with the nuanced performance characteristics of MLUs. Empirical results, derived from rigorous experimentation, reveal that the DIA-Adaptive methodology not only diminishes the performance bottlenecks associated with the DIA format but also exhibits pronounced enhancements in execution speed and resource utilization. The analysis delineates a marked improvement in parallelism, showcasing the DIA-Adaptive scheme’s ability to adeptly manage the interplay between storage formats, hardware capabilities, and algorithmic design. The findings suggest that this approach could set a precedent for accelerating SpMV tasks, thereby contributing significantly to the broader domain of high-performance computing and data-intensive applications.
Keywords: Adaptive method, DIA, diagonal sparse matrices, MLU, sparse matrix-vector multiplication.
Procedia APA BibTeX Chicago EndNote Harvard JSON MLA RIS XML ISO 690 PDF Downloads 4511 Custom Hardware for Accelerating Machine Learning with Systolic Arrays and 32-Bit Floating Point Compute
Authors: Pravallika Anchuri, Thanvith Raghavendran Prithveendran
Abstract:
The project is dedicated to elevating machine learning performance by exploring custom hardware designs to significantly enhance computational efficiency. The primary aim is to implement a bespoke system leveraging systolic arrays within the Reduced Instruction Set Computer - V (RISC-V) Instruction Set Architecture, tailored specifically to accelerate matrix computations. A crucial aspect is the addition of a 32-bit floating-point feature to the Intel NIOS V, enhancing its capabilities. This project involves the design and integration of specialized hardware architecture using Field Programmable Gate Array (FPGA) and Application Specific Integrated Circuit (ASIC) technologies. The focus lies in optimizing machine learning tasks, showcased through performance evaluations across various matrix sizes like 4x4, 8x8, and 16x16, both with and without custom IP. Experimental analysis demonstrates substantial speed improvements, highlighting the advantages of this custom-designed system over traditional CPUs and GPUs, particularly with the inclusion of the 32-bit floating-point feature along with 16-bit and 8-bit floating point in the Intel NIOS V. These findings suggest promising advancements in accelerating machine learning capabilities across diverse matrix dimensions. Future work will emphasize refining scalability and broader application, striving for optimized performance across various datasets and complex machine learning models. Strategies involve enhancing parallelism by employing multiple systolic arrays concurrently. For a more practical setup, the integration of a sophisticated caching system becomes crucial to simultaneously load weights, biases, and input data while maintaining consistency. As the custom CPU's complexity grows, manual assembly programming becomes less feasible. Despite the promising outcomes, the current design offers ample opportunities for expansion to augment functionality and performance in matrix computations across different dimensions and sizes, notably with the enriched 32-bit floating-point feature integrated into the Intel NIOS V architecture.
Keywords: RISC-V processor, 32-bit floating point compute, AI accelerator, custom AI hardware, computer architecture.
Procedia APA BibTeX Chicago EndNote Harvard JSON MLA RIS XML ISO 690 PDF Downloads 166