DPF
Authors:
Open Access
- 28 August 1996
- journal article
- conference paper
- Published by Association for Computing Machinery (ACM) in ACM SIGCOMM Computer Communication Review
- Vol. 26 (4) , 53-59
Abstract
Fast and flexible message demultiplexing are well-established goals in the networking community [1, 18, 22]. Currently, however, network architects have had to sacrifice one for the other. We present a new packet-filter system, DPF (Dynamic Packet Filters), that provides both the traditional flexibility of packet filters [18] and the speed of hand-crafted demultiplexing routines [3]. DPF filters run 10-50 times faster than the fastest packet filters reported in the literature [1, 17, 18, 27]. DPF's performance is either equivalent to or, when it can exploit runtime information, superior to hand-coded demultiplexors. DPF achieves high performance by using a carefully-designed declarative packet-filter language that is aggressively optimized using dynamic code generation. The contributions of this work are: (1) a detailed description of the DPF design, (2) discussion of the use of dynamic code generation and quantitative results on its performance impact, (3) quantitative results on how DPF is used in the Aegis kernel to export network devices safely and securely to user space so that UDP and TCP can be implemented efficiently as user-level libraries, and (4) the unrestricted release of DPF into the public domain.Keywords
This publication has 19 references indexed in Scilit:
- A general approach for run-time specialization and its application to C1996
- Exokernel1995
- Separating data and control transfer in distributed operating systems1994
- DCG1994
- Implementing network protocols at user level1993
- Limits to low-latency communication on high-speed networksACM Transactions on Computer Systems, 1993
- Protocol service decomposition for high-performance networking1993
- Linear-time, optimal code scheduling for delayed-load architectures1991
- The x-Kernel: an architecture for implementing network protocolsIEEE Transactions on Software Engineering, 1991
- Efficient implementation of the smalltalk-80 system1984