Displaying 20 results from an estimated 20000 matches similar to: "More on qdiscs"
2004 Apr 15
6
When the inside functions of a sfq are called ?
I read the sched/qdiscs code from kernel source ... and I have some
questions :
When the .enqueue, .dequeue, .drop, .requeue functions are called ? What
is the event that triggers them and how often this event apears ( per
second ? ) ? When a qdisc is dequeued ( when it''s limit is reached ) ?
Thanks
_______________________________________________
LARTC mailing list /
2003 Jul 18
10
[HTB] htb_dequeue_tree assertion (kernel 2.4.21-ac4)
Hello,
I think the BUG_TRAP() in the htb_dequeue_tree() is wrong. First it
checks if the class pointer "cl" is NULL, which is obviously right. But
I do not understand why we also check whenever the queue length of the
leaf queue is zero "cl->un.leaf.q->q.qlen". I would have put that in the
expression of the "if" statements that comes afterwards. A queue
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
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
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
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 Sep 09
5
newbie - shaping a PSTN connection
Hi - I''ve been going through the LARTC how-to and have successfully used the
sample scripts (and wondershaper) with my xDSL links.
I''m now faced with the challenge of providing 8 users at work an effective
remote access connection over a PSTN ppp connection. The critical traffic in
this case relates to our stock enquiry application which is running over
terminal services.
2007 Aug 23
5
Help about a QoS configuration
Hi, I would like to make a QoS configuration on a linux based dsl router. It
is for a server, so I want to shape outgoing traffic, incoming traffic
should not be a problem as long as I have a quite assymetric connection. I
would like to achieve the following goals:
1) To have one class (p2p) having all the available bandwith if there is no
activity on other classes.
2) If another class (ftp
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
2006 Aug 02
10
[PATCH 0/6] htb: cleanup
The HTB scheduler code is a mess, this patch set does some basic
house cleaning. The first four should cause no code change, but the
last two need more testing.
--
Stephen Hemminger <shemminger@osdl.org>
"And in the Packet there writ down that doome"
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to
2000 Nov 18
9
priority bands don't reduce interactive latency?
I run a small Linux webserver and NAT router from my cable modem at home.
Whenever someone starts an http download, all other traffic from my LAN is
starved. Bandwidth is not really an issue, but latency is particularly
horrible -- pings that usually come back in 20ms can take up to 600ms while
the web server is active!
I set up QoS (netfilter+iproute2) on the NAT machine in an attempt to give
2006 Nov 15
7
Shaping incoming VoIP traffic fails
Hello,
I''m trying to get lossless VoIP traffic over my 3000k/500k ADSL line. Shaping
outgoing traffic is no problem: I set total ceil for outgiong device (ppp0)
to 450kbit and put VoIP into highest prio class. Even during full upload the
voice is clean on the other end.
Now I tried to get the same result for incoming data. I attached HTB to eth1
where the incoming voip traffic is
2004 Jul 01
20
[PATCH 2.6] update to network emulation QOS scheduler
This patch updates the network emulation packet scheduler.
* name changed from delay to netem since it does more than just delay
* Catalin''s merged code to do packet reordering
* uses a socket queue''s directly rather than layering on qdisc(fifo)
because this is used in performance tests.
* adds placeholder in API for future enhancements (rate and duplicate).
2004 Jan 29
5
Question(s) for the programming gurus
Hi all.
I''m quite new to the concepts of the "traffic control" framework, and
I''ve got a programming-related question. Hopefully someone has the answer...
Is it possible, either for the device driver itself or for a userspace
program, to get information about how many packets are currently queued
for a given network interface?
Let''s describe it a little
2005 Apr 27
4
do I need to iptables mark in this scenario?
Hello,
really new to advanced linux routing, but I have managed to setup
something that sort of works for my needs.
I have a linux box with this configuration:
Internet - eth0 - eth1 - many users
I''m using a NAT to allow my users Internet access.
On some users, I wish to shape their download speeds as to not overload
our outside connection.
Here is what I do to shape them at 64k
2006 Sep 14
10
tc is giving an error: RTNETLINK answers: File exists
Hello,
I''m using tc to limit the bandwidth of our wireless customers. I have a
working script, but I''m not happy with it. I''m trying to write a more
sophisticated script, but when I run it, it give me this error:
RTNETLINK answers: File exists
I have no idea what this error means or how to fix it. Here is a portion
of the script (the whole script shapes several
2005 Mar 30
5
netem with prio hangs on duplicate
hi
i tried the example given on the examples page to
duplicate selected traffic like
tc qdisc add dev eth0 root handle 1: prio
tc qdisc add dev eth0 parent 1:3 handle 3: netem
duplicate 40%
tc filter add dev eth0 protocol ip parent 1:0 prio 3
u32 match ip dst 11.0.2.2 flowid 1:3
when i ping from 11.0.2.2 to this interface my machine
hangs. the same thing works for drop or delay.
i would
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 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
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