Displaying 20 results from an estimated 4000 matches similar to: "sfq, queue len and dropped packets"
2002 May 03
2
Some questions concerning IPtables (& IMQ/SFQ)
Hi there!
Some questions I couldn''t find an answer for:
IPtables:
- Is it possible to filter those ACK-packets (to eleminate problems
with ADSL-connections) with IPtables? It wasn''t possible with IPchains,
so u32 had to be used. Now there is this nice little --tcp-flags
option. But I just don''t know if this is all I need. The u32 was
checking for packetsize too. So if
2007 May 16
5
statistics and calc bandwidth traffic using tc -s qdisc show
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 Nov 11
2
marked packets end up in wrong class
Hello,
I have recently started looking at tc and iptables. I have an htb-queue
with two classes 1:10 and 1:20 where 1:20 is the default. Then I use
iptables to mark all packets I send out on eth1. I then filter marked
packets into class 1:10. I expected all packets sent on eth1 to end up in
class 1:10, but some packets still go to 1:20. Did I do it wrong?
Thank you for any help.
regards,
David
2006 Sep 08
8
htb traffic shaping problem
Hello.
I have a linux server connected to a gigabit lan, and though that lan to a
768kbps/768kbps DSL modem.
I''m trying to shape my webserver running on port 80/443 down to 512kbps,
while leaving all other ports alone. The current configuration script that
I''m using is as follows:
tc qdisc del dev eth0 root
tc qdisc add dev eth0 root handle 1: htb default 99
tc class add dev
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
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
2005 Jul 08
5
HTB Rate and Prio
Hi,
I wanted to implement some QOS on my Linux Box with HTB, but after some time
spend
on the configuration and tests, I still don''t manage to have some correct
results. Here are the details :
-ROOT 2000 kbits
-HIGHPRIO SUBCLASS 50 kbits prio 0
-SUBCLASS1 750 kbits prio 1
-SERVICE1 250 kbits prio 1
2005 Jan 10
1
Could anyone explain the slot and bucket concept in SFQ to me?
Dear all,
I''m reading codes in sch_sqf.c in kernel 2.4 of Linux.
I find I messed up with the concept of slot, bucket and hash tables. Could
anyone explain the data stucture of the hash tables a little to me.
Thanks very much.
Best,
Franklin
BTW: I can not understand why the number of entries of dep[SFQ_DEPTH*]
should be twice:(
_______________________________________________
LARTC
2004 Apr 06
11
htb2 -> htb3 problems
Hello!
I need to switch from htb2 to htb3, because of speed issues (for me,
htb2 is unable to handle more then 100mbit duplex with ~550 classes),
kernel profiling shows htb_dequeue_prio at 1st place with 3x isolation.
So, I''ve moved from 2.4.19 to 2.4.25 kernel (hi-pac for classification/marking
and htb3 for queueing), and traffic rate drop from 100 to 20mbit.
What can be wrong? The
2004 Nov 24
5
HTB Script
2007 Sep 07
2
Prioritizing VOIP traffic without sacrificing throughput
Hi,
I would like to prioritize VOIP traffic when we use the phone, but other
times not do traffic shaping at all.
Right now I have my openwrt router set up with htb to do shaping. In
order to get it to work well I had to set my upload and download speeds
much lower than my line speed. With these settings, I get good VOIP
reception even while surfing the net and doing a long download.
However,
2005 Feb 16
10
VOIP Challenges...
Greetings -
I''m new to QoS, so please be gentle (and yes, I''ve RTFM, though I don''t
understand every bit of it)
Here''s the thing; I''ve tried several scripts--simple and complex--for
classifying my Vonage traffic into a high-priority queue, but no matter what
I do it doesn''t seem to work. Right now I''m using the HTB script
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
2004 Oct 21
2
how to read the stats
Hi
I have setup iproute2 and need a bit of help reading the stats from it
===== output
qdisc htb 1: r2q 10 default 20 direct_packets_stat 0 ver 3.17
Sent 547326809 bytes 1342627 pkts (dropped 9303, overlimits 2817572
requeues 0)
backlog 46p
qdisc sfq 10: limit 128p quantum 1514b flows 128/1024 perturb 10sec
Sent 41874343 bytes 730889 pkts (dropped 0, overlimits 0 requeues 0)
qdisc sfq
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 ...
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
2002 Feb 28
6
basic htb setup
Hey all. I''m trying to set up QoS using the HTB qdisc in a very basic
setup, but it the example shown in the howto doesn''t seem to be working.
While the packets show up in the correct classes, they appear to be
completely ignoring the rates, meaning nothing gets shaped.
My setup is that I''ve got a a bunch of machines behind my firewall/router:
1.2.3.1
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