Introduction
This article serves as the editorial preface for a 2016 special issue of the International Journal of Parallel Programming. The collection of ten research papers featured in this issue addresses one of the most persistent challenges in modern computing: the transformation of sequential logic into efficient parallel execution. As hardware architectures continue to evolve toward multi-core, many-core, and reconfigurable systems, the software development paradigm must adapt to bridge the widening "productivity gap."
The Parallelization Challenge
The core problem identified by the editors is that while hardware is inherently parallel, writing parallel software remains significantly more difficult and less intuitive than traditional sequential programming. Historically, automatic instruction-level parallelism (ILP) provided performance gains without requiring developer intervention. However, modern architectures have reached the limits of ILP, necessitating new strategies to extract performance. The papers in this special issue tackle specific hurdles in this transition, including maintaining timing in real-time systems, managing data consistency in speculative execution, and reducing the overhead of software transactional memory (STM).
Methodological Diversity in Parallel Computing
The featured research spans a broad spectrum of solutions, reflecting the multifaceted nature of the parallelization problem:
- Hardware-Software Co-design: One study explores implementing pipelined AES-128 on reconfigurable hardware to balance security and performance.
- Emulation and Virtualization: The development of xKEMU, a cross-ISA (Instruction Set Architecture) kernelized parallel emulator, demonstrates how reusing existing components like QEMU and the Linux kernel can enhance emulation efficiency.
- Middleware and Frameworks: Extensions to MPJ Express are discussed, focusing on supporting hybrid and native communication for Java-based High-Performance Computing (HPC).
- Algorithmic Optimization: The use of "cooperative strategies" is proposed to subdivide complex optimization problems, such as Particle Swarm Optimization, into parallelizable sub-problems.
- Speculative Execution: Research into Parallel Discrete Event Simulation (PDES) utilizes global variables and rollback/recovery schemes to handle causality violations in complex simulations.
- Programming Models: The dSTEP model is introduced as a directive-based approach, allowing developers fine-grained control over data and computation distribution in hybrid memory environments.
- Compiler Analysis: Task-based runtimes are explored that automatically identify dependencies by analyzing read/write instructions and control flow, reducing the burden on the programmer.
Key Results and Insights
The special issue highlights several significant advancements:
- Performance Gains in Emulation: xKEMU achieved a performance improvement of approximately 1.24x on integer and memory tasks for x86 emulation compared to standard QEMU.
- Optimized Data Compression: The czip algorithm was introduced, utilizing adaptive prediction and multiway compression specifically for the redundancies found in climate data.
- Efficient Transactional Memory: The Purge-Rehab mechanism for STM demonstrated that eager validation can be competitive under contention, outperforming or matching existing implementations in several benchmarks.
- Hybrid Environment Management: A recurring theme is the necessity of managing hybrid environments (shared and distributed memory) and the importance of parallelizing legacy code without sacrificing analysability or timing guarantees, particularly in industrial contexts.
Conclusion
Despite the advancements presented, the editors acknowledge that parallel programming remains "unnatural" compared to sequential logic. The field continues to chase a rapidly evolving hardware landscape, necessitating ongoing research into hardware-agnostic approaches and cutting-edge applications. This special issue provides a snapshot of the diverse strategies currently being employed to overcome the barriers to efficient parallel execution.
Summary updated