D3f0 / coreemu

Automatically exported from code.google.com/p/coreemu
BSD 2-Clause "Simplified" License
0 stars 0 forks source link

use Linux 3.3 netem rate extension instead of tbf qdisc #236

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Use the new netem rate extension when available (e.g.: tc qdisc add dev eth0 
root netem rate 10kbit) for more accurate emulation results for link bandwidth.

http://blog.jauu.net/linux-network-emulator-extensions.html
http://pf.itd.nrl.navy.mil/pipermail/core-users/2013-December/001456.html

This could be tested using manual link configurations if the bug #128 
enhancement (write your own tc netem rules, instead of having CORE generate 
them) were available.

Original issue reported on code.google.com by ahrenh...@gmail.com on 2 Jan 2014 at 3:48

GoogleCodeExporter commented 9 years ago
core/daemon/core/netns/vnet.py has LxBrNet.linkconfig()

there are a few lines there that set up the TBF queue

Original comment by ahrenh...@gmail.com on 9 Jan 2014 at 4:38