Displaying 20 results from an estimated 326 matches for "requeued".
2006 May 19
25
iptables CLASSIFY and MARK not working?
I have to match my packets based on MAC address, which I cannot do in
the POSTROUTING chain, so I do it in PREROUTING using MARK. Then, I
match on the MARK in the POSTROUTING chain to do a CLASSIFY. But this
does not seem to work:
wireless-r1 bwlimit # iptables -L -v -n -t mangle
Chain PREROUTING (policy ACCEPT 3353K packets, 941M bytes)
pkts bytes target prot opt in out source
2005 Sep 28
4
Re:Does HTB consider PRIO or not? 2
Thanks for quick reply Andreas!
> Every class is allowed to use bandwidth as long as it does not have to
> borrow (the specified rate is guaranteed). Prio in HTB only affects
> borrowing bandwidth from other classes... In the example below, the class
> 1:5 should be allowed to borrow bandwidth before 1:14 does.
Thats exactly what I want from HTB to do..to prio the borrowed bandwidth.
2012 Nov 20
3
Simple Traffic Shaping Problem
Hello,
I have a problem with simple traffic shapping in shorewall, my current
configuration is:
zones
vlan10 ipv4 #
interfaces
vlan10 vlan10 detect tcpflags,routeback
shorewall.conf
TC_ENABLED=Simple
tcinterfaces
vlan10 Internal 1mbit:50kb
shorewall show tc
Device vlan10:
qdisc prio 5: root refcnt 2 bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
2007 May 19
1
Re: LARTC Digest, Vol 27, Issue 26
Hi folks...!!!
I need to generate qdisc statistics to show my 4 class (10, 20, 30, 40),
i`ve all working with HTB and so on, but i need to graph this results
e.gwith RRDTOOL.
I found a script made in perl, that can to graph my 4 class, but i need to
know which IP address on my LAN are using the bandwidth too, in other hand i
need to classify the traffic by IP to show.
This is an out of my
2006 Feb 24
4
why isn''t 1:1 getting the traffic? [filter question]
With the below script, whenever I ping 10.0.16.10 (which matches the
only filter I have), traffic still get''s sent to the default 1:2 class
instead of 1:1 and I don''t know why... Any hints?
(kernel 2.6.12, iproute2-2.6.15)
tc qdisc del dev eth0 root > /dev/null 2>&1
tc qdisc add dev eth0 handle 1: root htb default 2
tc class add dev eth0 classid 1:1 parent 1: htb rate
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 Dec 15
1
hfsc and bps
Hi!
Do you know somthing about hfsc and bps?
There''s no output for speed only for packets. Doesn''t hfsc support such
a field?
tc -s class show dev eth0
class hfsc 1: root
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
rate 0bit 0pps backlog 0b 0p requeues 0
period 0 level 2
class hfsc 1:11 parent 1:1 sc m1 0bit d 18.0ms m2 1000Kbit ul m1 0bit d
0us m2
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:
2010 Apr 22
1
PRIO qdisc + iptables TOS target
i am trying to do some traffic classification using the PRIO qdisc and
i am having a few problems.
I have a root htb class:
tc qdisc add dev imq0 root handle 1: htb default 255 r2q 1
tc class add dev imq0 parent 1: classid 1:1 htb rate 768kbit
and a child PRIO
tc class add dev imq0 parent 1:1 classid 1:99 htb rate 96kbit ceil
600kbit prio 0
tc qdisc add dev imq0 parent 1:99 prio
tc filter
2007 Aug 28
2
prio bands and ignored priomap when any tc filter is present
Today I''ve noticed a bit strange (?) behaviour when prio qdisc is used.
Example (having no filters/qdisc/etc. at the start) :
Add simple 9 bands qdisc, set each mapping to lowest priority band:
tc qdisc add dev $eth root handle 1: prio bands 9 priomap 8 8 8 8 8 8 8 8 8
8 8 8 8 8 8 8
If I do just that, all is fine - whole traffic ends in 9th band, what can
easily be verified by tc -s
2006 Apr 10
1
Where is the documentation for IFB ?
Hi all,
Can you tell me where is the documentation for the new IFB (implemented
in kernels > 2.6.16).
Thanks in advance!
Nikolay
2006 Sep 09
2
Re: htb traffic shaping problem (Charlie Meyer)
Eric,
I''ve attached the output from the command you requested below.
I''m using kernel 2.6.17.12 and tc version ss060323. I''m have a nforce4
onboard giggabit controller using the forcedeth driver, if that makes a
difference.
Charlie,
I''ll take a look at the Apache model for throttling, thanks. I was going
for tc because was going to try to add additional
2007 May 16
5
statistics and calc bandwidth traffic using tc -s qdisc show
2007 Oct 25
7
TC (HTB) doesn''t work well when network is congested?
Hi,
I have a server and ten clients in a Gigabit network. The server has
125mbps network bandwidth.
I want that the server has 40Mbps bandwidth reserved for client 1 (IP
192.168.5.141), and the
rest bandwidth is for all other clients.
My script looks like this (I use IFB for incoming traffic):
#!/bin/bash
export TC="/sbin/tc"
$TC qdisc add dev ifb0 root handle 1: htb default 30
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
2006 Mar 08
1
negative token/ctokens
In this simple htb setup:
# tc -s -d class ls dev eth0
class htb 1:1 root rate 300000bit ceil 300000bit burst 1749b/8 mpu 0b overhead
0b cburst 1749b/8 mpu 0b overhead 0b level 7
Sent 13171835 bytes 13169 pkt (dropped 0, overlimits 0 requeues 0)
rate 45848bit 10pps backlog 0b 0p requeues 0
lended: 5272 borrowed: 0 giants: 0
tokens: -84429 ctokens: -84429
class htb 1:2 parent 1:1 prio 0
2007 Feb 01
0
tc filter Questions
I''m attempting to set up a hierarchy of tc qdiscs with filters, but the
filters don''t seem to be working correctly. I''m running iptables 1.3.5
with iproute 2.6.16.20060323 on a Gentoo 2.6.18 kernel. The system
takes all my tc setup, but does not filter packets as I am expecting it
to based on my ruleset.
My tc qdiscs and classes are added correctly and report as
2006 Sep 06
0
Can i attach another qdisc (htb) under HFSC classfull ?
Hi,
Is it possible to attach another qdisq under a HFSC classfull ?
I try it and the configuraton works :
$TC qdisc add dev $dev root handle 1: hfsc default 30
$TC class add dev $dev parent 1: classid 1:1 hfsc sc rate
${RATE}mbit ul rate ${RATE}mbit
$TC class add dev $dev parent 1:1 classid 1:10 hfsc rt umax 1500b
dmax 30ms rate 200kbit
$TC class add dev $dev
2005 Oct 11
3
Inaccurate results without natting the traffic.
Hi folks.
For quite a while, I tried to use linux (cbq and htb) to control
bandwidth in order to replace a cisco equipment used to play this role
on our network.
After trying here and there, with a bunch of different distros,
different versions, different compilations, ... the closest I could
get was as follows:
(using htb.init and cbq.init)
Desired BW ==> Achieved BW
128k ==> 404.78
2004 Jun 17
1
[PATCH] (2/4) delay scheduler - retry if requeue fails
If delay scheduler decides not to send the packet right away, it requeues
it. If the requeue fails, it should go and look again rather than waking
up prematurely.
Same patch should apply to both 2.6 and 2.4
Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
diff -Nru a/net/sched/sch_delay.c b/net/sched/sch_delay.c
--- a/net/sched/sch_delay.c 2004-06-17 15:19:07 -07:00
+++