Title :
Latency Hiding in Multi-Threading and Multi-Processing of Network Applications
Author :
Guo, Xiaofeng ; Dai, Jinquan ; Li, Long ; Lv, Zhiyuan ; Chandra, Prashant R.
Author_Institution :
Google Inc., Mountain View
Abstract :
Network processors employ a multithreaded, chip-multiprocessing architecture to effectively hide memory latency and deliver high performance for packet processing applications. In such a parallel paradigm, when multiple threads modify a shared variable in the external memory, the threads should be properly synchronized such that the accesses to the shared variable are protected by critical sections. Therefore, in order to efficiently harness the performance potential of network processors, it is critical to hide the memory latency and synchronization latency in multi-threading and multiprocessing. In this paper, we present a novel program transformation used in the Intelreg Auto-partitioning C Compiler for IXP, which perform optimal placement of memory access instructions and synchronization instructions for effective latency hiding. Experimental results show that the transformation provides impressive speedup (up-to to 8.5x) and scalability (up- to 72 threads) of the performance for the real-world network application (a 10Gbps Ethernet Core/Metro Router).
Keywords :
data flow graphs; instruction sets; multi-threading; multiprocessing systems; network-on-chip; parallel architectures; program compilers; synchronisation; Intel Auto-partitioning C Compiler; chip-multiprocessing architecture; control flow graph; latency hiding; memory access instructions; multithreading; network processors; packet processing applications; program transformation; synchronization instructions; Application software; Delay; Optimizing compilers; Parallel architectures; Program processors; Programming; Protection; Random access memory; Scalability; Yarn;
Conference_Titel :
Parallel Architecture and Compilation Techniques, 2007. PACT 2007. 16th International Conference on
Conference_Location :
Brasov
Print_ISBN :
978-0-7695-2944-8
DOI :
10.1109/PACT.2007.4336218