search for: sch_htb

Displaying 20 results from an estimated 92 matches for "sch_htb".

2004 Jun 21
3
HTB patch - fairness
Witold Szczerba spent his time evaluating fairness of borrowing. His troubles inspired me enough to analyze the problem: When a class changes from yellow to green it disconnects itself from parent''s feedlist. Unfortunately it resets feed pointer to the first child. I created a patch where the class uses classid to remember its position in the feedlist. The patch for 2.4.24 and hopefully
2002 Mar 18
2
Failed to insmod sch_htb
...ew to HTB and CBQ, and i want to try it. But i failed the first step: load modules. I patch the kernel 2.4.17 succesfully, add QoS support, and all QoS scheds in modules instead off kernel. make clean dep bzImage modules modules_install copy the new kernel reboot fine But when i : server:~# insmod sch_htb Using /lib/modules/2.4.17/kernel/net/sched/sch_htb.o /lib/modules/2.4.17/kernel/net/sched/sch_htb.o: unresolved symbol qdisc_get_rtab/lib/modules/2.4.17/kernel/net/sched/sch_htb.o: unresolved symbol unregister_qdisc/lib/modules/2.4.17/kernel/net/sched/sch_htb.o: unresolved symbol qdisc_put_rtab/lib...
2003 Jan 15
5
HTB. QoS and Shorewall
Group, I am reading about tc (traffic control) and willing to get my feet wet. As requirement, there should be HTB compiled in the kernel. I grabbed a Mandrake 8.2 distro, and didn''t installed the kernel source. Anyone knows if the HTB is compiled in Mandrake 8.2, or point a way to find that out? I tried to read the /usr/src/kernel.xxxxx/.config file, but it doesn''t exists.
2007 Jun 13
2
HTB deadlock
...terrupt+0x97/0xb2 [<c0104373>] apic_timer_interrupt+0x1f/0x24 [<c02e007b>] klist_next+0x4/0x8a [<c02e2570>] _spin_unlock_irqrestore+0xa/0xc [<c012729b>] try_to_del_timer_sync+0x47/0x4f [<c01272b1>] del_timer_sync+0xe/0x14 [<f8b8a85b>] htb_destroy+0x20/0x7b [sch_htb] [<c028f196>] qdisc_destroy+0x44/0x8d [<f8b89645>] htb_destroy_class+0xd0/0x12d [sch_htb] [<f8b895c7>] htb_destroy_class+0x52/0x12d [sch_htb] [<f8b8a87a>] htb_destroy+0x3f/0x7b [sch_htb] [<c028f196>] qdisc_destroy+0x44/0x8d [<f8b89645>] htb_destroy_class+0x...
2003 Jan 06
1
compiling cls_u32 sch_htb and bridge into the kernel
Hi fellows: Im wondering about compiling cls_u32 sch_htb and bridge into the kernel Are there any advantages or disadvantages doing this in terms of stability or crash problems? Thanks in advance for the replys Victor __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailp...
2006 Jan 28
2
gypsy, and not only
hi i ve seen one of your replies here and i saw that you receomend 2 modifications in the kernel files in order to improve htb. first in pkt_sched.h, changing PSCHED_JIFFIES to PSCHED_CPU. and then, sch_htb.c, changing HYSTERESIS from 1 to 0. is it that simple? i mean i just change these here variables and i get better results? i ve done a search and found the first file in 3 locations. where exactly do i do these modifications? tnx
2005 Apr 27
3
invalid argument
Hi All, I cross compiled and run tc in arm platform. When I tried executing it I got this error. tc qdisc add dev eth0 root handle 1:0 cbq bandwidth 100Mbit avpkt 1000 mpu 64 RTNETLINK answers: Invalid argument Is there something I''m missing here... Thanks. Grace _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl
2006 Jan 23
1
Adding HTB support for kernel 2.4.19 SUSE 8.1
Hi everybody, I''ve got a little problem when adding HTB support to my SUSE 8.1 by patching its kernel 2.4.19. After i patch kernel getting some errors, the HTB kernel option shows up but when i make modules it finds something wrong with the sch_htb.o module. Could somebody give me a hand on this? Thanks in advance. I get this information when patching (patch -p1 < htb3.6_2.4.17.diff) ****************************************************** patching file net/sched/Config.in Reversed (or previously applied) patch detected! Assume -R? [n]...
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 Jun 15
0
[PATCH 1/2] Runtime configuration of HTB''s HYSTERESIS option (kernel)
...the same as HTB and TC''s major */ +struct tc_htb_hopt +{ + __u32 nohyst; +}; struct tc_htb_opt { struct tc_ratespec rate; @@ -258,6 +262,7 @@ enum TCA_HTB_INIT, TCA_HTB_CTAB, TCA_HTB_RTAB, + TCA_HTB_NOHYST, __TCA_HTB_MAX, }; diff -Nurp kernel-source-2.6.11.orig/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 */ #...
2003 Jul 18
10
[HTB] htb_dequeue_tree assertion (kernel 2.4.21-ac4)
Hello, I think the BUG_TRAP() in the htb_dequeue_tree() is wrong. First it checks if the class pointer "cl" is NULL, which is obviously right. But I do not understand why we also check whenever the queue length of the leaf queue is zero "cl->un.leaf.q->q.qlen". I would have put that in the expression of the "if" statements that comes afterwards. A queue
2005 Mar 11
0
htb patch
Hello all, I am compiling a 2.4.19 kernel. I downloaded the kernel source from familiar project, which is a project working on porting linux to ipaq handheld devices. The question I have is what patch should I apply: htb3 or htb2? Also, I looked into htb3 patch. There are the source for sch_htb.c and some definitions that should be added to pkt_sch.h. I already have a sch_htb.c in my kernel source but nothing in the pkt_sch.h. My question is how to tell which one is newer: the sch_htb.c in the patch or the one I already have? Any suggestions would be appreciated. Thanks, Ya-Yunn
2004 Jun 18
1
Help:how to generate different packets?souce code explanation?
.../-----+-----+-----+------+-----\ 1:10 1:20 1:30 1:40 1:50 1:60 EF AF41 AF31 AF21 AF11 BE and alloct different bandwidth to these PHBs(queues).So which tool would I use to generate these packets at the same to for testing?Thank you! Another question:I am studying sch_htb.c,but it's so tough for to understand,especially htb_dequeue().Would anyone please supply some adivse? Thank you very much!   Best regards.         swcims         swcims@163.com           2004-06-18
2002 Jan 24
2
strange problem with 2.4.17 and htb
Hi, Trying htb (latest patches from the page) with 2.4.17 I get: RTNETLINK answers: File exists iproute is 20010824 with the patch from the page. The kernel module loads, but is not used: sch_htb 12672 0 (unused) Any ideas? -j
2006 Jan 26
0
Profiling hotspots in my tc filter ruleset
...br_nf_pre_routing_finish 2133 bridge.ko br_nf_forward_ip 2314 bridge.ko br_handle_frame_finish 2454 bridge.ko br_dev_queue_push_xmit 2515 bridge.ko ip_sabotage_out 2718 sky2.ko sky2_rx_add 2858 sch_htb.ko htb_enqueue 3983 bridge.ko br_handle_frame 4796 bridge.ko br_nf_pre_routing 7047 bridge.ko br_nf_post_routing 8158 sky2.ko sky2_xmit_frame 9519 sch_htb.ko htb_classify 9910 sch_htb.k...
2004 Oct 06
2
Unknown qdisc "htb", hence option "default" is unparsable
...is my server information: Linux Server 2.4.20-30.9 #1 Wed Feb 4 20:44:26 EST 2004 i686 i686 i386 GNU/Linux Module Size Used by Not tainted cls_u32 6300 0 (autoclean) cls_fw 3512 0 (autoclean) sch_sfq 4096 0 (autoclean) sch_htb 22176 0 ipt_MARK 1368 2 (autoclean) ip_nat_ftp 4112 0 (unused) ip_conntrack_ftp 5296 1 ipt_state 1080 0 (unused) ipt_limit 1560 0 (unused) ipt_LOG 4184 0 (unused) iptable_nat...
2004 Nov 22
8
Strange error!?
I was using this setup and it worked fine untill i executed up2date in Redhat and updated a lot of the packages in linux. When i run the following script i get an error, which i pasted bellow. Script i run: iptables -t mangle -A FORWARD -s 171.100.20.110 -j MARK --set-mark 28 iptables -t mangle -A POSTROUTING -s ! 171.100.20.96/27 -d 171.100.20.110 -j MARK --set-mark 29
2004 Jan 31
6
HTB dequeueing in pairs fixed
I posted earlier when I noticed that htb was releasing packets in pairs, even though my burst/quantums were 1 pkt. To fix I set HTB_HYSTERESIS 0 in net/sched/sch_htb.c . This gives a noticable gain in upstream worst case latency, for me with 256kbit/s up I used to see +90 sometimes, now it''s +45. For the many who have 128 up it should limit them to +90 rather than +180. Andy. _______________________________________________ LARTC mailing list / L...
2006 Oct 11
1
HTB_HYSTERESIS
All: I have been told that HTB_HYSTERESIS might have some effect on rate calculations. This file is usually in /usr/src/linux/net/sched/sch_htb.c. If I change this file I have to re-compile. I am not quite sure how to do this. Can someone list the steps necessary to re-compile or point me to a doc that explains how to do so. Thanks. Jon Flechsenhaar Boeing WNW Team Network Services (714)-762-1231 202-E7
2006 Feb 26
1
Delay before shaping kicks in
...k) Another user with higher priority starts downloading, and for the first few 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/l...