TY - GEN
T1 - PBC
T2 - 2020 IFIP Networking Conference and Workshops, Networking 2020
AU - Zhang, Chuwen
AU - Feng, Yong
AU - Song, Haoyu
AU - Zhang, Beichuan
AU - Wang, Yi
AU - Wan, Ying
AU - Xu, Wenquan
AU - Liu, Bin
N1 - Publisher Copyright:
© 2020 IFIP.
PY - 2020/6
Y1 - 2020/6
N2 - Name lookup based on the Longest Prefix Match (LPM) is a basic function in many network applications. Caching is usually used to speed up the lookups. However, caching prefixes for LPM has a unique challenge: one needs to guarantee a cached prefix is indeed the longest for correctness. To achieve this, existing solutions have to cache either the entire prefix triebranch or only the leaf nodes, which undermines cache utilization and thus reduce the hit ratio. In this paper, we propose PlusBitmap Caching (PBC), which associates a bitmap to each cached prefix to denote the existence or absence of any longer prefix in the main table. This bitmap not only guarantees the correctness of LPM lookup, but also minimizes the extra information stored in cache. Meanwhile, cache consistency for prefix updates can be efficiently maintained. Experimental results show that, compared with previous work, PBC increases cache hit ratio by 16% over a wide range of cache size, and exhibits a more steady performance when more non-leaf prefixes are hit or a prefix is hit by more different names. PBC is a general approach that can be applied to other LPM-based applications.
AB - Name lookup based on the Longest Prefix Match (LPM) is a basic function in many network applications. Caching is usually used to speed up the lookups. However, caching prefixes for LPM has a unique challenge: one needs to guarantee a cached prefix is indeed the longest for correctness. To achieve this, existing solutions have to cache either the entire prefix triebranch or only the leaf nodes, which undermines cache utilization and thus reduce the hit ratio. In this paper, we propose PlusBitmap Caching (PBC), which associates a bitmap to each cached prefix to denote the existence or absence of any longer prefix in the main table. This bitmap not only guarantees the correctness of LPM lookup, but also minimizes the extra information stored in cache. Meanwhile, cache consistency for prefix updates can be efficiently maintained. Experimental results show that, compared with previous work, PBC increases cache hit ratio by 16% over a wide range of cache size, and exhibits a more steady performance when more non-leaf prefixes are hit or a prefix is hit by more different names. PBC is a general approach that can be applied to other LPM-based applications.
UR - http://www.scopus.com/inward/record.url?scp=85090040332&partnerID=8YFLogxK
UR - http://www.scopus.com/inward/citedby.url?scp=85090040332&partnerID=8YFLogxK
M3 - Conference contribution
AN - SCOPUS:85090040332
T3 - IFIP Networking 2020 Conference and Workshops, Networking 2020
SP - 440
EP - 448
BT - IFIP Networking 2020 Conference and Workshops, Networking 2020
PB - Institute of Electrical and Electronics Engineers Inc.
Y2 - 22 June 2020 through 25 June 2020
ER -