2009 · 28 citations · 19 references
ComputingComputer EngineeringComputer ScienceComputer ArchitectureParallel AlgorithmsParallel ComputingInterprocess CommunicationMulticore Processor DesignParallel ArchitecturesParallel Computer ArchitectureParallel Computing SystemsParallel Data StructuresDeep Packet InspectionLock-free Data StructuresLock-free SynchronizationMulti-core ComputingPacket InspectionParallel Computing ArchitecturesParallel ProcessingParallelization
The industry wide shift to multi-core architectures arouses great interests in parallelizing sequential applications. However, it is very difficult to parallelize fine-grained applications for multi-core architectures due to insufficient hardware support of fast communication and synchronization. Fortunately, network applications can be decomposed into pipelined structures that are amenable to streaming based parallel processing. To realize the potential of pipelining on multi-core architectures, it requires reevaluating the basic tradeoffs in parallel processing, including the ones between load balance and data locality and between general lock mechanisms and special lock-free data structures. This paper presents the practice of building a high-performance multi-core based network processing platform in which connection-affinity and lock-free design principles are applied effectively for better data locality and faster core-to-core synchronization and communication.We parallelize a complete Layer 2 to Layer 7 (L2-L7) network processing system on an Intel Core 2 Quad processor, including a TCP/IP stack based on Libnids (L2-L4) and a port-independent protocol identification engine by deep packet inspection (L7+). Furthermore, we develop a compiling method to transform sequential network applications to parallel ones to enable those applications to run on multi-core architectures. Our experience suggests that (1) fine-grained pipelining can be a good software solution for parallelizing network applications on multi-core architectures if connection-affinity and lock-free are used as the first design principles; (2) a delicate partitioning scheme is required to map pipelined structures onto specific multi-core architecture; (3) an automatic parallelization approach can work if domain knowledge is considered in the parallelizing process. Our multi-core based network processing platform can deliver not only 6Gbps processing speed for large packet sizes but also more challenging 2Gbps speed for smaller packets.
19
Concurrent programming without locks
Keir Fraser, Tim Harris · ACM Transactions on Computer Systems · 2007 · 260 citations
Scalable lock-free dynamic memory allocation
Maged M. Michael · 2004 · 182 citations
TCP onloading for data center servers
G. Regnier, Srihari Makineni, I. Illikkal et al. · Computer · 2004 · 142 citations
FastForward for efficient pipeline parallelism
John Giacomoni, Tipp Moseley, Manish Vachharajani · 2008 · 138 citations