RwHash: Rewritable Hash Table for Fast Network Processing with Dynamic Membership Updates

Tian Song, Yating Yang, Patrick Crowley

科研成果: 书/报告/会议事项章节会议稿件同行评审

5 引用 (Scopus)

摘要

Hash table is one of the most fundamental and critical data structures for membership query and maintenance. However, the performance of a standard hash table degrades greatly when the hash collision is large due to high load factor or unpredictable dynamic membership updates, especially per-packet updates in network processing. In this paper, we shape a hash table from the conventional slim-and-tall style to a wide-and-short style by facilitating an extension of logical cache block. Then, a cache aware hash table (CaHash) is given and explored in detail. Based on an observation that the operation sequences may be in a potential and probabilistic successive order, especially for network applications, a rewritable hash table (RwHash) is finally proposed, which provides two rewritable policies to dynamically move elements within a bucket when updating. Theoretical analysis shows that, no matter what load factor and collision are, RwHash can achieve near-optimal performance the same as the performance when a standard hash table in the case of no collision. Real experiments show that RwHash can achieve 4.10 times speedup in some parameter and even more with different configurations than a standard hash table in the case of heavy collisions. Our approaches are elegantly practical in implementation for both software and hardware.

源语言英语
主期刊名Proceedings - 2017 ACM/IEEE Symposium on Architectures for Networking and Communications Systems, ANCS 2017
出版商Institute of Electrical and Electronics Engineers Inc.
142-152
页数11
ISBN(电子版)9781509063864
DOI
出版状态已出版 - 30 6月 2017
活动13th ACM/IEEE Symposium on Architectures for Networking and Communications Systems, ANCS 2017 - Beijing, 中国
期限: 18 5月 201719 5月 2017

出版系列

姓名Proceedings - 2017 ACM/IEEE Symposium on Architectures for Networking and Communications Systems, ANCS 2017

会议

会议13th ACM/IEEE Symposium on Architectures for Networking and Communications Systems, ANCS 2017
国家/地区中国
Beijing
时期18/05/1719/05/17

指纹

探究 'RwHash: Rewritable Hash Table for Fast Network Processing with Dynamic Membership Updates' 的科研主题。它们共同构成独一无二的指纹。

引用此