Title :
ShmStreaming: A Shared Memory Approach for Improving Hadoop Streaming Performance
Author :
Longbin Lai ; Jingyu Zhou ; Long Zheng ; Huakang Li ; Yanchao Lu ; Feilong Tang ; Minyi Guo
Author_Institution :
Sch. of Inf. Security, Shanghai Jiao Tong Univ., Shanghai, China
Abstract :
The Map-Reduce programming model is now drawing both academic and industrial attentions for processing large data. Hadoop, one of the most popular implementations of the model, has been widely adopted. To support application programs written in languages other than Java, Hadoop introduces a streaming mechanism that allows it to communicate with external programs through pipes. Because of the added overhead associated with pipes and context switches, the performance of Hadoop streaming is significantly worse than native Hadoop jobs. We propose ShmStreaming, a mechanism that takes advantages of shared memory to realize Hadoop streaming for better performance. Specifically, ShmStreaming uses shared memory to implement a lockless FIFO queue that connects Hadoop and external programs. To further reduce the number of context switches, the FIFO queue adopts a batching technique to allow multiple key-value pairs to be processed together. For typical benchmarks of word count, grep and inverted index, experimental results show 20-30% performance improvement comparing to the native Hadoop streaming implementation.
Keywords :
batch processing (computers); public domain software; queueing theory; shared memory systems; Hadoop streaming performance improvement; Map-Reduce programming model; ShmStreaming; application programs; batching technique; context switches; external programs; grep; inverted index; lockless FIFO queue; multiple key-value pairs; shared memory approach; streaming mechanism; word count; Benchmark testing; Context; Data models; Educational institutions; Indexes; Java; Synchronization; Hadoop Streaming; Map-Reduce; Shared Memory;
Conference_Titel :
Advanced Information Networking and Applications (AINA), 2013 IEEE 27th International Conference on
Conference_Location :
Barcelona
Print_ISBN :
978-1-4673-5550-6
Electronic_ISBN :
1550-445X
DOI :
10.1109/AINA.2013.90