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 条
  • [21] An Incremental Rule Induction Algorithm Based on Ordering Relations
    Jia, Xiuyi
    Shang, Lin
    Chen, Jiajun
    Dai, Xinyu
    [J]. ROUGH SETS AND KNOWLEDGE TECHNOLOGY, PROCEEDINGS, 2009, 5589 : 168 - 175
  • [22] A Rule-based Greedy Algorithm to Solve Stowage Planning Problem
    Rahsed, D. M.
    Gheith, M. S.
    Eltawil, A. B.
    [J]. 2018 IEEE INTERNATIONAL CONFERENCE ON INDUSTRIAL ENGINEERING AND ENGINEERING MANAGEMENT (IEEE IEEM), 2018, : 437 - 441
  • [23] A Low Complexity Greedy Algorithm for Dynamic Subarrays in mmWave MIMO Systems
    Xu, Ke
    Zheng, Fu-Chun
    Cao, Pan
    Xu, Hongguang
    Zhu, Xu
    [J]. 2019 IEEE 90TH VEHICULAR TECHNOLOGY CONFERENCE (VTC2019-FALL), 2019,
  • [24] Modified Greedy Permutation Algorithm for Low Complexity Encoding in LDPC Codes
    Rajasekar, B.
    Logashanmugam, E.
    [J]. 2014 INTERNATIONAL CONFERENCE ON CONTROL, INSTRUMENTATION, COMMUNICATION AND COMPUTATIONAL TECHNOLOGIES (ICCICCT), 2014, : 336 - 339
  • [25] An optimality testing algorithm for a decoded codeword of binary block codes and its computational complexity
    Tang, YS
    Kasami, T
    Fujiwara, T
    [J]. APPLIED ALGEBRA, ALGEBRAIC ALGORITHMS AND ERROR-CORRECTING CODES, PROCEEDINGS, 1999, 1719 : 201 - 210
  • [26] Computational complexity reduction of predictor based least squares algorithm and its numerical property
    Wang, YH
    Ikeda, K
    Nakayama, K
    [J]. ICICS - PROCEEDINGS OF 1997 INTERNATIONAL CONFERENCE ON INFORMATION, COMMUNICATIONS AND SIGNAL PROCESSING, VOLS 1-3: THEME: TRENDS IN INFORMATION SYSTEMS ENGINEERING AND WIRELESS MULTIMEDIA COMMUNICATIONS, 1997, : 1203 - 1207
  • [27] On the computational complexity of the empirical mode decomposition algorithm
    Wang, Yung-Hung
    Yeh, Chien-Hung
    Young, Hsu-Wen Vincent
    Hu, Kun
    Lo, Men-Tzung
    [J]. PHYSICA A-STATISTICAL MECHANICS AND ITS APPLICATIONS, 2014, 400 : 159 - 167
  • [29] A Rule-Based Algorithm and Its Specializations for Measuring the Complexity of Software in Educational Digital Environments
    Gorchakov, Artyom V.
    Demidova, Liliya A.
    Sovietov, Peter N.
    [J]. COMPUTERS, 2024, 13 (03)
  • [30] Computational complexity analysis of selective breeding algorithm
    Chandrasekaran, M.
    Sriramya, P.
    Parvathavarthini, B.
    Saravanamanikandan, M.
    [J]. ADVANCED MANUFACTURING RESEARCH AND INTELLIGENT APPLICATIONS, 2014, 591 : 172 - +