Title :
Parallelization of tree-to-TLV serialization
Author :
Nakayama, Makoto ; Yamazaki, Kinya ; Tanaka, Shoji ; Kasahara, Hironori
Author_Institution :
Res. Labs., NTT DOCOMO, Inc., Japan
Abstract :
A serializer/deserializer (SerDe) is necessary to serialize a data object into a byte array and to deserialize in reverse direction. A SerDe that is used worldwide and runs quickly is the Protocol Buffer (ProtoBuf), which serializes a tree-structured data object into the Type-Length-Value (TLV) format. Acceleration of SerDe processing is beneficial because SerDes are used in various fields. This paper proposes a new method that accelerates the tree-to-TLV serialization through 2-way parallel processing called “parallelized serialization” and “parallelization with streaming”. Experimental results show that parallelized serialization with 4 worker threads achieves a 1.97 fold shorter serialization time than when using a single worker thread, and the combination of 2-way parallel processing achieves a 2.11 fold shorter output time than that for ProtoBuf when 4 worker threads, FileOutputStream and trees of 10,080 container nodes are used.
Keywords :
parallel processing; protocols; tree data structures; 2-way parallel processing; FileOutputStream; ProtoBuf; SerDe processing; TLV format; parallelization with streaming; parallelized serialization; protocol buffer; serializer-deserializer; tree-structured data object; tree-to-TLV serialization; type-length-value format; Acceleration; Arrays; Containers; Context; Instruction sets; Libraries; Parallel processing; Multi-Core; Parallel Processing; Serialization;
Conference_Titel :
Performance Computing and Communications Conference (IPCCC), 2014 IEEE International
Conference_Location :
Austin, TX
DOI :
10.1109/PCCC.2014.7017059