search for: htb_hsize

Displaying 6 results from an estimated 6 matches for "htb_hsize".

2006 Aug 02
10
[PATCH 0/6] htb: cleanup
The HTB scheduler code is a mess, this patch set does some basic house cleaning. The first four should cause no code change, but the last two need more testing. -- Stephen Hemminger <shemminger@osdl.org> "And in the Packet there writ down that doome" - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to
2006 Feb 26
1
Delay before shaping kicks in
...ew seconds only get a fraction of what he really needs, but then suddenly, the speed increases, and the low-prio user looses his speed. Is there a way to make this "kick in" start faster? I checked the net/sched/sch_htb.c and found: #define HTB_EWMAC 2 /* rate average over HTB_EWMAC*HTB_HSIZE sec */ Could decreasing this to like 1 second fix the issue? Steinar Pedersen _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
2007 Feb 01
12
[PATCH] HTB O(1) class lookup
.... Without the patch, ~14k htb classes can starve a Xeon-3.2 at only 15kpps, using most of it''s cycles traversing lists in htb_find(). The patch eliminates this problem, and has a measurable impact even with a few hundred classes. Previously, scalability could be improved by increasing HTB_HSIZE, modify the hash function, and recompile, but this patch works for everyone without recompile and scales better too. The patch is for 2.6.20-rc6, I have older ones for 2.6.18 and 2.6.19 if anyone is interested. Signed-off-by: Simon Lodal <simonl@parknet.dk> ____________________________...
2002 Jan 03
1
tc class show problem with HTB ?
Hi! I''m using 2.4.17 + htb2_2.4.16.diff now. But I found the tc class show command won''t show the correct infomation like before... I got something like: # tc -s -d class show dev eth0 class htb 1: parent 1: class htb 1: parent 1: class htb 1: parent 1: class htb 1: parent 1: class htb 1: parent 1: class htb 1: parent 1: class htb 1: parent 1: # tc -s qdisc
2006 Jun 15
0
[PATCH 1/2] Runtime configuration of HTB''s HYSTERESIS option (kernel)
...g/net/sched/sch_htb.c kernel-source-2.6.11/net/sched/sch_htb.c --- kernel-source-2.6.11.orig/net/sched/sch_htb.c 2005-03-02 17:38:12.000000000 +1000 +++ kernel-source-2.6.11/net/sched/sch_htb.c 2006-06-13 11:34:25.000000000 +1000 @@ -73,7 +73,6 @@ #define HTB_EWMAC 2 /* rate average over HTB_EWMAC*HTB_HSIZE sec */ #undef HTB_DEBUG /* compile debugging support (activated by tc tool) */ #define HTB_RATECM 1 /* whether to use rate computer */ -#define HTB_HYSTERESIS 1/* whether to use mode hysteresis for speedup */ #define HTB_QLOCK(S) spin_lock_bh(&(S)->dev->queue_lock) #define HTB_QUNL...
2006 Sep 19
5
how to setup massive traffic shaping? (2 class B nets)
Hello I have 2 class-B networks (172.22.0.0/16 and 172.23.0.0/16, over 130k of ip''s) and need to setup traffic tbf shapers with 64kb/s for each ip from 172.22.0.0/16 and 128kb/s for each ip from 172.23.0.0/16 just read lartc and don''t understand how to use u32 for decreasing number of rules and hashing