Displaying 20 results from an estimated 8000 matches similar to: "How to calculate HTB quantum"
2004 Jul 11
0
htb quantum/r2q problem/question
hello,
i have a config that is with a large domain of rate, from 2kb to 40Mb
and i have some problems with i don''t know how to deal with.
so here are some classes 2 with q=1000, one with q 200000 and one with
q=6400, all have been calculated by htb, in the code i speficien just
rate,ceil, no quantum, no r2q, no bursts
($tc class add $IF_INT parent 1:2 classid 1:21 htb rate
2003 Apr 30
1
Error! HTB: quantum of class 10001 is big. consider r2q change
hi.
When I execute follow class setting
qdisc 1:0 root htb default 2
parent 1:0 classid 1:1 htb rate 10Mbit ceil 10Mbit
parent 1:1 classid 1:2 htb rate 10kbit ceil 100Mbit
HTB: quantum of class 10001 is big. Consider r2q change. <7>htb*g j=1014xxxxx
HTB: quantum of class 10001 is big. Consider r2q change. <7>htb*g j=1014xxxxx
HTB: quantum of class 10001 is big. Consider r2q change.
2003 Oct 11
1
HTB: quantum of class 100001 is small. Consider r2q change
Salut lartc (lartc@mailman.ds9a.nl),
18:12:52 kernel HTB init, kernel part version 3.10
18:12:52 kernel HTB: quantum of class 100001 is small. Consider r2q change.
18:12:52 kernel HTB: quantum of class 100002 is small. Consider r2q change.
18:12:52 kernel HTB: quantum of class 100003 is small. Consider r2q change.
18:12:52 kernel HTB: quantum of class 100004 is small. Consider r2q change.
2004 Apr 09
1
HTB
Hello,
I have problems with htb. The problem is that when I download
any file via shaper with htb, the traffic is very dinamic,
it jumps, for example:
if i have set ceil = 128kbit the results that it jumps from 112kbps
to 144kbps or smth like that maybe its not very bad, but when the
traffic drops down to 40kbps or less and then after 1 or 2 seconds
jumps to 144kbps, its bad :-( and it is often.
2004 Apr 05
0
htb v3 question - quantum and r2q again
Hello!
One simple question regaring htb2->htb3 way.
I''m using 2.4.25 kernel with tc3 from Devik''s site, RH9.
My data flow is about 100Mbit duplex and is subject to grow, so
I''m creating root class with 200Mbit rate, with r2q=10,
quantum = rate/r2q, and 1500 < quantum < 200000 (sch_htb.c)
with such r2q my default shaping window will be from 120Kbit to 16Mbit,
2005 Mar 12
0
I want to bring down the HTB rate to 3kbit-r2q? quantum?
Hello Stef,
I am working on a Bandwidth management project as part of my college curriculum.I am running TCNG 10-b but I am not able to classify packets based on MAC address using tcng, so I am running tc commands in /tcng/bin and they are working. But is there a way out to classify packets based on MAC address using TCNG.
And, I am successful in throttling down the Bandwidth to 8kbit
2003 Feb 19
0
limiting users on a 128kbit line
Hello!
I''ve been trying to write a traffic shaper for a 128kbit line with this setup
:
5 computers that get dedicated bandwidth and the rest go in a pool with bigger
priorities.
I made the attached script, but it seems it doesn''t work...
It sends the traffic coming from the dedicated ips to the default class.
Where is the error ?
Will this setup work if the bandwidth is
2004 Nov 04
0
Re: HTB: quantum of class 10200 is small. Consider r2q change.
Bernard Łabno wrote:
> Hello,
> What does this line mean :
>
> HTB: quantum of class 10200 is small. Consider r2q change.
>
>
> And how should I fix it ? I have dsl 1mb connection and 2 cards
> (realtek-8139C and realtek-8100B/8139D)
>
> Could the above line cause this ? :
> NETDEV WATCHDOG: eth0: transmit timed out
> eth0: Transmit timeout, status 0c 0005
2005 Dec 27
0
HTB: quantum of class 10001 is big. Consider r2q change.
Hi,
I have this message in my syslog:
HTB: quantum of class 10001 is big. Consider r2q change.
I don''t know why it''s there. I think all my setup is right. I am
shaping traffic from my web server. It lives at three IP addresses,
first is fast (and most important - aaa.bbb.ccc.1), second slower
(aaa.bbb.ccc.2), third slowest (aaa.bbb.ccc.3). Total bandwidth is
2700kBps. Other
2005 Apr 10
3
IMQ: why do I need IMQ ?
Hello there,
Can someone please explain why do one neeed IMQ ?
I can already shape incoming traffic on my nat router by creating
qdiscs on LAN-side interface. I have done some tests, whith simple
bandwidth limmiting, and it works.
I''ve read just about all the stuff on www.linuximq.net ... but
couldn''t make myself an ideea on why would someone need IMQ for
ingress policing ...
2005 Dec 12
2
quantum
Dear all,
I''m new to traffic shapping although i have gone through marking and HTB queueing but i felt trouble in tc filter . I wonder if any one give me the hints about quantum or r2q.
i guess quantum is used when two class has same prio and rate and want to give first priority between them and control the borrowing traffic. It should be set more than MTU too. But my
2003 Mar 20
0
htb after ptrace patch
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi!
I''m running htb on an 2.4.20 with the linux-2.4.20-ptrace.patch and now the
messages in my syslog changed. specially, what is net-pf-14?
I didn''t change anything else, just applied the patch and installed the kernel
Mar 20 15:33:54 stovokor kernel: HTB: quantum of class 10001 is big. Consider
r2q change.<4>HTB: quantum
2005 Jun 03
4
how can I monitor a (dumb) switch ?
Hello there,
Can anyone help me with a problem i have....
I have an ethernet LAN, made over dumb fast-ethernet switches
(10/100mbit) without management, so there is no IP for the switches.
What I want, if possible, is to find out if a switch is down or not.
It''s like with routers... if you want to find out if a router is OK,
either you send ICMP directly to the router, or to a host
2005 Jun 28
0
Re: Questin regarding HTB
Yes sure here they are:
The first one that i have received 2day and does not work almost at all:
#!/bin/bash
ETH_IN="eth1"
ETH_OUT="eth0"
BANDA_TOTALA="2Mbit"
# pentru neclasificati ar trebui sa fie banda minima - 1k - aici ar trebui
sa ajunga trafic necunoscut,
# care nu e organizat in shape-uri
BANDA_NECLASIFICATI="8kbit"
#Shape generale
/sbin/tc
2005 Oct 06
1
HTB problem running on VLAN, not working
Hello.
I''m running linux box with Slackware 9.1 and compiled kernel 2.4.31 with "yes" to VLANs and "yes" to all QoS.
On this box i have more ethernet interfaces:
eth0
eth1
eth2
and so as more vlan interfaces:
eth0.100
eth1.3
eth1.4
This is entrace(uplink) router to our whole network and my goal is to shape users on this machine.
I want for this purpose use HTB so
2005 Jun 03
1
Re: LARTC Digest, Vol 4, Issue 9
Daniel Lopes wrote:
> Ping a client you surely know should be connected to the switch. ARP
> will take the part to find out the hardware address so the packet can be
> delivered. If the switch is on it should find a hardware address and ARP
> should put it in your ARP cache. It´s independet from ICMP blocks and
> similar. So after trying to ping you should have an entry in your ARP
2004 Mar 10
0
HTB - Shaping after Filter/Class removal
After I remove a filter, I seem to be loosing my "parents" class shaping rules that will return a filter to default after removing just the filter or both. Sorry, this is hard to say.
I create a Class, give it a default Class and one "special" Class with a "C"class filter. Then I remove that "special" IP filter then class. Should that IP, that is within
2005 Mar 15
1
how to bring down htb rate to 3kbit?
Hello Everybody,
I am successful in throttling down the Bandwidth to 8kbit using HTB. Below that I get report to change r2q. I want to bring down the Leaf class Bandwidth to 3kbit.
My script is as below:
Tc Script to throttle down the Bandwidth to 8kbit based on MAC address and IP address
tc qdisc del dev eth0 root
tc qdisc add dev eth0 root handle 1:0 htb default 30 r2q 1
tc class add
2003 Jan 06
1
strange htb behaviour
Hello List,
I use HTB in a ~80 users serving router with kernel 2.4.20.
eth0 is the internet interface (half-duplex 1Mbit),
eth1 the internal interface (100Mbit full duplex)
cause of the fact that the router also serves as a http-proxy (squid) i
thought setting up the default class on eth1 with the real upload-speed
(100Mbit) would do the job, i.e. shaping normal stuff to 1Mbit except
local
2004 Nov 30
0
htb stats
Hello. I have the fallowing stats when I write:
----tc -s -d qdisc ls dev eth1 ------
"qdisc htb 1: r2q 1 default 99 direct_packets_stat 358 ver 3.7
Sent 36115119 bytes 32068 pkts (dropped 0, overlimits 47848)
backlog 24p"
1. what does backlog 24p means here ?
2. I looked over my other htb classes in eth1 and never seen overlimits greater than 0, why do I have then overlimits in htb