Dummynet Installation
From Wiki
This site includes the installation HowTO to install dummynet on the system.
Contents |
[edit]
ToDo
- Write a complete HowTo for installing and running DUMMYNET
[edit]
Installation
- Copy GENERIC to /usr/src/.../i386/GENERIC
cp GENERIC /usr/src/
- Rebuild the kernel again
- Run the tuning script
#!/bin/tcsh sysctl -w kern.polling.enable=1 sysctl -w kern.polling.user_frac=5 sysctl -w kern.polling.burst_max=400 sysctl -w kern.polling.each_burst=15 sysctl -w net.inet.ip.intr_queue_maxlen=1000 sysctl -w net.inet.ip.dummynet.hash_size=256 sysctl -w kern.ipc.maxsockbuf=900000000 sysctl -w net.inet.tcp.sendspace=300000000 sysctl -w net.inet.tcp.recvspace=300000000 sysctl -w net.inet.udp.recvspace=300000000 gcc -o dummylog dummylog.c
[edit]
Files
- download sources
- FreeBSD 5.2.1 - GENERIC, if_em.h, and ipfw2.c ip_dummynet.c ip_dummynet.h
- FreeBSD 5.3 - GENERIC, loader.conf ip_dummynet.c ip_dummynet.h
[edit]
Dummynet Modification
You can use any one of these modifications to introduce RTT by per-flow basis. When I wrote the patches for FreeBSD 5.2.1 and 5.3, I couldn't get the real data of IMC03, so I used an exponential distribution that follows a similar distribution with the real data. Also, I found the patch that exactly use the distribution sampled from IMC'03 paper at the original author's site.
- Dummynet modification for FreeBSD 5.3 download sources
- Dummynet modification for FreeBSD 5.2.1 download sources
- Dummynet modification for FreeBSD 4.5 from an original author of IMC'03 paper[1], source codes[2] based on FreeBSD 4.5
[edit]
Links
Maintained by Sangtae Ha (sangtae.ha AT gmail DOT com)
