Displaying 20 results from an estimated 20000 matches similar to: "Giving high proprity to SIP packets"
2004 May 20
0
Shaping packets instead of bytes
I want to shape the number of packets a certain class can send to
the internet. The size of the packets - and therefore the bytes that
are actually send - is not to be taken under considaration. Only that a
specific rate of packets can leave for the specific class.
I haven''t found a way to do this with any of the qdiscs supplied
with the default 2.4.25 kernel (htb, cbq, tbf etc
2004 Sep 20
0
Shaper & prio qdisc
Hello. Sorry for my poor english =)
I have following config for traffic prioritization:
tc qdisc add dev eth0 root handle 1: prio
tc qdisc add dev eth0 parent 1:1 handle 10: tbf rate 7000kbit buffer 1600
latency 2msec
tc qdisc add dev eth0 parent 1:2 handle 20: sfq
tc qdisc add dev eth0 parent 1:3 handle 30: tbf rate 3000kbit buffer 1600
latency 50msec
tc qdisc add dev eth1 root
2004 Oct 20
0
up and down shaping based on IP
Hello, i have a server (486sx and 16ram). It gives me this error :
NETDEVICE WATCHDOG eth1 : ...timeout.
I checked in many places for solutions. Even wrote to this mailinglist.
But lately i recived information, that too much upload
may mix my adsl modem up. So..... my question is how should my script
look while the situation is :
eth0 - connected to adsl modem and thus to internet
eth1 -
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
2004 Oct 21
3
[Fwd: up and down shaping based on IP]
Hello, i have a server (486sx and 16ram).
My pc is providing internet to 12 other computers. Ethernet cards are
realteks 8139 (drivers builtin to the kernel 2.6.8).
It gives me this error :
NETDEVICE WATCHDOG eth1 : ...timeout.
I checked in many places for solutions. Even wrote to this mailinglist.
But lately i recived information, that too much upload
may mix my adsl modem up. So..... my
2007 May 10
6
PRIO and TBF is much better than HTB??
Hello mailing list,
i stand bevor a mystery and cannot explain it J. I want to do shaping and
prioritization and I have done these following configurations and
simulations. I canĀ“t explain, that the combination of PRIO and TBF is much
better than the HTB (with the prio parameter) alone or in combination with
the SFQ.
Here are my example configurations: 2 Traffic Classes http (80 = 0x50) and
2003 Sep 16
1
rate limited pfifo_fast?
Hi,
I have a cable modem with a bandwidth capped upload rate. I''d like to
prioritize packets going outbound according to the TOS header of the IP
field. I''ve read through the LARTC Howto several times, and I think I have
a good feel for the information it it. It also seems that what I''m trying
to do is pretty straight-forward and common. Unfortunately, the HOWTO
2002 Dec 19
1
linux bridging and htb.init / cbq.init
Hello,
I''am successful using a linux (2.4.20) bridge and the cbq.init_v0.7
script for traffic shaping. But I can only use the queuing discipline
tbf (LEAF=tbf). If I try use queuing discipline sfq or none then tc
applies the rules but no shaping occurs.
Is this problem a normal behavior when using bridging ?
I tried to use htb.init (using patched tc binary). It accepts
the rules but
2004 Oct 12
0
ssh and cs LAG
I have htb on 486 sx with 16mb ram. Slackware 9.1. Connection : dsl 1Mbit.
486 works as router and trafic shaper for network made of 12 pc''s. it
does the job quite well, but when i play Counter-Strike or connect to my
486 via ssh (on lan), i get huge lag every 11-20 sec. when i connect to
486 via ssh and run iptraf program i see all the trafic, and after a
while when lag comes the
2003 Nov 14
1
rate vs peakrate - TBF.
Hi,
Can you please explain to me the difference between
rate and peakrate, in conjucture to TBF.
IMHO,
rate : controls the no. of pkts flowing through the
pipe, and
peakrate : controls the no. of tokens flowing through
the bucket. A funtion(?) of peakrate and mtu is rate.
If this is true, why do I need to specify both
peakrate and rate?
Regards,
suraj.
__________________________________
Do
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
2004 Dec 28
1
Newb question: tc shedulers on 2 interfaces
Hi all! I''m new to this list, and hope for some clarity in this matter:
I have a home-gateway with linux-2.6.9 and iproute2 (ver:2.6.9). My
following tc syntaxes.
# eth0 internet scheduleing are:
tc qdisc add dev eth0 root handle 1: htb default 20
tc class add dev eth0 parent 1: classid 1:1 htb rate 512kbit burst 6k
tc class add dev eth0 parent 1:1 classid 1:10 htb rate 512kbit burst
2004 Jun 08
1
Oops on tc-graph.pl of all things
It only makes a few calls to `tc`:
rebecca:~# grep TC /home/jasonb/src/tc-graph.pl
$BIN_TC="/sbin/tc";
my @qdisc=`$BIN_TC -d qdisc show dev $DEV`;
my @class=`$BIN_TC -d class show dev $DEV`;
@filter=`$BIN_TC -d filter show dev $DEV parent $parent`;
But something ultimately Oopses:
rebecca:~# uname -a
Linux rebecca 2.6.6 #1 Thu May 20 17:21:44 EDT 2004 i686 GNU/Linux
2004 May 04
4
Wrapping prio in tbf
The manual says (about prio):
> Because it doesn''t actually shape, the same warning as for SFQ holds:
> either use it only if your physical link is really full or wrap it
> inside a classful qdisc that does shape. The latter holds for almost all
> cable modems and DSL devices.
I want to wrap prio inside of tbf. Here''s why: I have a server on a DSL
line, which has
2002 Dec 31
3
[tcng] More complex example?
Hi
I''m completely stuck with the tcng language - I assume there must be
some way to arrange queues hierachically like
eth1
|
TBF
|
PRIO
/ \
class class
but my attempt (below) produces a "inferno.tc:8: qdisc "tbf" has no
classes near "prio"" when run through tcc.
dev eth1 {
egress {
tbf (rate 128kbps, burst 64kb,
2004 May 29
1
problem with 2.4.26 debian+vpn+qos+netfilter
hi
i am running Debian/GNU Linux with 2.4.26 kernel and radius server
my kernel conf looks like this
<*> Packet socket
[ ] Packet socket: mmapped IO
< > Netlink device emulation
[*] Network packet filtering (replaces ipchains)
[*] Network packet filtering debugging
[ ] Socket Filtering
<*> Unix domain sockets
[*] TCP/IP networking
[*] IP: multicasting
[*] IP: advanced
2004 May 31
2
shaping
Hi!
Is there any way to do just plain vanilla TBF (Token Buck Filter) type
shaping on a group of ips/networks, not an entire interface.
Currently the only way I know how to shape in Linux is to use HTB or CBQ,
but both of these need a total rate and then you need to subdivide that
into classes. That is not what I want. All I want is Cisco generic traffic
shaping style shaping (or similar to how
2003 Apr 23
1
cbq.init
About the cbq.init. Four machines which traffic to limit in same LAN.
Is the samething if I put limiting rules to four different files or all to
the same file? Like:
DEVICE=eth0,10Mbit,1Mbit
RATE=64Kbit
WEIGHT=6Kbit
PRIO=5
RULE=192.168.0.5
RULE=192.168.0.6
RULE=192.168.0.7
RULE=192.168.0.8
OR four equal files with different IPs, Ids and no PARENT rule?
What style of ID numbering you use if
2005 Feb 04
0
Unable to delete htb class
Hi,
Im trying to delete an htb class using tc... but i get the following error
RTNETLINK ANSWERS: Device or resource busy What could be the problem?
I had attached a tbf to it and removed it prior to removing the class.. i tried to delete the class without deleting the qdisc also.. both cases it fails..
Any help regarding this will be most appreciated..
Thanks in advance,
Sanjeev R
--
2004 May 22
6
MARK causes high CPU usage / using tc in conjunction with MASQ
Using below configuration multiplied by 3000+ nodes to control bandwidth
causes very high kernel cpu usage (99.5%) narrowed it down to the mangle
table. Any ideas to do this more efficiently would be appreciated.
The mangle table entry (indicated by ***) is sucking all the cpu. I am
running RH7.3 kernel 2.4.18-3 and iptables 1.2.5
This setup has worked well for more than 1000 devices but as the