Multi-Dimensional Range Encoding for Packet Classification in TCAM

碩士 === 國立成功大學 === 資訊工程學系碩博士班 === 98 === Packet classification is generally referred to the process of categorizing packets into flows in networking devices. All packets belonging to the same flow obey a pre-defined rule and are processed in a similar manner. Packet classification has wide applicatio...

Full description

Bibliographic Details
Main Authors: Chun-ILi, 李春億
Other Authors: Yeim-Kuan Chang
Format: Others
Language:en_US
Published: 2010
Online Access:http://ndltd.ncl.edu.tw/handle/01473579446082936051
id ndltd-TW-098NCKU5392114
record_format oai_dc
spelling ndltd-TW-098NCKU53921142016-04-22T04:22:57Z http://ndltd.ncl.edu.tw/handle/01473579446082936051 Multi-Dimensional Range Encoding for Packet Classification in TCAM 用於封包分類上的TCAM多維編碼技術 Chun-ILi 李春億 碩士 國立成功大學 資訊工程學系碩博士班 98 Packet classification is generally referred to the process of categorizing packets into flows in networking devices. All packets belonging to the same flow obey a pre-defined rule and are processed in a similar manner. Packet classification has wide applications such as unauthorized access prevention in firewalls and Quality of Service supported in Internet routers. The Classifier containing all the pre-defined rules are processed by the router for each incoming packet in order to find the best matching rule and take appropriate actions. However, the sizes of classifiers increase as quickly as the Internet traffic grows. Thus, how to reduce the memory usage for storing classifiers in routers is a very important problem. In this thesis, we focus on the range encoding problem in reducing the ternary content-addressable memory (TCAM) requirement. Existing range encoding schemes are usually 1-dimensional schemes that perform range encoding processes in the range fields independently. We propose an efficient 2-dimensional range encoding algorithm. The original 2-dimensional classifier is first divided into a set of elementary regions that will be mapped onto the vertices of a multi-dimensional hypercube. The elementary regions covered by each 2-D range can be also be mapped to a sub-cube in order to represent the 2-D range by only one ternary string. By using the proposed encoding algorithms, we can minimize the size of the hypercube. Our performance experiments on real-life classifiers show that the proposed 2-dimensional range encoding schemes uses less TCAM memory than the previously proposed 1-dimension-based schemes. Compared with the classifiers of 10k rules, our proposed schemes can reduce 18% ~ 25% TCAM memory usage than 1-Dimansional encoding scheme which has the best performance, and in classifiers of 5k rules, our proposed schemes can also reduce 20% ~ 25% TCAM memory usage. Yeim-Kuan Chang 張燕光 2010 學位論文 ; thesis 78 en_US
collection NDLTD
language en_US
format Others
sources NDLTD
description 碩士 === 國立成功大學 === 資訊工程學系碩博士班 === 98 === Packet classification is generally referred to the process of categorizing packets into flows in networking devices. All packets belonging to the same flow obey a pre-defined rule and are processed in a similar manner. Packet classification has wide applications such as unauthorized access prevention in firewalls and Quality of Service supported in Internet routers. The Classifier containing all the pre-defined rules are processed by the router for each incoming packet in order to find the best matching rule and take appropriate actions. However, the sizes of classifiers increase as quickly as the Internet traffic grows. Thus, how to reduce the memory usage for storing classifiers in routers is a very important problem. In this thesis, we focus on the range encoding problem in reducing the ternary content-addressable memory (TCAM) requirement. Existing range encoding schemes are usually 1-dimensional schemes that perform range encoding processes in the range fields independently. We propose an efficient 2-dimensional range encoding algorithm. The original 2-dimensional classifier is first divided into a set of elementary regions that will be mapped onto the vertices of a multi-dimensional hypercube. The elementary regions covered by each 2-D range can be also be mapped to a sub-cube in order to represent the 2-D range by only one ternary string. By using the proposed encoding algorithms, we can minimize the size of the hypercube. Our performance experiments on real-life classifiers show that the proposed 2-dimensional range encoding schemes uses less TCAM memory than the previously proposed 1-dimension-based schemes. Compared with the classifiers of 10k rules, our proposed schemes can reduce 18% ~ 25% TCAM memory usage than 1-Dimansional encoding scheme which has the best performance, and in classifiers of 5k rules, our proposed schemes can also reduce 20% ~ 25% TCAM memory usage.
author2 Yeim-Kuan Chang
author_facet Yeim-Kuan Chang
Chun-ILi
李春億
author Chun-ILi
李春億
spellingShingle Chun-ILi
李春億
Multi-Dimensional Range Encoding for Packet Classification in TCAM
author_sort Chun-ILi
title Multi-Dimensional Range Encoding for Packet Classification in TCAM
title_short Multi-Dimensional Range Encoding for Packet Classification in TCAM
title_full Multi-Dimensional Range Encoding for Packet Classification in TCAM
title_fullStr Multi-Dimensional Range Encoding for Packet Classification in TCAM
title_full_unstemmed Multi-Dimensional Range Encoding for Packet Classification in TCAM
title_sort multi-dimensional range encoding for packet classification in tcam
publishDate 2010
url http://ndltd.ncl.edu.tw/handle/01473579446082936051
work_keys_str_mv AT chunili multidimensionalrangeencodingforpacketclassificationintcam
AT lǐchūnyì multidimensionalrangeencodingforpacketclassificationintcam
AT chunili yòngyúfēngbāofēnlèishàngdetcamduōwéibiānmǎjìshù
AT lǐchūnyì yòngyúfēngbāofēnlèishàngdetcamduōwéibiānmǎjìshù
_version_ 1718229807396814848