Displaying 20 results from an estimated 7000 matches similar to: "[PATCH] HTB O(1) class lookup"
2006 Sep 16
2
process id with firewall and tc
Not sure this is the correct place to post this but I am looking to have
status of the firewall and traffic control (active, disabled, stopped etc)
on a webpage controlled via something like pid as the machine has many
things running on it, like firewall, traffic control, data collection for
graphing the traffic flows, as well as other services like squid etc. Any
ideas would be most helpful.
2004 Aug 27
5
Large number of HTB classes
I am planning a setup with thousands of classes in a HTB qdisc, say from
1:1000 to 1:2000, each with a very small rate and a big ceil, for fair
sharing of a 45mbit link.
I suspect some problems could be lurking in there.
Anyone having good/bad experience with such number of classes?
Simon
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
2006 Aug 02
10
[PATCH 0/6] htb: cleanup
The HTB scheduler code is a mess, this patch set does some basic
house cleaning. The first four should cause no code change, but the
last two need more testing.
--
Stephen Hemminger <shemminger@osdl.org>
"And in the Packet there writ down that doome"
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to
2005 Oct 13
12
HFSC Advanced Limiting
I am investigating changing our broadband bandwidth control scripts over to HFSC. What I would like to accomplish is this:
{ * DOWNLOAD *
I need a download class for each user (we''ll call it Class 1) that offers a minimum of lets say 384Kbps and a maximum of 1.5Mbps.
The rates between 384Kbps and 1.5Mbps should be shared among all users.
Each user should always be able to get at
2006 May 19
25
iptables CLASSIFY and MARK not working?
I have to match my packets based on MAC address, which I cannot do in
the POSTROUTING chain, so I do it in PREROUTING using MARK. Then, I
match on the MARK in the POSTROUTING chain to do a CLASSIFY. But this
does not seem to work:
wireless-r1 bwlimit # iptables -L -v -n -t mangle
Chain PREROUTING (policy ACCEPT 3353K packets, 941M bytes)
pkts bytes target prot opt in out source
2006 May 11
9
HFSC and prioritization
I''m using HFSC to limit bandwidth for our wireless customers. However,
I''d also like the bandwidth prioritized based on packet type. This is
what I''m trying right now, and I''d just like some input from anyone out
there knowledgeable in this on whether it does what I want it to do:
Eth1 -> HFSC
........|-> HFSC (User1) (Min 512 Kb, Max 1024 Kb, Burst 1536
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
2007 Feb 27
2
Creating a contended section of bandwidth with HTB and IMQ
Hi All,
I''m trying to create a contended section of bandwidth using IMQ. I have the
imq0 device up and running, with traffic passing through it.
Firstly, I need to throttle the entire device imq0 to 2mbit/s.
I would then like to add throttle rules for individual IP addresses, allowing
them to pass up to 512kbit/s each, as long as imq0 has not reached its
2mbit/s.
The configuration
2005 Jul 06
1
HFSC default upper-limit trouble
Hello,
I''m having such problem with HFSC with following config:
+ tc qdisc del dev eth3 root
+ tc qdisc add dev eth3 root handle 1: hfsc default 2
+ tc class add dev eth3 parent 1: classid 1:1 hfsc ls rate 512kbit ul
rate 512kbit
+ tc class add dev eth3 parent 1:1 classid 1:2 hfsc ls rate 2kbit ul
rate 400kbit
+ tc class add dev eth3 parent 1:1 classid 1:3 hfsc ls rate 32kbit ul
rate
2004 Feb 26
12
HFSC
hmm
HFSC ?
where can i find more informations and examples about the *linux* HFSC
?
http://trash.net/~kaber/hfsc/ does not help here
--
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
2007 Jun 09
7
vlan interfaces and tc
Hello
I have few questions regarding tc functionality (qdiscs, classes, etc.) when
vlans are in use. For example, consider interface eth0, for which I create
and extra vlan with vconfig, let''s say eth0.11. Then using tc I can add
usual things - qdiscs, filters, ... - to both eth0 and eth0.11. The
questions are:
- on which interface - virtual or real, should I actually use tc ? Or
2005 May 03
2
problem with filters - packets ''slipping'' through them when they shouldn''t
Hi!
I''m trying to shape my internet connection traffic using hsfc and I''ve
encountered the following problem (may not be connected with hfsc).
on my lan interface I shape incoming traffic like this:
tc qdisc add root dev eth1 handle 1: hfsc default 1003
tc class add dev eth1 parent 1:0 classid 1:1003 hfsc ls rate 10kbit ul rate
10kbit
tc class add dev eth1 parent 1: classid
2007 Dec 15
1
hfsc and bps
Hi!
Do you know somthing about hfsc and bps?
There''s no output for speed only for packets. Doesn''t hfsc support such
a field?
tc -s class show dev eth0
class hfsc 1: root
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
rate 0bit 0pps backlog 0b 0p requeues 0
period 0 level 2
class hfsc 1:11 parent 1:1 sc m1 0bit d 18.0ms m2 1000Kbit ul m1 0bit d
0us m2
2004 May 12
4
HFSC
Hi:
I am using a machine with the 2.4.26 kernel, and trying to compare the
performance of the HTB qdisc with the HFSC one. I have the following
simple script that allows me to have a video stream on port 1234 while
it limits a ttcp UDP stream so that the video stream is unimpaired.
#!/bin/bash
tc qdisc add dev eth0 root handle 1: htb default 12
tc class add dev eth0 parent 1: classid 1:1
2006 Dec 12
1
About HFSC ?
Hello,
I’ve read this Article avout VOIP and HFSC
http://automatthias.wordpress.com/2006/06/30/hfsc-and-voip/
I’ve got few questions ?
Considering this
tc class add dev $DEV parent 1:1 classid 1:2 hfsc \
rt m1 ${UPLINK}kbit d 50ms m2 $[1*$UPLINK/10]kbit \
ls m1 ${UPLINK}kbit d 50ms m2 $[3*$UPLINK/10]kbit \
ul rate ${UPLINK}kbit
rt = realtime curve
ls = linksharing curve
but
m1 = ?
m2 = ?
d =
2006 Dec 14
1
hfsc rule command problem
My hfsc rule ..
tc qdisc add dev eth2 handle 1: root hfsc
iptables -t mangle -N ms-all
iptables -t mangle -N ms-all-chains
iptables -t mangle -N ms-prerouting
iptables -t mangle -A PREROUTING -j ms-prerouting
iptables -t mangle -A ms-prerouting -j CONNMARK --restore-mark
iptables -t mangle -A ms-prerouting -p udp --dport 4444 -j MARK --set-mark 1
iptables -t mangle -A ms-prerouting -p udp -m
2006 Jul 14
1
how different qdisc at root and leaf working???
i doubt about ruleset in mastershaper demo about
why use hfsc at leaf class but inner class use htb???
how different for manage traffic like it????
/bin/false qdisc add dev eth1 handle 1: root htb default 1
/bin/false class add dev eth1 parent 1: classid 1:1 htb rate 2048Kbit
######### Incoming Rules
######### chain HB
/bin/false class add dev eth1 parent 1:1 classid 1:21 htb rate 128Kbit ceil
2007 Jul 12
2
voip quality/bandwidth/latency techniques
I have voip quality issues I would like to minimize. I have a ~=
3M/384k (Comcast) cable modem and a CentOS based Linux router (SME 7,
2.6.9 kernel) with 5 NAT''d devices (3 PCs "DHCP", 2 Vonage adapters
"static 10.10.2.10-11"). The quality problems are audio cutting out and
popping. I tried the following (see below) based on a Cookbook example,
but I still have
2007 Sep 16
5
using tc to drop packets based on the diffserc or tos value
Hi all,
I am wondering if anyone can help me to resolve a problem.
I am trying to use tc command in linux to drop udp
packets of specific diffserv value.
I am able set diffserv value successfully in the udp packet
using command:-
[root@scotch src]#iptables --table mangle --append OUTPUT \
--out-interface eth0 --protocol udp --source-port 5060 \
--jump DSCP --set-dscp 8
but i am not able to
2006 Jul 30
5
questions about HFSC, VoIP and (dynamic) ingress shaping
Hello,
I just found the great howto and started shaping my internet connection. The
howto''s last update is a liitle in the past now so I have some questions
about how things are done the best way nowadays ;-)
To ensure a stable and low latency voip communication I added an HFSC qdisc to
device ppp0 (1 Mbit SDSL). There are two classes (by now): One for SIP and
RTP and one for the