similar to: "Classful Queueing Disciplines" in LARTC HOWTO

Displaying 20 results from an estimated 10000 matches similar to: ""Classful Queueing Disciplines" in LARTC HOWTO"

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 Dec 23
2
rate 0bit
Hi I''m trying to understand this qdisc stats output: #tc -s qdisc ls dev [interface] [..] qdisc htb 1: r2q 10 default 13 direct_packets_stat 38 Sent 3867654734 bytes 7023775 pkt (dropped 4, overlimits 4852340 requeues 0) rate 0bit 0pps backlog 0b 11p requeues 0 [..] In all my qdiscs, I''ve got "rate 0bit". What does it mean ? As you can see, there is some traffic
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 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
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 ...
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
2004 Jan 19
5
a couple of questions regarding htb
Dear list, I want to rate-limit a couple of customers in both up and down directions. They get a different speed for traffic staying on our network than for traffic towards/from the internet, so that''s a master class and 2 child classes per customer per interface. I made a test setup with cbq which worked, but wasn''t too reliable I measured a tolerance of about 30%. I read
2002 May 05
16
More on qdiscs
I notice one other small problem with my modified version of SFQ. The fact that packets can be dropped at dequeue time is incompatible with the way HTB (and probably CBQ and others modeled on it) keep statistics. When I fill a low rate queue causing packets to expire and be dropped at dequeue I get interesting statistics like this: This is my variant of SFQ qdisc plfq 8016: dev eth1 ... Sent
2003 Sep 04
3
CBQ Rate
Hi everyone, This is on a linux box, ingress (eth1) at 100Mb/s and egress (eth0) at 10Mb/s. The purpose is to test CBQ Here is my script ------------------------------------------------------------------- # Root qdisc tc qdisc add dev eth0 root handle 1:0 cbq bandwidth 9Mbit \ avpkt 1000 cell 8 # Classes tc class add dev eth0 parent 1:0 classid 1:1 cbq bandwidth 9Mbit \ rate 5Mbit weight
2006 Aug 13
3
trying to prioritize voip traffick
I am using a server with asterisk and I am trying to prioritize voip traffick -- I am a newbie at this traffic shaping, so please bear with me. I used the script below and what happens is thatall traffic in the bulk class stops after a couple of minutes. Also, should I include the ports for rtp in the filter statements with the ports 5061 and 4569? Note I have a fairly big pipe -- supposed to
2005 Jan 04
4
Scheduler Mechnisms!
Hello, Normally, in addition to such qdisc scheduler mechanisms as FIFO, PQ, WRR, WFQ, are there any more? Then, there is a confusion on scheduler in Linux enviroment: Assume there is a qdisc, such as RED as a leaf qdisc in a router, we know, if there is packet which want to enqueue the packet, the Function red_enqueue is called, but when the packet leave the queue(when the Function red_dequeue
2006 Jul 19
2
PRIO and CBQ
Hi, I''m work on traffic shaping and I would like to know if it''s possible to mix differents Queueing Disciplines ?? I would like to combine the proporties of a PRIO discipline with that of a CBQ discipline. I read some documentation and I found nothing about that, can you help me ? I think to try something like that : tc qdisc add dev $DEV root handle 1: cbq … tc class add dev
2004 Aug 13
1
Shaping weirdness
I''ve been following the HOWTO, and reading mailing list discussions about throttling bandwidth, and have had some success, but I just want to tie off some loose ends. Essentially what I am wanting to do is to keep our bandwidth usage below 1megabit, because if we go over we get charged for that traffic. I''ve used some of the examples from the HOWTO to limit our bandwidth, but I
2005 Jul 15
6
Problems setting up nested qdisc, feedback to LARTC HOWTO
Hi all, based on the information in the "Linux Advanced Routing & Traffic Control HOWTO", I was trying to set up traffic shaping on my firewall. While I found the HOWTO very useful, in the process I ran into some problems that I did not forsee: According to the HOWTO it seems that it should have worked, even after spending some time going through the sections looking for answers,
2003 Jun 03
1
tc usage
Dear List, I am a tc newbie, and I''ve been working through the LARTC HOWTO to try to understand how qdiscs, classes, and filters fit together. I was confused by the example in section 9.5.5.1 (see excerpt below). I thought that classes were could only be attached to qdiscs (classful ones). In the example, however, classes are being attached to other classes. Can anybody explain to me
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 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
2005 Jul 10
1
is the lartc documentation right about filters on HTB
Hi, Just a short question: in documentation (http://lartc.org/howto/lartc.qdisc.filters.html) it appears that "Also, with HTB, you should attach all filters to the root!" . Is it older information or you can not attach filter to the inner qdiscs at all? Thank you, alex _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl
2001 Feb 10
0
use of queueing disciplines in netfilter queues
http://www.linuxdoc.org/HOWTO/Adv-Routing-HOWTO.html 9.5 Ingress policer qdisc contains: FIXME: instead of dropping, can we also assign it to a real queue? Has anyone done this? What support is there or alternatively, what''s missing? I''d like to use netfilter to queue packets and then connect that to things like TBF. For instance, suppose we want to process the incoming
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