Displaying 20 results from an estimated 2000 matches similar to: "Large number of HTB classes"
2007 Feb 01
12
[PATCH] HTB O(1) class lookup
This patch changes HTB''s class storage from hash+lists to a two-level linear
array, so it can do constant time (O(1)) class lookup by classid. It improves
scalability for large number of classes.
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
2006 Jun 26
4
Can i attach another qdisc under classes or root qdisc?
now, i''m learning and try to read a lot of article about tc command in linux for setting traffic shaper.
but i''m doubt about
In the theory about tc command ... In general, we define class under root qdisc
but Is it can be possible ???? If we define another qdisc under root qdisc, Can i do it?
because i have just read tc command syntax and i found this point ...
syntax: tc qdisc
2005 Apr 04
12
new perflow rate control queue
Hi,
One of my customer needs per flow rate control, so I write one.
The code I post here is not finished, but it seems to work as expected.
The kernel patch is agains kernel 2.6.11, the iproute2 patch is against
iproute2-2.6.11-050314.
I write the code in a hurry to meet deadline. There are many other things
to do ahead for me. The code is written in 2 days (including read other
2005 Jan 12
4
hashing filters
Hi all,
I am a newbie and I have not played a lot with tc utility. I have red maybe everything that has to do with massive filtering (maybe not everything). If you can help me on this I would appriciate that very much. I use tc utility with iproute2-ss040831.
I want to limit bandwidth for the 192.168.0.0/16 subnet using this script.
tc qdisc del dev eth0 root
tc qdisc add dev eth0 root
2005 Jun 02
8
How many (htb) tc classes and qdiscs are too many?
We have a Linux box that is acting as the gateway to the internet for about
400 people, typically there are not more then 50 of them using the internet
at any given time. We would like to provide different levels of access to
different users. For example 128kbps to some users and 256kbps to others.
We have considered creating a class and qdisc for each user (using htb)
however we don''t
2006 Sep 17
1
HTB and HFSC,declaration tc command question
I have a lot question about tc-command because now i''m doing research to compare
performance between HTB and HFSC
so i''m doubt a lot thing and your reply are so very helpful to me ... My question is
In HTB tc command question
1. I''m use opensource (Mastershaper) for help to config traffic control
but when i''m try to config HTB,
I''m doubt about
2007 Feb 27
2
Creating a contended section of bandwidth with HTB and IMQ
Hi All,
I''m trying to create a contended section of bandwidth using IMQ. I have the
imq0 device up and running, with traffic passing through it.
Firstly, I need to throttle the entire device imq0 to 2mbit/s.
I would then like to add throttle rules for individual IP addresses, allowing
them to pass up to 512kbit/s each, as long as imq0 has not reached its
2mbit/s.
The configuration
2006 May 11
9
HFSC and prioritization
I''m using HFSC to limit bandwidth for our wireless customers. However,
I''d also like the bandwidth prioritized based on packet type. This is
what I''m trying right now, and I''d just like some input from anyone out
there knowledgeable in this on whether it does what I want it to do:
Eth1 -> HFSC
........|-> HFSC (User1) (Min 512 Kb, Max 1024 Kb, Burst 1536
2006 Oct 13
1
HFSC question??
1. HFSC have 4 curve such sc, rc, ls, ul and
1.1 In leaf class can specify rc for guarantee service (bandwidth and delay)
and If want to sharing fairness exceess service, we must specify ls and ul curve too
(ls curve with paramater m2 specify at lease sharing bandwidth in that class will receive and
ul curve mean maximum bandwidth in that class will receive)
so i''m doubt .. about if i
2007 Jul 12
2
voip quality/bandwidth/latency techniques
I have voip quality issues I would like to minimize. I have a ~=
3M/384k (Comcast) cable modem and a CentOS based Linux router (SME 7,
2.6.9 kernel) with 5 NAT''d devices (3 PCs "DHCP", 2 Vonage adapters
"static 10.10.2.10-11"). The quality problems are audio cutting out and
popping. I tried the following (see below) based on a Cookbook example,
but I still have
2006 Jul 14
1
how different qdisc at root and leaf working???
i doubt about ruleset in mastershaper demo about
why use hfsc at leaf class but inner class use htb???
how different for manage traffic like it????
/bin/false qdisc add dev eth1 handle 1: root htb default 1
/bin/false class add dev eth1 parent 1: classid 1:1 htb rate 2048Kbit
######### Incoming Rules
######### chain HB
/bin/false class add dev eth1 parent 1:1 classid 1:21 htb rate 128Kbit ceil
2006 Jul 30
5
questions about HFSC, VoIP and (dynamic) ingress shaping
Hello,
I just found the great howto and started shaping my internet connection. The
howto''s last update is a liitle in the past now so I have some questions
about how things are done the best way nowadays ;-)
To ensure a stable and low latency voip communication I added an HFSC qdisc to
device ppp0 (1 Mbit SDSL). There are two classes (by now): One for SIP and
RTP and one for the
2005 Dec 05
13
Theory test
Guys
Considering the festive season is upon us, thanks to everyone
contributing to the list and helping all the readers with your great
input! I don''t want to mention names, I''ll most certainly leave
someone out.
With this mail I''d like to test some theory on bandwidth management,
with my own successes and failures during the past year.
Sharing a link between 200
2006 May 19
25
iptables CLASSIFY and MARK not working?
I have to match my packets based on MAC address, which I cannot do in
the POSTROUTING chain, so I do it in PREROUTING using MARK. Then, I
match on the MARK in the POSTROUTING chain to do a CLASSIFY. But this
does not seem to work:
wireless-r1 bwlimit # iptables -L -v -n -t mangle
Chain PREROUTING (policy ACCEPT 3353K packets, 941M bytes)
pkts bytes target prot opt in out source
2004 Jan 20
4
Fair bandwidth oversubscribing ? How with HTB ?
Hopefully someone has a suggestion on how I might do this...as I can''t
figure it out :(
I need to be able to set up a group of seperate users who have a
"bandwidth pool" they share, but also be able to limit their individual
bandwidth as well.
Example:
I have 5 customers and would like to be able to provide them with a
maximum of 256Kbit each, with a CIR of 33%.
To do this,
2004 Aug 09
2
cbq dosen''t shape on MARK for one host.. strange!
Hello all, this is my first post here. Sorry for my english.
Gentoo LAN router, 2.4.26-hardened-r2
There are 2 WAN links, one LAN link. I am doing some iptables/routing/tc magic
in my scripts. What''s interesting is marking packets traveling from all IP''s
in LAN.
Interesting commands are:
-------------
for ip in `seq 50`;
do
$IPTABLES -t mangle -A FORWARD -o eth2 -d
2006 Feb 15
4
leaky bucket on bursty multicast
Hi all,
I have an average 2mbit multicast stream that once in a while bursts
high (up to 20mbit/s) in short periods (about 200ms). Could anyone
please help me with directions using tc for configuing leaky bucket
shaping to this stream? I have a 5mbit/s ceiling.
My system is running gentoo linux 2.6.14, and I have compiled in all
QoS modules.
Thanks.
Oivind
2007 May 01
1
Re: LARTC Digest, Vol 26, Issue 25
Hey Andreas, how i catch this traffic using L7 filter?, i´ve installed l7
filter now, but i don´t kwnow to use the kind of filter...!!!
Can you help me?
Thx.-
Terraja-based
2007/4/29, lartc-request@mailman.ds9a.nl <lartc-request@mailman.ds9a.nl>:
>
> Send LARTC mailing list submissions to
> lartc@mailman.ds9a.nl
>
> To subscribe or unsubscribe via the World
2006 Sep 13
1
HTB shaping problem
Hi all !
I''m building a network appliance whose goals are to enhance Voip
quality on 512/128k DSL links. But, i have a voice quality problem,
and i think i''m doing something wrong, but i can''t find what. Please
excuse my terrible english, i''m french.
>From what i''ve read, tc is the tool i need. I read the documentations,
readmes and lartc.org
2006 Nov 12
9
Why did I need strange ceiling settings? (full version)
Sorry I pressed the wrong key and sent the message too early...
> -----Ursprüngliche Nachricht-----
> Von: Philipp Leusmann [mailto:philipp.leusmann@rwth-aachen.de]
> Gesendet: Mittwoch, 8. November 2006 12:53
> An: ''lartc@mailman.ds9a.nl''
> Betreff: Why did I need strange ceiling settings?
>
> Hi all,
>
> I recently installed traffic shaping on my