My Wonder Shaper script

If you are going to use HTB, edit linux/include/net/pkt_sched.h, changing PSCHED_JIFFIES to PSCHED_CPU.
If you want ultimate precision, edit linux/net/sched/sch_htb.c, changing HYSTERESIS from 1 to 0.  Otherwise, HTB will dequeue packets in pairs (to improve response).
There is a serious bug in HTB before version 3.17, so use a kernel version 2.4.26 or newer.
Register to