Displaying 20 results from an estimated 44 matches for "5mbit".
Did you mean:
mbit
2005 Dec 14
3
exact rate
Hello
I am using htb (krenel 2.6.14.3 + esfq patch from fatooh.org) to limit the
bandwidth. But I want the absolute maximum rate to be for example 5Mbit
and not to exceed it.
here is the script:
$tc qdisc add dev ${NETIF} root handle 1 htb r2q 4
$tc class add dev ${NETIF} parent 1: classid 1:21 htb rate 5Mbit ceil 5Mbit
$tc class add dev ${NETIF} parent 1:21 classid 1:101 htb rate 2Mbit ceil
5Mbit prio 1
$tc class add dev ${NETIF} parent 1:21 cla...
2006 Feb 15
4
leaky bucket on bursty multicast
Hi all,
I have an average 2mbit multicast stream that once in a while bursts
high (up to 20mbit/s) in short periods (about 200ms). Could anyone
please help me with directions using tc for configuing leaky bucket
shaping to this stream? I have a 5mbit/s ceiling.
My system is running gentoo linux 2.6.14, and I have compiled in all
QoS modules.
Thanks.
Oivind
2003 Sep 04
3
CBQ Rate
...10Mb/s. The purpose is to test CBQ
Here is my script
-------------------------------------------------------------------
# Root qdisc
tc qdisc add dev eth0 root handle 1:0 cbq bandwidth 9Mbit \
avpkt 1000 cell 8
# Classes
tc class add dev eth0 parent 1:0 classid 1:1 cbq bandwidth 9Mbit \
rate 5Mbit weight 0.3 allot 1514 avpkt 1000 bounded prio 1
tc class add dev eth0 parent 1:0 classid 1:2 cbq bandwidth 9Mbit \
rate 5Mbit weight 0.3 allot 1514 avpkt 1000 bounded prio 2
tc class add dev eth0 parent 1:0 classid 1:3 cbq bandwidth 9Mbit \
rate 5Mbit weight 0.3 allot 1514 avpkt 1000 bounded pr...
2001 Jun 19
3
RTNETLINK answers: Invalid argument
...disc add dev eth1 root handle 20: cbq bandwidth 10Mbit avpkt 1000
echo root
tc class add dev eth1 parent 20:0 classid 20:1 cbq bandwidth 10Mbit rate \
10Mbit allot 1514 weight 1Mbit prio 8 maxburst 20 avpkt 1000
echo class
tc class add dev eth1 parent 20:1 classid 20:100 cbq bandwidth 10Mbit rate \
5Mbit allot 1514 weight 500Kbit prio 5 maxburst 20 avpkt 1000 \
bounded
echo 100
tc class add dev eth1 parent 20:1 classid 20:200 cbq bandwidth 10Mbit rate \
5Mbit allot 1514 weight 500Kbit prio 5 maxburst 20 avpkt 1000 \
bounded
echo 200
tc qdisc add dev eth1 parent 20:100 sfq quantum 1514b perturb 15
e...
2020 May 30
5
looking for ideas about how to create a constant data stream
Hi,
I'm looking for a good way to create a constant data stream that will occupy a
bandwidth of about 2--5Mbit/sec between two remote hosts over the internet. I
have full access to the hosts involved.
My first attempt to use scp to copy data from /dev/null on host A to /dev/null
on host B, but scp says '/dev/null: not a regular file'. If something like
that would work, I would be able to limit...
2006 Sep 01
1
HFSC help
...parent 1: classid 1:1 hfsc sc rate 10mbit ul rate
10mbit
### VOIP
$TC class add dev $dev parent 1:1 classid 1:10 hfsc rt umax 1500b dmax 5ms
rate 200kbit ls umax 1500b dmax 60ms rate 200kbit ul rate 200kbits
### Video
$TC class add dev $dev parent 1:1 classid 1:20 hfsc rt umax 1500b dmax 10ms
rate 5mbit ls umax 1500b dmax 60ms rate 5Mbit ul rate 5Mbit
## Data
$TC class add dev $dev parent 1:1 classid 1:30 hfsc sc rate 1mbit ul rate
10mbit
$TC class add dev $dev parent 1:1 classid 1:40 hfsc sc rate 1mbit ul rate
10mbit
$TC qdisc add dev $dev parent 1:10 handle 10 sfq perturb 10
$TC qdisc add dev $...
2005 Jan 31
0
Question about filters
Hello,
I need to do the following:
make a htb qdisc with its class of 70mbit
then add some classes, one of 10mbit, another of 10mbit, one of 5mbit
and the rest in last class (with also child classes).
The 5mbit class is a quaranteed one, and it is marked with a special
dscp. I will add an HFSC qdisc on this one, and then several classes
to it. When i add filters, what should i use as parent to say the
traffic should go to a HFSC class inside...
2004 Apr 21
0
Why cant I see the parent of a qdiscs?
...en I list all the qdisc with tc command it is not possible to see the
parent of the qdisc.
An example by the book.
# tc qdisc add dev eth0 root handle 1: htb default 30
# tc class add dev eth0 parent 1: classid 1:1 htb rate 6mbit burst 15k
# tc class add dev eth0 parent 1:1 classid 1:10 htb rate 5mbit burst 15k
# tc class add dev eth0 parent 1:1 classid 1:20 htb rate 3mbit ceil
6mbit burst 15k
# tc class add dev eth0 parent 1:1 classid 1:30 htb rate 1kbit ceil
6mbit burst 15k
# tc qdisc add dev eth0 parent 1:10 handle 10: sfq perturb 10
# tc qdisc add dev eth0 parent 1:20 handle 20: sfq perturb...
2007 Jun 25
5
RED to use ECN (or work at all?)
Dear Community,
sorry for the somewhat dumb question. Maybe someone has any pointer
to how to setup the RED queue to mark pakets with ECN. In particular
what are appropriate parameter settings for limit, min, max, etc.
All my trials end up with either "RTNETLINK answers: Invalid
argument", although the command line (at least for me) looks fine in
regard to what is said on the
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
2005 Jan 22
1
Some issues with X-Lite and codecs.
Hi there,
I am experiencing some issue with X-Lite.
When I am calling over the phone thru my PSTN-to-VoIP gateway
internationally using G.729 the quality is just perfect.
When I am using X-Lite to connect the same box, and then to call
internationally - I am experiencing some issues.
I have 5Mbit/800Kbit cable link with average 60 msecs to my VoIP box.
The transfer rate is never falling below 500Kbytes/sec.
Therefore I am not suspecting quite noticeable packet loss.
I enabled G.711 ulaw, alaw and speex codecs on both sides. By playing
with different codecs I am trying to avoid some
clicki...
2008 Jan 21
0
Question: Rate Limiting Per Subnet
If I do something like this:
========================================================================
==
tc qdisc add dev eth1 root handle 1: htb default 12
tc class add dev eth1 parent 1: classid 1:1 htb rate 25mbit ceil 27mbit
tc class add dev eth1 parent 1:1 classid 1:11 htb rate 5mbit ceil 7mbit
tc class add dev eth1 parent 1:1 classid 1:12 htb rate 25mbit ceil
27mbit
tc filter add dev eth1 protocol ip parent 1:0 prio 1 u32 \
match ip dst 0.0.0.0 flowid 1:12
tc filter add dev eth1 protocol ip parent 1:0...
2005 Dec 16
1
tc strange behaviour (some discoveries)
...ous message
I mentioned "rate", but I didn''t pay attention that ceil gets set
automatically to
the same value you set in "rate")
when you set ceil 128kbit, you start with 128kbit bandwidth, and it
goes up to 1mbit, if you set 1mbit, it starts with 1 mbit and goes up
to 5mbit
any comments? can someone verify? how can I debug this?
best,
--alex
2004 Jan 26
1
Help with a simple config
Here''s the scenario:
- 4 NIC''s; 1 Upstream, 3 subscribers each with different rates.
NIC-1: NO CAP simply 100mbit
I want to cap the traffic on each of the subscriber NIC''s to a specific rate
i.e.:
- NIC-2: 8mbit
- NIC-3: 5mbit
- NIC-4: 3mbit
Just to summarize, ALL I''m trying to do is limit the bandwidth on each NIC
(ingress & egress) whether it is 10/100/1000Base-T. Right now I am using a
Cisco using rate-limiting which is very simple. I''d like to perform this
task on Linux box for easier scali...
2001 Jun 12
0
Unknown filter "tcindex" ?
...packet outgoing to one
interface.
I do as the following :
tc q a dev eth0 root handle 10:0 cbq bandwidth 10Mbit avpkt 1500
tc c a dev eth0 parent 10:0 classid 10:1 cbq bandwidth 10Mbit rate
10Mbit maxburst 50 avpkt 1500
tc c a dev eth0 parent 10:1 classid 10:100 cbq bandwidth 10Mbit rate
5Mbit maxburst 50 avpkt 1500
tc q a dev eth0 parent 10:100 tbf limit 65535 burst 2048 rate 5Mbit
tc f a dev eth0 parent 10:0 protocol ipv4 prio 100 handle 151 tcindex
classid 10:100
The first 4 commands were executed successfully , but the last line
which use tcindex always
get the wrong echo as: &...
2007 Feb 07
0
HTB Troubleshooting
...e 100mbit
tc class add dev eth0 parent 1:1 classid 1:99 htb rate 100mbit
### shaping for users, 5Mbps down, 5Mbps up. default for beta test
for q in `seq 2 30` ; do
d=`printf "%x" $q`
### tun0
tc class add dev tun0 parent 1:1 classid 1:$q htb rate
5Mbit
tc filter add dev tun0 protocol ip parent 1:0 prio 1 u32
match ip dst 208.100.21.$q flowid 1:$q
### eth0
tc class add dev eth0 parent 1:1 classid 1:$q htb rate
5Mbit
tc filter add dev eth0 protocol ip parent 1:0 prio 1 u32
match ip src 20...
2010 May 29
1
IFB0 throughput 3-4% lower than expected
...ep -v ''^#'' tcrules
2:T 192.168.3.21/32 192.168.3.27/32 tcp - 5001
# egrep -v ''^#'' tcfilters
2:20 192.168.3.27/32 192.168.3.21/32 tcp 5001
The egress demonstration below indicates that throughput was 5.02mbit as
averaged over 20 seconds, in comparison to the 5mbit asked for.
# iperf -c mr-cool -i4 -t20 -p 5001
------------------------------------------------------------
Client connecting to mr-cool, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[ 3] local 192.168.3.21 port 60537 connected wi...
2005 Dec 14
1
mgen & tc
...#### AF
tc class add dev eth1 parent 2:1 classid 2:20 htb rate 2500Kbit ceil 10Mbit
tc qdisc add dev eth1 parent 2:20 pfifo limit 20
tc filter add dev eth1 parent 2:0 protocol ip prio 2 handle 10 tcindex \
classid 2:20 pass_on
############ BE
tc class add dev eth1 parent 2:1 classid 2:30 htb rate 5Mbit ceil 10Mbit
tc qdisc add dev eth1 parent 2:30 red limit 60KB min 15KB max 45KB \
burst 20 avpkt 1000 bandwidth 10Mbit probability 0.4
tc filter add dev eth1 parent 2:0 protocol ip prio 3 handle 0 tcindex \
mask 0 classid 2:30 pass_on
2007 Apr 24
2
Prioritizing based on HTTP Content-Type header
I''m setting up a reverse-proxy on a limited-bandwidth pipe. The
system is Debian "etch" on Linux 2.6, using squid as the proxy.
As we''ve only got 5mbit to play with, what I''d really like to do is
set up priority levels based on the Content-Type of the (outgoing)
response:
1. text/* gets highest priority (along with
application/x-javascript).
2. image/* gets middle priority.
3. */* gets lowest priority.
Today I tried just usin...
2002 Dec 03
4
Multiple classes
I''m trying to implement something similar the the diagram in section
9.5.2.1 in the LARTC HOWTO, but must have missed something somewhere :(
I''m trying to hack up wondershaper, as it looked like a good place to
start.. Here''s where I currently at, but I''ve tried alot of different
things, all failing, some worse than others. The end result is to throttle
back 126