Displaying 20 results from an estimated 67 matches for "100kbps".
2006 Jun 26
4
Can i attach another qdisc under classes or root qdisc?
...n about that. and Could you advise me about Is it can do for real????
//first .. define root qdisc
tc qdisc add dev eth0 root handle 1: fifo
//second ... define class under root qdisc but algorithm''s not same like root qdisc algorithm
tc class add dev eth0 parent 1: classid 1:1 htb rate 100kbps ceil 100kbps
tc class add dev eth0 parent 1: classid 1:2 hfsc rate 100kbps ceil 100kbps
//later attach qdisc to those classes
tc qdisc add dev eth0 parent 1:1 classid 10:11 htb rate 100kbps ceil 100kbps
tc qdisc add dev eth0 parent 1:2 classid 10:21 hfsc rate 100kbps ceil 100kbps
Is is true or fa...
2006 Sep 10
1
HTB and tc filter
...d my kernel ( 2.4.32 ) with all options related a QOS
enabled ( like modules ) and nothing happens. I get the tc tool from
HTB source package, well this is my set :
eth0 is my internal NIC.
tc qdisc add dev eth0 root handle 1: htb default 12
tc class add dev eth0 parent 1: classid 1:1 htb rate 100kbps ceil
100kbps
tc class add dev eth0 parent 1:1 classid 1:10 htb rate 30kbps ceil
100kbps
tc class add dev eth0 parent 1:1 classid 1:11 htb rate 10kbps ceil
100kbps
tc class add dev eth0 parent 1:1 classid 1:12 htb rate 60kbps ceil
100kbps
tc filter add dev eth0 protocol ip parent 1:0 prio 1 u32...
2006 Sep 10
1
help with HTB and tc
...d my kernel ( 2.4.32 ) with all options related a QOS
enabled ( like modules ) and nothing happens. I get the tc tool from
HTB source package, well this is my set :
eth0 is my internal NIC.
tc qdisc add dev eth0 root handle 1: htb default 12
tc class add dev eth0 parent 1: classid 1:1 htb rate 100kbps ceil
100kbps
tc class add dev eth0 parent 1:1 classid 1:10 htb rate 30kbps ceil
100kbps
tc class add dev eth0 parent 1:1 classid 1:11 htb rate 10kbps ceil
100kbps
tc class add dev eth0 parent 1:1 classid 1:12 htb rate 60kbps ceil
100kbps
tc filter add dev eth0 protocol ip parent 1:0 prio 1 u32...
2002 Oct 08
1
how can i choose HTB''s prio
HTB and imq was used to control traffic.
AC="tc class add dev eth0 parent"
$AC 1: classid 1:1 htb rate 100kbps burst 2k
$AC 1:2 classid 1:10 htb rate 50kbps ceil 100kbps
burst 2k prio 1
$AC 1:2 classid 1:11 htb rate 50kbps ceil 100kbps
burst 2k prio 2
$AC 1:2 classid 1:12 htb rate 50kbps ceil 100kbps
burst 2k
please tell me if i do not set prio, what is the
default prio? low delay class can use prio 2,the...
2002 Sep 17
8
the range of HTB''s prio
HTB and imq was used to control traffic.
AC="tc class add dev eth0 parent"
$AC 1: classid 1:1 htb rate 100kbps burst 2k
$AC 1:2 classid 1:10 htb rate 50kbps ceil 100kbps
burst 2k prio 1
$AC 1:2 classid 1:11 htb rate 50kbps ceil 100kbps
burst 2k prio 1
please tell me the range of "prio"
_________________________________________________________
Do You Yahoo!?
新鲜到底,娱乐到家 - 雅虎推出免费娱乐电子周报!
http://c...
2006 Feb 24
4
why isn''t 1:1 getting the traffic? [filter question]
...ll 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 100kbps ceil 100kbps quantum 1500
tc class add dev eth0 classid 1:2 parent 1: htb rate 90mbit ceil 90mbit quantum 1500
tc qdisc add dev eth0 handle 2: parent 1:2 sfq perturb 10
tc class add dev eth0 classid 1:10 parent 1:1 htb prio 0 rate 30kbps quantum 1500
tc qdisc add dev eth0 handle 10: parent 1:10 sfq...
2005 May 05
5
packet shaping bridge
...0" to monitor the traffic.
Any ideas? Should I move to CBQ?
I''m currently tweaking but this is what I have for now:
-----------------------
#!/bin/sh
DEV=eth0
#setup the root
#tc qdisc add dev $DEV root handle 1: htb default 11
tc class add dev $DEV parent 1: classid 1:1 htb rate 100kbps ceil 100kbps
#Tokyo class
tc class add dev $DEV parent 1:1 classid 1:10 htb rate 50kbps ceil 100kbps
#Everything else
tc class add dev $DEV parent 1:1 classid 1:11 htb rate 50kbps ceil 100kbps
#filter for streaming
tc filter add dev $DEV parent 1:1 protocol ip prio 0 u32 match ip src
10.2.1.7 mat...
2007 Dec 04
2
Simple Example isnt working (ssh/bulk traffic)
Hi,
the script below should allow to get ssh connections running well while
downloading, but even the 100kbps (100kbyte/s?) doesnt work - can still
download with 500+kb/s. Whats wrong?
INTERFACE=eth0
#clear all on $INTERFACE
tc qdisc del dev $INTERFACE root
tc qdisc add dev $INTERFACE root handle 1:0 htb default 15
#root qdics, allows borrowing for its children
tc class add dev $INTERFACE parent 1:...
2005 Jul 22
3
HTB as a child of another HTB - doesn''t work
...re speed. (Just like when there was no HTB and qdisc).
What do I do wrong?
Here is my script:
#!/bin/bash
tc qdisc del dev eth0 root
iptables -F
iptables -F -t mangle
# qdisc for delay simulation
tc qdisc add dev eth0 root handle 100: htb
tc class add dev eth0 parent 100: classid 100:1 htb rate 100kbps
tc qdisc add dev eth0 parent 100:1 handle 1: htb
tc class add dev eth0 parent 1: classid 1:1 htb rate 100kbps
tc class add dev eth0 parent 1:1 classid 1:10 htb rate 50kbps ceil 100kbps prio 1
tc class add dev eth0 parent 1:1 classid 1:20 htb rate 50kbps ceil 100kbps prio 2
tc qdisc add dev eth0...
2004 Sep 09
4
imq config
...g list. But many of the users over here
have done exactly what i want.
Requirement:- I want to tight bound eth1 for 100 kbps
but after i want to create many classes of 64 kbps or 50 kbps and
others. But the total sum of classes is more than 100 kbps so my eth1 is
not restrciting total bandwidth at 100kbps.
According to search on google imq is the solution.
So any body over here have done this type of configuration.
if any plz give me some little examples.
I have already patched and compiled the imq and kernel.
Now need to configure imq.
Any help ???
Regards,
--
Joel N.Solanki
Network Administr...
2001 Jan 21
1
new 100kbps mode
Hiya,
Find attached a new encoding mode. 100kbps.
There's a patch as well; it is supposed to improve quality.
Have fun,
Segher
p.s. To use the mode: add an
#include "modes/mode_S.h"
to modes/modes.h
and force vorbisenc.c to use it.
(Oh, and the S doesn't mean Segher. Really).
<HR NOSHADE>
<UL>
<LI>appli...
2007 Jun 20
3
Prio class HTB
...|
|
---------------------------------------------------------------------
|
| (dequeue to hardware)
|
The configuration script is :
$ tc class add dev ath0 parent 1: classed 1:1 htb rate 100kbps ceil
100kbps burst 2k
$ tc class add dev ath0 parent 1:1 classed 1:10 htb rate 30kbps ceil
60kbps burst 2k prio 0
$ tc class add dev ath0 parent 1:1 classed 1:20 htb rate 10kbps ceil
100kbps burst 2k prio 1
$ tc class add dev ath0 parent 1:1 classed 1:30 htb rate 60kbps ceil
100kbps burst 2k
Our...
2002 Jun 06
1
parameter of htb
tc qdisc add dev eth0 root handle 1: htb default 12
tc class add dev eth0 parent 1: classid 1:10 rate
30kbps ceil 100kbps burst 2k
tc class add dev eth0 parent 1: classid 1:11 rate
10kbps ceil 100kbps burst 2k
tc class add dev eth0 parent 1: classid 1:12 rate
60kbps ceil 100kbps burst 2k
tc filter add dev eth0 protocol ip parent 1:0 prio 1
u32 match ip src 172.16.11.2 flowid 1:10
i login 172.16.11.2 and copy a large f...
2002 Sep 06
1
Examples from HTB home page...
...aded the 2.4.19 from kernel.org, iproute2 (2.4.7),
installed the patches (to kern and iproute) and ended with a kernel /
tc combo that at the following example (taken from from HTB page):
tc qdisc add dev eth0 root handle 1:0 htb default 12
tc class add dev eth0 parent 1:0 classid 1:1 htb rate 100kbps ceil 100kbps
tc class add dev eth0 parent 1:1 classid 1:10 htb rate 30kbps ceil 100kbps
tc class add dev eth0 parent 1:1 classid 1:11 htb rate 10kbps ceil 100kbps
tc class add dev eth0 parent 1:1 classid 1:12 htb rate 60kbps ceil 100kbps
tc filter add dev eth0 protocol ip parent 1:0 prio 1 u32 mat...
2005 Jan 02
0
Performance Loss with HTB/tcng?
...p>) if tcp_sport == PORT_HTTPS;
class (<$nntp>) if tcp_sport == PORT_NNTP;
class (<$nntp>) if tcp_sport == PORT_NNTPS;
class (<$other>) if 1;
htb() {
class (rate 100Mbps, ceil 100Mbps) {
class (rate $MAX_IN, ceil $MAX_IN) {
$ssh = class (rate 100kbps, ceil $MAX_IN, prio 1) {sfq;};
$smtp = class (rate 100kbps, ceil $MAX_IN, prio 2) {sfq;};
$http = class (rate 100kbps, ceil $MAX_IN, prio 2) {sfq;};
$nntp = class (rate 100kbps, ceil $MAX_IN, prio 2) {sfq;};
$other = class (rate $MAX_IN-400kbps, ceil $MAX_IN, prio 0)...
2004 Jan 14
1
question about major:minor numbers
...isc attached to eth0 and another
attached to eth1, do the major numbers I use have to be different at all
or could I use the same number structure in eth0 and eth1?
Short example to explain:
tc qdisc add dev eth0 root handle 1: htb default 13
tc class add dev eth0 parent 1: classid 1:1 htb rate 100kbps...
tc class add dev eth0 parent 1:1 classid 1:10 htb rate...
...
tc qdisc add dev eth1 root handle 1: htb default 13
tc class add dev eth1 parent 1: classid 1:1 htb rate 100kbps...
tc class add dev eth1 parent 1:1 classid 1:10 htb rate...
...
Is this valid? Or do I have to use "2:&quo...
2006 Feb 22
0
mysterious rebounce in htb
...tests I''m performing (or so I hope):
#!/bin/bash
DEV=eth0
WWWPORT=8000
SMTPPORT=2500
MAPI=10.0.16.10
tc qdisc del dev $DEV root > /dev/null 2>&1
# root qdisc
tc qdisc add dev $DEV handle 1: root htb default 2
# root classes
tc class add dev $DEV classid 1:1 parent 1: htb rate 100kbps
tc class add dev $DEV classid 1:2 parent 1: htb rate 90mbit
tc qdisc add dev $DEV handle 2: parent 1:2 sfq perturb 10
# a/www
tc class add dev $DEV classid 1:10 parent 1:1 htb rate 30kbps ceil 100kbps prio 0
tc qdisc add dev $DEV handle 10: parent 1:10 sfq perturb 10
# a/smtp
tc class add dev $DE...
2005 May 05
1
TC breaking Virtual network connection
...=======================
**CBQ: cbq-1280.My_shaper
/sbin/tc qdisc del dev lo root
/sbin/tc qdisc add dev lo root handle 1 cbq bandwidth 20Mbps avpkt 1000 cell 8
/sbin/tc class change dev lo root cbq weight 2Mbps allot 1514
/sbin/tc class add dev lo parent 1: classid 1:1280 cbq bandwidth 20Mbps rate 100Kbps weight 10Kbps prio 5 allot 1514 cell 8 maxburst 20 avpkt 1000 bounded
/sbin/tc qdisc add dev lo parent 1:1280 handle 1280 tbf rate 100Kbps buffer 10Kb/8 limit 15Kb mtu 1500
/sbin/tc filter add dev lo parent 1:0 protocol ip prio 100 u32 match ip dst 192.168.4.0/24 classid 1:1280
====================...
2006 Jun 24
0
run multiple algorithm qdisc simultaneously (HTB & HFSC)
...ontrol atchitecture theory, Is it true or false???(It''s only my assumption)
Can i define new qdisc under root qdisc????
Because from theory, we define class under qdisc.
this is my assumption
tc qdisc add dev eth0 root handle 1: fifo
tc qdisc add dev eth0 parent 1: classid 10:1 htb rate 100kbps ceil 100kbps
tc qdisc add dev eth0 parent 1: classid 10:2 hfsc rate 100kbps ceil 100kbps
2. i want to have two different qdisc for run simultaneously??(HTB and HFSC) Can i do it for real????
if i can, so what should i do it with tc command?????
3. In the one time, Outbound traffic Linux can sett...
2016 Feb 22
2
Tinc 1.0 - Limit Bandwidth
Hi Team
I am trying to limit one of my tinc nodes to only consume 100Kbps bandwidth
(Send and Receive). I am not sure if I am setting the right option under
its main configuration file (tinc.conf) . Will these options serve my
purpose? I have set them up but the Tunnel Adapter (running on Windows)
still consumes all the bandwidth available.
================
UDPRcvBuf =...