search for: qdisc

Displaying 20 results from an estimated 2082 matches for "qdisc".

Did you mean: ldisc
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 [add/del] dev String [handle][root /ingress/ parent CLASSID] [QDISC_KIND] := {fifo /tbf/ prio/ cbq/ htb/ hfsc} from above...
2007 Jun 14
16
PQ questions
...rity queue - AF21 (0x50) goes to the medium priority queue - AF11 (0x28) goes to the normal priority queue, and - BE traffic goes to the low priority queue - For stat collection, I need to see: - how many bytes and packets are in each of the four queues - My configuration thus far is: tc qdisc add dev eml_test root handle 1: prio bands 4 priomap 0 1 2 3 tc filter add dev eml_test parent 1:0 prio 1 protocol ip u32 match ip tos 0xb8 0xff flowid 1:1 tc filter add dev eml_test parent 1:0 prio 2 protocol ip u32 match ip tos 0x80 0xff flowid 1:2 tc filter add dev eml_test parent 1:0 prio 3...
2013 Jul 17
2
Libvirt "tc ingress qdisc" automatically removed by ovs vlan tag setting, how?
With outbound QoS setting in Libvirt XML, libvirt will add a tc ingress qdisc for traffic shaping. Then if you set VLAN tag to that tap device, this qdisc will automatically gone by no reason. Could anyone shed some lights where should I look into? I'm really confused and got no clue here. Thanks! Steps to reproduce -- # virsh start instance-name # virsh dumpxml instan...
2003 Feb 04
1
"Classful Queueing Disciplines" in LARTC HOWTO
...times, trying to understand Classful Queueing Disciplines (and in particular CBQ). I have some suggestions that I think will help to make the HOWTO more understandable. Suggestions ========= (1) In section 9.4 (Terminology) the definition for "Classes" states that: "A classful qdisc may have many classes, which each are internal to the qdisc. Each of these classes may contain a real qdisc". As far as I can understand, each class can actually contain one _or more_ qdiscs. Furthermore, (at least in the case of CBQ) a class may also contain one or more _classes_ (this re...
2006 Jan 22
1
classless qdisc and classful qdisc
Hello, I''m still new in using tc...I wanna ask... 1. what is the difference between classless and classful qdisc?? when I made a qdisc, are I must create both of that qdisc...??? 2. what is the difference beetween three of the classless qdisc in linux redhat 2.4, sfq pfifo and tbf if I using the htb classful qdisc ??? because when I use htb classful qdisc it means I made a qdisc that can rate b/w for each cl...
2007 Feb 09
4
need help with tc filters
Hi, I am attempting to set up some simple outbound shaping following the LARTC HOWTO. The HTB qdisc seems to work as the documentation says, but my filters don''t seem to be working. All of the packets go to the default queue regardless of what filters I set, it seems. (according to tc -s qdisc show) I am trying to get this working on my openwrt box (whiterussian rc6), but when test...
2005 May 06
5
Ingress rate
Hello I''m doing some qdisc programming and I want to get/read the current ingress rate from a kernel module I was wondering what is the most convenient of achieving this My idea is to load the ingress qdisc and the police filter if necessary. and modify the source to export a structure or function so I can read the ingres...
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...
2007 Apr 04
13
tc questions
...de 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 ... htb default ..." as a root node? Is it mandatory to work with htb class? - I understood that every class node has its own qdisc attached (fifo by default, right?). If that is the case, why when I do "tc qdisc show ..." it JUST shows me those qdisc I explicitly att...
2004 Mar 18
6
[PATCH] packet delay scheduler
...box". Alexey''s tc command is really easy to extend to new disciplines. There is a version which knows about this scheduler at: http://developer.osdl.org/shemminger/tcp/iproute2-delay.tar.bz2 The only changes were to tc/Makefile and new file tc/q_delay.c A trivial example is: tc qdisc add dev eth0 root delay latency 25ms rate 100mbit Try it, if others find it useful please consider adding it. diff -Nru a/include/linux/pkt_sched.h b/include/linux/pkt_sched.h --- a/include/linux/pkt_sched.h Thu Mar 18 12:04:02 2004 +++ b/include/linux/pkt_sched.h Thu Mar 18 12:04:02 2004 @@ -432...
2007 May 16
5
statistics and calc bandwidth traffic using tc -s qdisc show
2006 Jan 05
1
Adding dsmark qdisc fails
I ''m having a problem identical to one encountered on this list awhile back: >I''m trying to configure dsmark qdisc on 2.6.11.4 user mode linux and >tc from iproute2-2.6.11-050314. > > >I think I have some mismatch in my setup since adding dsmark qdisc >fails *unless* I specify "set_tc_index" argument which I believe should >be optional: > > ># tc qdisc add dev eth1...
2008 May 04
2
network-bridge called three times
...script and output logfile, note that my computer has two network interfaces - eth0 and eth1 Alex. -------------- next part -------------- Sat May 3 21:34:34 EDT 2008 Network bridge values: 'start' *****IP link parameters before script import 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 1000 link/ether 00:80:2d:8f:cf:de br...
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 d...
2005 May 24
3
four tc filter and netem questions
The following (occuring on debian/testing with kernel-image-2.6.8-2-386 version 2.6.8-13 and iproute version 20041019-3) confuses me: # tc qdisc add dev eth0 root handle 1: prio # tc filter add dev eth0 parent 1: proto ip pref 1 handle 1 fw classid 1:2 # tc filter ls dev eth0 filter parent 1: protocol ip pref 1 fw filter parent 1: protocol ip pref 1 fw handle 0x1 classid 1:2 # tc filter del dev eth0 parent 1: proto ip prio 1 fw # tc filter...
2003 Nov 23
4
u32 filter won''t match
...rk packets, please tell me. I would love to find some module that adds an IP option with UIDs and GIDs to the packets - does anyone know if such a module already exists?), and I want my router to deprioritize them. I also want to limit my outbound bandwidth to 750kbit overall. So anyway, this is my qdisc setup: tc qdisc add dev eth1 root handle 1: cbq bandwidth 10mbit \ avpkt 1000 rate 750kbit cell 8 tc qdisc add dev eth1 parent 1: handle 2: prio bands 4 tc qdisc add dev eth1 parent 2:1 handle 3: sfq perturb 10 tc qdisc add dev eth1 parent 2:2 handle 4: sfq perturb 10 tc qdisc add dev eth1 par...
2003 Jun 09
4
Some questions remaining about TC
Hello everybody, I try to work with TC for a little while in my study and there still are a few questions that I can\''t find any answer anywhere. Firts about qdisc and classes: - What is exactly the difference between qdsic and class ? They are so \"intimately tied together\" that i\''m not sure not make the difference. Why can\''t we have a qdsic HTB with a class CBQ within or reverse. - We have classes but is there any heritage...
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 ___________________________________________________________...
2006 Oct 18
2
Errors with GRED after upgrading to 2.6.18 kernel
ALL: <<diffserv-gred_10-06>> I have attached the current script that I am using. $TC qdisc add dev $EDEV parent 2:20 gred setup DPs 3 default 2 grio $TC qdisc change dev $EDEV parent 2:20 gred DP 1 limit $lim min $minTh max $maxTh avpkt $avgPL burst $bursty bandwidth $netBand probability 0.02 prio 2 $TC qdisc change dev $EDEV parent 2:20 gred DP 2 limit $lim min $minTh max $maxTh avpkt $...
2006 Apr 26
5
how to change classful netem loss probability?
Hi, I am using netem to add loss and then adding another qdisc within netem according to the wiki. Then i want to change the netem drop probability without having to delete the qdisc and recreate it. I try it but I get invalid argument: thorium-ini hedpe # tc qdisc add dev ath0 root handle 1:0 netem drop 1% thorium-ini hedpe # tc qdisc add dev ath0 paren...