Presentation is loading. Please wait.

Presentation is loading. Please wait.

1 High-performance packet classification algorithm for multithreaded IXP network processor Authors: Duo Liu, Zheng Chen, Bei Hua, Nenghai Yu, Xinan Tang.

Similar presentations


Presentation on theme: "1 High-performance packet classification algorithm for multithreaded IXP network processor Authors: Duo Liu, Zheng Chen, Bei Hua, Nenghai Yu, Xinan Tang."— Presentation transcript:

1 1 High-performance packet classification algorithm for multithreaded IXP network processor Authors: Duo Liu, Zheng Chen, Bei Hua, Nenghai Yu, Xinan Tang Presenter: Fang-Chen, Kuo Date: 2008/07/09 Publisher/Conf. : ACM Transactions on Embedded Computing Systems (TECS) 2008 Dept. of Computer Science and Information Engineering National Cheng Kung University, Taiwan R.O.C.

2 Rule #F1F2F3Action R1001010011Permit R2001100011Deny R301*100***Permit R4*** Permit

3 3 Classification Scheme 1. Apply a compression technique to RFC ’ s cross-producting tables to reduce the data redundancies; 2. Exploit the NPU architectural features to achieve high classification speed, especially at 10 Gbps or higher on Intel IXP 2800.

4 4 Reduction Tree (1) Phase 0 contains 6 chunks: chunk 0 uses the high 16 bits of source IP address, chunk 1 uses the low 16 bits of source IP address, chunk 2 uses the high 16 bits of destination IP address, chunk 3 uses the low 16 bits of destination IP address, chunk 4 uses source port, and chunk 5 uses destination port; Phase 1 contains 2 chunks: Chunk 0 (CPT X) of phase 1 is formed by combining chunk 0, 1, 4 of phase 0; Chunk 1 (CPT Y) of phase 1 formed by combining chunk 2, 3, 5 of phase 0; Phase 2 contains 1 chunk: Chunk 0 (CPT Z) of phase 2 is formed by combining the two chunks of phase 1.

5 5 Reduction Tree (2) SA_H16 SA_L16 SP DA_H16 DA_L16 DP CPT-X CPT_Y CPT_Z Phase_0Phase_1Phase_2

6 6 Bitmap-RFC

7 7 Data structure for Bitmap-RFC algorithm

8 8 Implementation Issues 1. Memory Space Reduction 2. Instruction Selection POP_COUNT 3. Multiplication Elimination 4. Data Allocation 5. Task partitioning 6. Latency Hiding

9 9 Experiment: Memory Requirement Rule #Memory Requirement of CPT and CCPT (MB)Total Memory Requirement (MB) X RFC X ’ B.-RFC Y RFC Y ’ B.-RFC Z RFC Z ’ B.-RFC RFCBitma p-RFC 570059.218.525.88.164.116.0149.943.4 805080.725.264.320.1127.739.9273.586.0 12K106.533.3106.333.2284.971.2498.6138.5 17K191.059.7185.057.8570.7178.4947.6296.7

10 10 Experiment: Classifying Rates (1) ClassifiersRFCBitmap-RFC ME #RatesME #Rates 1000327.17326.65 2000326.11325.74 3000326.58325.77

11 11 Experiment: Classifying Rates (2) 1ME2ME4ME8ME 10006.5412.8525.6533.35 20006.3812.7725.0933.33 30006.3812.7725.0933.33


Download ppt "1 High-performance packet classification algorithm for multithreaded IXP network processor Authors: Duo Liu, Zheng Chen, Bei Hua, Nenghai Yu, Xinan Tang."

Similar presentations


Ads by Google