Dummynet
- 1 January 1997
- journal article
- Published by Association for Computing Machinery (ACM) in ACM SIGCOMM Computer Communication Review
- Vol. 27 (1), 31-41
- https://doi.org/10.1145/251007.251012
Abstract
Network protocols are usually tested in operational networks or in simulated environments. With the former approach it is not easy to set and control the various operational parameters such as bandwidth, delays, queue sizes. Simulators are easier to control, but they are often only an approximate model of the desired setting, especially for what regards the various traffic generators (both producers and consumers) and their interaction with the protocol itself.In this paper we show how a simple, yet flexible and accurate network simulator - dummynet - can be built with minimal modifications to an existing protocol stack, allowing experiments to be run on a standalone system. dummynet works by intercepting communications of the protocol layer under test and simulating the effects of finite queues, bandwidth limitations and communication delays. It runs in a fully operational system, hence allowing the use of real traffic generators and protocol implementations, while solving the problem of simulating unusual environments. With our tool, doing experiments with network protocols is as simple as running the desired set of applications on a workstation.A FreeBSD implementation of dummynet , targeted to TCP, is available from the author. This implementation is highly portable and compatible with other BSD-derived systems, and takes less than 300 lines of kernel code.Keywords
This publication has 7 references indexed in Scilit:
- Performance problems in BSD4. 4TCPACM SIGCOMM Computer Communication Review, 1995
- Improving TCI/IP performance over wireless networksPublished by Association for Computing Machinery (ACM) ,1995
- TCP VegasPublished by Association for Computing Machinery (ACM) ,1994
- Random early detection gateways for congestion avoidanceIEEE/ACM Transactions on Networking, 1993
- Eliminating periodic packet losses in the 4.3-Tahoe BSD TCP congestion control algorithmACM SIGCOMM Computer Communication Review, 1992
- The x-Kernel: an architecture for implementing network protocolsIEEE Transactions on Software Engineering, 1991
- Congestion avoidance and controlPublished by Association for Computing Machinery (ACM) ,1988