300 likes | 453 Views
Tracking Millions of Flows In High Speed Networks for Application Identification.
E N D
Tracking Millions of Flows In High Speed Networks for Application Identification Tian Pan, XiaoyuGuo, ChenhuiZhang, JunchenJiang, Hao Wu and Bin LiutTsinghua National Laboratory for Information Science and Technology Department of Computer Science and Technology, Tsinghua University, Beijing 10084, China 2012 Proceedings IEEE INFOCOM 通訊所 周啓松
Outline • Framework of system • External flow table management • ALFE replacement policy • Theoretical analysis • Evaluation • Conclusion
Emerge issues • On-chip SRAM is fast but insufficient to accommodate millions of concurrent flows which has to be stored in DDR or RLDRAM. • High hash collision rate and high cache miss rate. • It is hard to attach parallel off-chip DRAMs to gain performance improvement.
Purpose • An on-chip/off-chip hierarchical flow table to achieve high speed packet lookup and maintain tens of millions of flows. • Adaptive Least Frequently Evicted(ALFE), which keeps the elephant flows longer in the cache thus increasing the cache hit rate. • An efficient management scheme is proposed to exploit DRAM's burst feature. • Real trace evaluation on Altera FPGA platform indicates, with 200MHzinternal clock, small sized cache with 16K entries can achieve up to 80% hit rate, enabling more than 70Mpps line rate flow tracking even at the 40-byte packets.
Design Trade-offs and System-level Optimization • Stateless TCP Handling without Flow Reconstruction • 3-Way shaking • FIN/RST • Fixed-allocated Hash Buckets to Exploit DRAM Bursts • Lower utilization of memory space • Cache Replacement Policy to Track Elephant Flows • Heavy-tailed distribution • lmpactof Misidentification
Fixed-allocated Hash Bucket • How to store the flow records • How to read/write the memory efficiently
Throughput and Queue Length • The arrival rate of packets is less than the service rate: • The overall maximum throughput is determined by the maximum arrival rate which could be afforded by each part. • According to queuing theory, the system queue length is:
Off-chip Flow Table • The collision rate will be bounded less than when active flow number (AFN) is 4M.
Bucket Overflow NE BAW
Delay and Throughput • The 400MHz DRAM I/O interface transfers two data words per DRAM clock cycle. • The read latency is 6 DCs. • The write latency is 7 DCs. • The maximum throughput of DRAM is 44.44Mpps.
Trade-off between Utilization and Speed • When BAW is set to be 15 bits, the system reach optimal balance. • In this paper, the BAW is expanded to 21 bits to provide higher speed. • NE = 8 • Total entry number = 16.8M
System Overall Performance • System Throughput • Overall throughput under different cache entry number
Conclusion • Detail of Matching Engine should be listed. • Setup time of flow table should be taken into account System Overall Performance.