Displaying 20 results from an estimated 1400 matches similar to: "htb qdiscs inside htb classes tree - possible side effects???"
2005 Jun 06
1
TC, HTB, and multiple qdiscs
Here is what I am trying to do... I want to set it up so any traffic
coming or going to a specific host is ran through 3 HTBs. Two of the
HTBs are for limiting incoming and out going and I want them to then
dump the traffic into the third for limiting overall bandwidth for that
host. I have been using tc filter to put it into the HTBs for incoming
and out going, but am having problems getting it
2005 Jul 06
0
Diffserv using HTB or PRIO qdiscs as basis for EF phb
Im experimenting with using a Linux machine with 3 interfaces to operate
as a core router. All links and network interfaces are 100mbit. Below is
a ascii diagram of the network.
(network A) edge router ------>core router---->edge router (network C)
^
|
|
edge router
(network B)
I have tried two
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
2003 Mar 25
29
Intelligent P2P detection
Probably, I''m not the first one who needs solve problem with p2p.
Because, large part of my traffic is eaten by p2p software like KazAA,
e-mule, Direct Connect etc, I''m looking for the way of detection of such
traffic and marking it. However simple way with for instance 1214 port
for KazAA doesn''t work because this software uses floating port
technology. This traffic can
2006 Mar 09
1
[TIP] Making an intelligent form fields
After searching arround I found a quite smart solution to me for binding
form fields to model in an active way. I use aggregations with single
value objects such as
class Percentage
attr_accessor :value
def initialize(value)
@value = (value.is_a? String) ? value.tr('' %'', '''').to_f : value
end
def to_s
return unless value
2005 May 22
1
Change HTB "final qdisc" of the default walk-throught class
Hello everybody!
With a HTB qdisc:
# tc qdisc add dev eth0 root handle 99: htb
How can I change the "final qdisc" of the default walk-throught class?
# tc qdisc add dev eth0 parent 99:0 handle 88: sfq
results in: "RTNETLINK answers: Invalid argument"
CBQ automatically creates a xx:0 root class where I can attach final
qdiscs... - If there is a root class in htb, how is it
2004 May 08
2
PRIO qdisc with HTB
Hi,
I''m trying to use prio qdisc with htb, however not the "usual" way (like for
example FairNAT).
Here is my idea:
Root has HTB shaping traffic to link speed -> then goes PRIO queues -> each
prio queue has HTB with sublasses for each user, should look like this:
1: htb qdisc
|
1:1 htb class
2005 Aug 13
1
pfifo_fast as leaf qdisc for htb classes
Thank you Andy! I did''t find why I could''t use the fw
match in ingress. Now it works.
Now I ran into another problem:
When I try to add a pfifo_fast leaf qdisc dor htb
classes it seg.-faults. Is pfifo_fast a special qdisc?
I can succesfully add other type of qdiscs.
I found that a similar problem was reported in
february on a MIPS architecture.
root@zefir:/usr/src# tc qdisc
2006 Aug 03
1
Maximum count of qdiscs
Hi,
Fedora 4, 2.6.15.6
What is the maximum count of qdiscs attached to one dev ?
It seems, that only 2048 qdiscs can be attached. Is this correct ?
If I try to attache more qdiscs, it complains that file already exists and
error talking to kernel.
How to increase this count ?
Thank You
vitula
_______________________________________________
LARTC mailing list
2005 Mar 29
2
classes and qdiscs
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello everybody!
I am wondering, whether it is possible to have qdiscs and classes as
childs of a class or not.
take the following example:
~ ,-----
~ | class 1:1
~ | / \
~ | / \
~ | / \
~ | class 1:10 qdisc 11:
~ | / \
~ | ...
2005 Jan 19
3
tail and head drop qdiscs
I think that there are no qdiscs that permit to drop the oldest
frame of a queue when this queue is full, but I would like to
be wrong:
bfifo drops arriving frames when the max queue length is reached.
red also drops arriving frames in a more elaborate fashion, with
a drop probability that increases above a limit and becomes
a drop certitude when the max queue length is reached.
sfq drops
2004 Apr 21
0
Why cant I see the parent of a qdiscs?
Hi
When I list all the qdisc with tc command it is not possible to see the
parent of the qdisc.
An example by the book.
# tc qdisc add dev eth0 root handle 1: htb default 30
# tc class add dev eth0 parent 1: classid 1:1 htb rate 6mbit burst 15k
# tc class add dev eth0 parent 1:1 classid 1:10 htb rate 5mbit burst 15k
# tc class add dev eth0 parent 1:1 classid 1:20 htb rate 3mbit ceil
6mbit
2011 Apr 01
0
Re: [Xen-staging] [xen-unstable] remus: fix check for installed qdiscs on ifb
On Thu, 2011-03-31 at 18:20 +0100, Xen patchbot-unstable wrote:
> diff -r 45eeeb6d0481 -r c8ae80a11d47 tools/python/xen/xm/messages/xen-xm.pot
> --- a/tools/python/xen/xm/messages/xen-xm.pot Tue Mar 29 16:34:01 2011 +0100
> +++ b/tools/python/xen/xm/messages/xen-xm.pot Thu Mar 31 18:06:36 2011 +0100
> @@ -8,11 +8,10 @@
> msgstr ""
> "Project-Id-Version: PACKAGE
2007 Dec 06
1
Setting max latency on classful qdiscs
Hi All,
I''m using HTB to shape traffic, a little like this:
tc qdisc add dev eth2 root handle 1:0 htb
tc qdisc add dev eth3 root handle 1:0 htb
tc filter add dev eth2 parent 1: protocol 0x8100 prio 5 u32 match u16
3000 0x0fff at 0 flowid 1:1 action ipt -j MARK --or-mark 0x01000000
tc filter add dev eth3 parent 1: protocol 0x8100 prio 5 u32 match u16
3000 0x0fff at 0 flowid 1:1 action
2008 Jun 12
4
Background thread - entension code - switch contexts
Hi,
I am using wxRuby 1.9.7 and Ruby 1.8.6. I have built an extension in C++
and used swig to load it into Ruby interpreter, which works great. The
extension is an often long executing algorithm, and I''ve noticed that if
I fork a new Ruby thread in button clicked event, and in this thread run
the algorithm the application freezes for the time of execution. I have
looked through the
2007 Dec 05
3
Adding qdiscs crashes kernel??
Hi all,
I''m having some problems setting up qdiscs on a bridge.The config looks
a little like this:
ifconfig ifb0 up # Bring up the IFB for this bridge.
tc qdisc add dev eth2 ingress
tc qdisc add dev eth3 ingress
tc qdisc add dev ifb0 root handle 1:0 cbq bandwidth 100Mbit avpkt 1000
cell 8
# Raw qdiscs on each bridge port
tc qdisc add dev eth2 root handle 1:0 cbq bandwidth
2007 Aug 19
0
HTB qdisc within HTB root qdisc
Hello...
Im trying to setup HTB to allow me to shape traffic from two upstreams
that meets on single lan0 interface. I prefer to use HTB qdisc
within HTB root qdisc for cleaner rules design.
Seems that it doesnt work at all. tc -s class show doesnt
show any traffic on other classes attached to HTB qdisc.
Linux 2.6.20.7
iproute-2.6.20-070313
Weird thing is that tc -s class show that 1: and 2:
2005 Jul 27
13
HTB and PRIO qdiscs introducing extra latency when output interface is saturated
Im using a Linux machine with standard pc hardware with 3 seperate PCI
network interfaces to operate as a DiffServ core router using Linux
traffic control. The machine is a P4 2.8ghz, 512mb RAM running fedora
core 3 with the 2.6.12.3 kernel. All links and network interfaces are
full duplex fast ethernet. IP forwarding is enabled in the kernel. All
hosts on the network have their time sychronised
2002 Aug 01
1
htb qdisc on top of htb
Hi
I tryed to use a htb qdisc/class on top of another htb qdisc/class as you
can see bellow:
#!/bin/bash
tc="/sbin/tc"
$tc qdisc del dev eth0 root
$tc qdisc add dev eth0 root handle 1: htb default 40
$tc class add dev eth0 parent 1: classid 1:1 htb rate 100Mbit burst 15k
$tc class add dev eth0 parent 1:1 classid 1:10 htb rate 50Mbit burst 15k
$tc class add dev eth0 parent 1:1 classid
2007 Mar 15
1
Problem attaching htb class to a htb qdisc
I''m trying to build a QoS system that would divide the outgoing traffic
into four categories, each one also subdivided into two more categories.
For that I chose a htb root qdisc subdivided into four classes, each of
these classes contains also a htb qdisc. Until these point everything
goes well, but when I try to attach a new class to the leaf htb qdisc a
problem with the sintaxis