講演抄録/キーワード |
講演名 |
2021-09-09 14:55
学習型インデックスの高速化とパケット転送への適用 ○樋口俊介・武政淳二・小泉佑揮(阪大)・田上敦士(KDDI総合研究所)・長谷川 亨(阪大) NS2021-65 |
抄録 |
(和) |
学習型インデックスは、キー・バリュー型データベースにおけるキーと対応するエントリの格納位置の関係を回帰モデルで再現するインデックス用のデータ構造である。筆者らは、学習型インデックスをIP のForwarding Information Base (FIB) に適用した学習型FIB を実現した。学習型FIB は、回帰モデルを用いて、入力IP アドレスに対応するFIB エントリの格納位置を予測し、回帰モデルの予測の誤差を補正するためにその予測位置の周辺を探索する2 つの工程から構成される。本稿では、これまでの実装を用いて計算時間を分析し、周辺探索の処理が検索時間の72%を占めることを明らかにした。さらに、周辺探索処理の時間が長い要因を調査し、分岐予測のミスが計算時間増加の要因の1つであることを明らかにした。さらに、学習型インデックスの高速化のため、分岐のない高速な学習型インデックスの実装法を設計した。高速化した実装を用いた評価の結果、以前の実装よりも周辺探索処理の時間が約1.5 倍高速化した。 |
(英) |
An emerging data structure, a learned index structure, which uses machine learning to associate key-position pairs in a key-value store. The authors have applied learned index structures to an forwarding information base (FIB) of IP, which is referred to as a learned FIB, in the previous work. The learned FIB consists of the following two phases: First, it predicts the position of the FIB entry corresponding to an input IP address by leveraging a machine learning regression model. Second, it searches around the predicted position for the FIB entry to correct errors caused by the regression model. In the present study, we reveal that the second phase accounts for 72 percent of the entire computation time, and one of significant causes of the long computation time is pipeline stalls due to branch misprediction. On the basis of the analysis, we design and implement the learned FIB without any loops and branches. The new implementation realizes approximately 1.5 times faster than our previous implementation. |
キーワード |
(和) |
Forwarding information base / パケット転送 / 最長一致検索 / Learned index / 学習型インデックス / / / |
(英) |
Forwarding information base / Forwarding / Longest prefix matching / Learned index / / / / |
文献情報 |
信学技報, vol. 121, no. 170, NS2021-65, pp. 48-53, 2021年9月. |
資料番号 |
NS2021-65 |
発行日 |
2021-09-02 (NS) |
ISSN |
Online edition: ISSN 2432-6380 |
著作権に ついて |
技術研究報告に掲載された論文の著作権は電子情報通信学会に帰属します.(許諾番号:10GA0019/12GB0052/13GB0056/17GB0034/18GB0034) |
PDFダウンロード |
NS2021-65 |
|