Computational Complexity of Allow Rule Ordering and Its Greedy Algorithm

被引:1
|
作者
Fuchino, Takashi [1 ]
Harada, Takashi [2 ]
Tanaka, Ken [1 ]
Mikawa, Kenji [3 ]
机构
[1] Kanagawa Univ, Grad Sch Sci, Yokohama 2218686, Japan
[2] Kochi Univ Technol, Sch Informat, Kami 7828502, Japan
[3] Maebashi Inst Technol, Dept Life Engn, Maebashi 3710816, Japan
关键词
packet classification; dependent rules; rule ordering; NP-hard;
D O I
10.1587/transfun.2022DMP0006
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Packet classification is used to determine the behavior of incoming packets in network devices according to defined rules. As it is achieved using a linear search on a classification rule list, a large number of rules will lead to longer communication latency. To solve this, the problem of finding the order of rules minimizing the latency has been studied. Misherghi et al. and Harada et al. have proposed a problem that relaxes to policy-based constraints. In this paper, we show that the Relaxed Optimal Rule Ordering (RORO) for the allowlist is NP-hard, and by reducing from this we show that RORO for the general rule list is NP-hard. We also propose a heuristic algorithm based on the greedy method for an allowlist. Furthermore, we demonstrate the effectiveness of our method using ClassBench, which is a benchmark for packet classification algorithms.
引用
收藏
页码:1111 / 1118
页数:8
相关论文
共 50 条
  • [1] The Computational Complexity of Weighted Greedy Matching
    Deligkas, Argyrios
    Mertzios, George B.
    Spirakis, Paul G.
    [J]. THIRTY-FIRST AAAI CONFERENCE ON ARTIFICIAL INTELLIGENCE, 2017, : 466 - 472
  • [2] A COMBINED QUANTUM ALGORITHM AND ITS COMPUTATIONAL COMPLEXITY
    Iriyama, Satoshi
    [J]. INFINITE DIMENSIONAL ANALYSIS, QUANTUM PROBABILITY AND RELATED TOPICS, IDAQP 2024, 2024, : 103 - 112
  • [3] Reliability of Schoof algorithm and its computational complexity
    Kinakh, Iaroslav
    Iakymenko, Ihor
    [J]. EXPERIENCE OF DESIGNING AND APPLICATION OF CAD SYSTEMS IN MICROELECTRONICS, 2009, : 107 - 107
  • [4] Reliability of RSA algorithm and its computational complexity
    Karpinskyy, M
    Kinakh, Y
    [J]. IDAACS'2003: PROCEEDINGS OF THE SECOND IEEE INTERNATIONAL WORKSHOP ON INTELLIGENT DATA ACQUISITION AND ADVANCED COMPUTING SYSTEMS: TECHNOLOGY AND APPLICATIONS, 2003, : 494 - 496
  • [5] On Quantum Algorithm for Binary Search and Its Computational Complexity
    Iriyama, S.
    Ohya, M.
    Volovich, I. V.
    [J]. OPEN SYSTEMS & INFORMATION DYNAMICS, 2015, 22 (03):
  • [6] QUANTUM ALGORITHM FOR PROTEIN FOLDING AND ITS COMPUTATIONAL COMPLEXITY
    Iriyama, S.
    Ohya, M.
    Yamato, I.
    [J]. QUANTUM BIO-INFORMATICS V, 2013, 30 : 193 - 202
  • [7] A greedy classification algorithm based on association rule
    Thabtah, F. A.
    Cowling, P. I.
    [J]. APPLIED SOFT COMPUTING, 2007, 7 (03) : 1102 - 1111
  • [8] A note on the computational complexity of chain rule differentiation
    Naumann, U.
    [J]. OPTIMIZATION METHODS & SOFTWARE, 2023,
  • [9] REDUCED-COMPLEXITY GREEDY DISTRIBUTED INFORMATION BOTTLENECK ALGORITHM
    Steiner, Steffen
    Kuehn, Volker
    Stark, Maximilian
    Bauch, Gerhard
    [J]. 2021 IEEE STATISTICAL SIGNAL PROCESSING WORKSHOP (SSP), 2021, : 361 - 365
  • [10] On the Computational Complexity of Bongartz's Algorithm
    Mroz, Andrzej
    [J]. FUNDAMENTA INFORMATICAE, 2013, 123 (03) : 317 - 329