Displaying 20 results from an estimated 2000 matches similar to: "Priomap"
2007 Jun 28
1
pfifo_fast priomap
Hi list,
I have a quick question about the priority mapping of tos bits. The manpage
of tc-prio shows a nice table with tos bits and the band they
are mapped to:
TOS Bits Means Linux Priority Band
------------------------------------------------------------
0x0 0 Normal Service 0 Best Effort 1
0x2 1 Minimize Monetary Cost 1 Filler
2007 Aug 29
1
Alternative section to the HOWTO...
IMHO, the priomap explanation in the 9.2.1.1. of the LARTC HOWTO is not
clear enough. I only understood it''s real behavior until I read this
document from Russell Stuart:
http://ace-host.stuart.id.au/russell/files/tc/doc/tc/priority.txt So, based
in this information, I''ve prepared an alternative priomap explanation for
this section of the HOWTO, if you like it as it is I could
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 Aug 25
2
Now to make only Traffic Priority
Hi to everybody.
I read some info and documentation but i still can''t find how to make
this simple setup for example .
I just want to make priority of certain traffic without shaping the
traffic .
For example SSH and RDP first priority
Mail second priority
WEB and FTP third
And everything else last priority.
What will be the simple and best way to achieve this.
I will appreciate
2002 Nov 21
2
the mistery of priomap
Dear list,
before writeing this mail I really searched in the mailing list and deeply
red the HOWTO, but I didn''t find a clear and univoque answer to my doubt.
What is the meaning of the priomap? And what kind of TOS concerns?
My first opinin was the one-to-one correspondence of the priomap and the 16
values of the four TOS bits. I mean
priomap 1 2 0 3 0 0 0 0 0 0 0 0 0 0 0 1
implies
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
2007 Aug 22
4
Limited number of bands in PRIO qdisc
Hello,
is it possible that the number of bands for the PRIO qdisc is limited to 16?
tc qdisc add dev $DEVICE root handle 1: prio bands 16 priomap 1 2 2 2 1 2 0 0
1 1 1 1 1 1 1 1
succeeds but
tc qdisc add dev $DEVICE root handle 1: prio bands 17 priomap 1 2 2 2 1 2 0 0
1 1 1 1 1 1 1 1
returns: ''RTNETLINK answers: Invalid argument''
Is there any possibility to raise the
2005 Feb 02
8
can''t understand strange PRIO behaviour
Hello everybody,
sorry for bothering you, but after some hours, I''m stuck. I''m living in
a student''s foundation where I want to connect lots of people to a tiny
DSL link. We have exactly four types of traffic. We want a really hard
PRIO solution (as I promised to someone that group X will only use the
link capacity which isn''t used by group Y). I could make a
2005 Feb 06
2
problems with u32 fiter
hello to all
i''m trying to set a filter but doesn''t want to work.
i''ve set ut the qdiscs and the classes like this :
tc qdisc add dev ppp0 root handle 1: htb default 20
tc class add dev ppp0 parent 1: classid 1:1 htb rate 120kbit
tc class add dev ppp0 parent 1:1 classid 1:20 htb rate 30kbit ceil 120kbit
tc class add dev ppp0 parent 1:1 classid 1:21 htb rate 30kbit ceil
2003 Jul 13
1
slowing down traffic to a certain port
This is my first attempt at understanding lartc:
I want to throttle outgoing bandwidth fo a certain tcp port and leave
other traffic the way it was.
so I put a prio qdisc at the root of eth0 (dummy priomap since i want to use
filters to switch bands):
$ tc qdisc add dev eth0 root handle 1: prio bands 2 priomap 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
then attach a tbf qdisc at 1:2 :
$ tc qdisc add dev
2001 Jun 26
1
prio fighting
Hi,
I have done this setup to give the machine 192.168.1.4 (masqueraded over
dialup) the highest priority:
#! /bin/bash
WHAT="add"
iptables -A PREROUTING -i eth0 -s 192.168.1.1 -t mangle -j MARK
--set-mark 1
iptables -A PREROUTING -i eth0 -s 192.168.1.4 -t mangle -j MARK
--set-mark 4
tc qdisc $WHAT dev ppp0 root handle 1: prio bands 3 priomap 0 1 2
tc qdisc $WHAT dev ppp0 parent 1:1
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
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
2001 Jun 08
2
Problem with TC
Hi,
I am not sure if this problem has been discussed already. I am running red-hat LINUX 2.2.14 and the version of iproute that comes with it. The problem is that whatever I give as a command it tells me
RTNETLINK answers : Invalid argument
Example :
tc qdisc add dev eth2 handle 10: root estimator 1sec 8sec prio bands 3 priomap 0 1 2
I have tried all kinds of combinations and it refuses to
2004 Nov 29
2
Interesting oopses...
OK - this is starting to get frustrating... Are there any known issues
with 2.6.9 and traffic shaping? I am using 2.6.9 with geoip 20041115,
and get odd oopses. The following script oopses my box:
-----------------------------------------------------
#!/bin/sh -x
IFOUT=''eth1''
IFIN=''eth0''
TC=''/sbin/tc''
2007 Apr 02
1
Please Help: Can''t access bands > 10 on prio qdisc
Hi,
I''m trying to set up 15 different delay intervals for packets leaving
on an interface, using netems hanging off of a 16-band prio.
I''m having trouble adding anything to bands higher than 10. Here''s
what I tried:
tc qdisc add dev eth0 root handle 1: prio bands 16 \
priomap 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
I want all default traffic to go to
2006 Jul 26
2
static linking of /usr/sbin/tc?
Hello,
I am trying to revive an old linux server installation, which still has
libc5. Sadly, most current software does not compile anymore on this
system, including the tc utility. As with other tools (net-tools,
coreutils, procps etc.) I tried to compile and statically link
(LDFLAGS=-static) on a more recent linux machine and copy the static
binaries over to the old machine.
But no luck
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
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,
2011 Mar 13
16
Shorewall 4.4.19 Beta 1
Beta 1 is now available for testing.
----------------------------------------------------------------------------
I. P R O B L E M S C O R R E C T E D I N T H I S R E L E A S E
----------------------------------------------------------------------------
1) Previously /var/log/shorewall*-init.log was created in the wrong
Selinux context. The rpm''s have been modified to