- clean up this script, merge relevant resman/scripts/bwlimit
authorMark Huang <mlhuang@cs.princeton.edu>
Wed, 22 Feb 2006 23:46:51 +0000 (23:46 +0000)
committerMark Huang <mlhuang@cs.princeton.edu>
Wed, 22 Feb 2006 23:46:51 +0000 (23:46 +0000)
commit4a8a2e251efe43c3f65c525322f5c394486520e5
tree2f151d4774691e2bff9d5456950fe064ea22d848
parentf061f5d3ea230ebc5132315131c00852ffb58269
- clean up this script, merge relevant resman/scripts/bwlimit
  functionality into here
- add tons of documentation, and fix a minor (haha) bug: tc reports
  minor class numbers in hexadecimal, not decimal. Fix things so that it
  works with VNET, which classifies packets from xid 500 into class
  1:1f4, *not* 1:500.
- set the "default" minor class number to ffff to emphasize this point.
- VNET now classifies packets, no need for class filters
- don't override cburst, let tc decide what it should be, which sounds
  reasonable. At least until we figure out if burst lengths should be
  related to shares.
- make everything just a whole lot nicer to use
python/bwlimit.py