Packet Classification on PLUG Architecture NILAY VAISH THAWAN KOOBURAT CS/ECE 752 ADVANCE COMPUTER ARCHITECTURE I FALL 2010
Motivation � Routers need packet classification to: Qo. S, Security (Firewall), VPN, and etc. � Traffic volume increase rapidly Traffic volume increasing rapidly � Reported CAGR of 50% during 2006 – 2010 Classifier size also increase � Hardware support TCAM – Fixed latency but high power consumption and cost CPU – Maximum flexibility but with high power consumption Custom logic – Good power efficiency but inflexible
Background: PLUG �Pipelined Look. Up Grid (PLUG) Tiled architecture N cores, M memory, R router � Simple µcores � SRAM memory � Message routing via adjacent tile RISC-like ISA with static scheduling �Data flow programming model Input Code block Message Data Code block Data Output
Background: Effi. Cuts � Decision-tree packet classification algorithm Rule Space Rule A Rule B Rule C Rule D
Background: Effi. Cuts (cont. ) � Efficient memory usage: 855 KB for 10 k rule set X = [0, 1] 2 cuts Y = [0, 3] 4 cuts Node Boundary Packet Y Children Array X 0 1 2 3 4 5 6 7 Index X, Y = (1, 2) = X-offset * (Y-cuts) + Y-offset = 1 x 4+2 =6