Displaying 20 results from an estimated 2000 matches similar to: "classless qdisc and classful qdisc"
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
2002 Dec 31
3
[tcng] More complex example?
Hi
I''m completely stuck with the tcng language - I assume there must be
some way to arrange queues hierachically like
     eth1
      |
     TBF
      |
     PRIO
     /  \
   class class
but my attempt (below) produces a "inferno.tc:8: qdisc "tbf" has no
classes near "prio"" when run through tcc.
dev eth1 {
  egress {
    tbf (rate 128kbps, burst 64kb,
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
2005 Jul 05
1
simple or not? htb+prio
Hi
I have now my outgoing traffic shaped whith root
qdisc htb (where i configure basic rate) and tc
prio (as a leaf with 4 classes) where i can set
priority of different kinds of traffic. It works
but htb is work-conserving so packets are only
delayed (when the rate is exceeded), while i want them dropped. In the case when rate is exceeded i want to drop packets with priority set to 4, then if
2004 Sep 20
0
Shaper & prio qdisc
Hello. Sorry for my poor english =)
I have following config for traffic prioritization:
  tc qdisc add dev eth0 root handle 1: prio
  tc qdisc add dev eth0 parent 1:1 handle 10: tbf rate 7000kbit buffer 1600 
latency 2msec
  tc qdisc add dev eth0 parent 1:2 handle 20: sfq
  tc qdisc add dev eth0 parent 1:3 handle 30: tbf rate 3000kbit buffer 1600 
latency 50msec
  tc qdisc add dev eth1 root
2005 Oct 11
1
How to do network emulation on incoming traffic?
I''m trying to simulate a satellite link to a Linux server to test
application performance.  I haven''t used any of the tc stuff before,
but I blandly assured people it would be "easy" to set up a simulated
long thin pipe on a spare network interface.
However, now that I''m exploring, it''s proving quite difficult.
Let me start with the general question
2007 Jul 30
17
tc n00b
Hi everyone,
I''m new to tc but I need to use it to set up shaping on a new NAT box. 
In short:
Each user must have their upload limited to 128kbit and downlink limited 
to 256kbit.
Global bandwidth to be limited to 100Mbit
Interactive packets to have higher priority
200+ users, so need to match packets fast
So far I have managed to get the download limits working. However I need 
to
2004 Jun 21
1
tbf token help
Hi all!
I just started to experiment with bandwidth management using tbf.
I have the folowing problems with token understanding:
1) What unit is token? Is "1 token = 1 byte" ?
    If this is so, then with rate=0.5mbit and HZ=100 the bucket gets filled
    with 0,64kb (655 tokens) every 10ms?
2) How much tokens are used for one packet (1500)?
3) And token unrelated question. Does
2006 Mar 02
33
Patch to allow for the ATM "cell tax"
I have been trying to optimise my ADSL connections for VOIP.
Funny things were happening - for example increasing the ping
packet size by 50% had no effect, but then adding one byte 
had a major effect.  It took me a while to figure out that I 
was seeing the effects of the fixed ATM cell size.
This is probably obvious to some of you.  For the rest: ADSL
uses ATM as its transport.  An ATM
2007 Jun 14
16
PQ questions
Hi all,
First, let me say I''ve been most impressed with how quickly and
professionally people on this list ask and answer questions.
Next, let me say that with which I need help is properly configuring strict
PQ, and gathering certain stats. Specifically:
- I need to create a priority queue with four queues (let''s say they are of
high, medium, normal, and low priority)
- I
2005 Apr 27
3
Internal Qdisc
Hell
I''m new to Qdisc programming and I was wondering, what is the difference 
between using an internal Qdisc (like e.g. TBF does) vs. not using internal 
Qdisc (like e.g. SFQ does)?
Can someone give me a quick rundown of pro and cons?
with regards
R.harper
_________________________________________________________________
UndgÄ pop-ups med MSN Toolbar -  http://toolbar.msn.dk hent den
2005 Jul 22
2
tc filter matching anything
Hey,
I have a problem adding a filter matching anything, here is my setup:
###############
tc qdisc add dev eth0 handle 1: root prio
tc qdisc add dev eth0 parent 1:1 handle 10: pfifo
tc qdisc add dev eth0 parent 1:2 handle 20: tbf latency 50ms rate \
128kbit burst 256kbit
tc filter add dev eth0 protocol ip parent 1:0 prio 1 handle 666 fw \
flowid 1:2
tc filter add dev eth0 protocol ip parent
2002 Dec 19
1
linux bridging and htb.init / cbq.init
Hello,
I''am successful using a linux (2.4.20) bridge and the cbq.init_v0.7
 script for traffic shaping. But I can only use the queuing discipline
 tbf (LEAF=tbf). If I try use queuing discipline sfq or none then tc
applies the rules but no shaping occurs.
Is this problem a normal behavior when using bridging ?
I tried to use htb.init (using patched tc binary). It accepts
the rules but
2005 Nov 06
1
tc qdisc replace failing
Hi,
Having issues getting a replace command working correctly. The error reported 
is "RTNETLINK answers: Invalid argument" which isn''t descriptive or helpful.
The command i''m running is:
tc qdisc replace dev ppp0 parent 8001:D handle D: tbf rate 5Kbit burst 5kb 
latency 70ms
The idea being to replace an sfq with handle D and hopefully limit a certain 
user in my
2007 Feb 28
1
Xen and tc problems
Hi,
I am trying to shape traffic to two VMs hosted in Xen. There seems to be
very little information regarding this. I found this web page
http://www.ioncannon.net/system-administration/57/limiting-bandwidth-usa
ge-on-xen-linux-setup/ and followed the instructions. But, the real
bandwidth experienced from clients always seems to exceed the set rate.
Part of the problem may be because of the way
2005 Dec 02
17
HTB - prio and rate
Hi all,
I''ve not been able to find an explanation of the relationship between
prio and rate as they apply to the HTB technique.  Hopefully someone on
here will be able to help me.
As I understand things, when prio values are assigned to an HTB setup,
classes with a given prio value will only be serviced when there are no
packets waiting in classes with a lower prio value.
Now, does
2005 May 13
1
Qdisc requeue should be void?
There is an design problem with the qdisc interface that causes qlen related bugs
in netem, tbf, and other qdisc''s that peek at the top of the queue. The problem is
that requeue needs to be called from the dequeue function but requeue can fail.
If requeue fails, then the calling qdisc can not properly handle the error.  If it
returns NULL, then the parent''s expectation about qlen
2005 Dec 04
6
tbf and prio blocking some flows entirely
I thought I had this all worked out, but it seems not.  The following tc
configuration:
tc qdisc del dev ppp0 root 2> /dev/null > /dev/null
tc qdisc add dev ppp0 root handle 1: tbf rate 120kbit burst 1200 limit 1
tc qdisc add dev ppp0 parent 1:1 handle 2: prio bands 3
tc qdisc add dev ppp0 parent 2:1 handle 10: sfq perturb 20
tc qdisc add dev ppp0 parent 2:2 handle 20: sfq perturb 20
tc
2007 Apr 04
13
tc questions
Hi to all of you!!!
I am a Computer Science student trying to do the pre-grade thesis. I am trying 
to develop a free software tool to help administrators to control the 
traffic. Right now this tool is based on tc and iptables.
I am having some problems trying to understand tc and tc examples:
- Why in almost every list of tc rules based on htb class, there is a "tc 
qdisc dev ... root ...
2017 Dec 19
0
[PATCH] Implement classless static routes
Implement classless static routes support as specified in RFC3442.
Bug-Debian: https://bugs.debian.org/884716
Bug-Ubuntu: https://launchpad.net/bugs/1526956
Signed-off-by: Benjamin Drung <benjamin.drung at profitbricks.com>
---
 usr/kinit/ipconfig/bootp_proto.c | 112 +++++++++++++++++++++++++++++++++++++++
 usr/kinit/ipconfig/dhcp_proto.c  |   1 +
 usr/kinit/ipconfig/main.c        |  43