[LARTC] Re: HTB question, tokens.

2007-06-23 Thread mark
On Thu, 2007-06-21 at 23:22 +0200, Christian Benvenuti wrote: Hi Mark, Hi, What exactly are the tokens? I thought each token allowed the sending of one byte, that tokens are stored in a bucket that can hold a max of burst tokens, and that this bucket is filled with tokens at rate.

[LARTC] Re: HTB question, tokens.

2007-06-21 Thread Christian Benvenuti
Hi Mark, Hi, What exactly are the tokens? I thought each token allowed the sending of one byte, that tokens are stored in a bucket that can hold a max of burst tokens, and that this bucket is filled with tokens at rate. But theory does not seem to explain the tc -s .. output in the examples

[LARTC] Re: HTB

2007-06-11 Thread Christian Benvenuti
Hi, What exactly happens if the sum of the children classes rate is bigger than the parent's? I would say that in most cases it would be a misconfiguration, especially if you have more layers of HTB classes. The bw you configure with rate is not going to be reserved properly if you do not

Re: [LARTC] Re: htb traffic shaping problem

2006-09-18 Thread Andy Furniss
gypsy wrote: Bugzilla-Redirect wrote: Yes, the output is below: eth0 Link encap:Ethernet HWaddr 00:11:09:2A:A6:F6 inet addr:10.0.0.50 Bcast:10.0.0.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:4244867 errors:0

Re: [LARTC] Re: htb traffic shaping problem

2006-09-18 Thread Bugzilla-Redirect
I was not aware that segmentation offloading would cause a problem... and I do believe it's on. I think I'll just stuck with the high mtu for the moment then, as I would rather have the CPU savings then more accurate traffic controlling. Thanks. -Ryan Power At 07:48 AM 9/18/2006, Andy

Re: [LARTC] Re: htb traffic shaping problem

2006-09-16 Thread gypsy
Bugzilla-Redirect wrote: Yes, the output is below: eth0 Link encap:Ethernet HWaddr 00:11:09:2A:A6:F6 inet addr:10.0.0.50 Bcast:10.0.0.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:4244867 errors:0 dropped:0

Re: [LARTC] Re: htb traffic shaping problem

2006-09-15 Thread Bugzilla-Redirect
Yes, the output is below: eth0 Link encap:Ethernet HWaddr 00:11:09:2A:A6:F6 inet addr:10.0.0.50 Bcast:10.0.0.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:4244867 errors:0 dropped:0 overruns:0 frame:0 TX

Re: [LARTC] Re: htb traffic shaping problem

2006-09-14 Thread e . janz
PROTECTED]Enviado por: [EMAIL PROTECTED]13/09/2006 07:00Paralartc@mailman.ds9a.nlccAsunto[LARTC] Re: htb traffic shaping problemEric, here's the information you requested with the mtu set at 1500 (see further below

Re: [LARTC] Re: htb traffic shaping problem (Charlie Meyer)

2006-09-12 Thread e . janz
(a linux wan router on a 100Mbit lan with 5Mbps upload/dowload to the Internet. We will see if I run into the same issues...Regards,Eric Janz Bugzilla-Redirect [EMAIL PROTECTED]Enviado por: [EMAIL PROTECTED]09/09/2006 21:56Paralartc@mailman.ds9a.nlccAsunto[LARTC] Re: htb traffic shaping problem (Charlie

[LARTC] Re: htb traffic shaping problem

2006-09-12 Thread Bugzilla-Redirect
]:~# - Thanks. -Ryan Power At 04:00 AM 9/12/2006, you wrote: Message: 4 Date: Tue, 12 Sep 2006 10:36:27 +0200 From: [EMAIL PROTECTED] Subject: Re: [LARTC] Re: htb traffic shaping problem (Charlie Meyer) To: lartc

[LARTC] Re: htb traffic shaping problem (Charlie Meyer)

2006-09-09 Thread Bugzilla-Redirect
Eric, I've attached the output from the command you requested below. I'm using kernel 2.6.17.12 and tc version ss060323. I'm have a nforce4 onboard giggabit controller using the forcedeth driver, if that makes a difference. Charlie, I'll take a look at the Apache model for throttling,

[LARTC] Re: HTB and BOND Interface

2006-08-14 Thread Sim
Hi! Is it HTB fully compatible with BOND interface? I have this setup (mode= fault tolerance) : BOND0 - ETH0 + ETH1 BOND1 - ETH2 + ETH3 ( http://www.kernel.org/pub/linux/kernel/people/marcelo/linux-2.4/Documentation/networking/bonding.txt ) HTB work very well with Class over BOND0. If I add

[LARTC] Re: HTB is buggy?

2006-07-28 Thread Andy Furniss
Stephen Hemminger wrote: I believe there are some unresolved memory management issues with HTB. It looks like deleting the qdisc is causing some use after free or memory corruption problems. See: http://bugzilla.kernel.org/show_bug.cgi?id=6681 I don't use HTB so I have no idea if this

[LARTC] Re: HTB not shaping traffic

2005-11-03 Thread Tobia
I solved my problem by myself, by studying devik's HTB manual: http://luxik.cdi.cz/~devik/qos/htb/manual/userg.htm Here are my remarks for those browsing the mailing list archive. The line that made me realize what I was doing wrong is: The rate supplied for a parent should be the sum of

[LARTC] Re: htb bridge problem, please chceck my config

2005-01-02 Thread ionut
a machine (winChip 200mhz cpu, 32mb ram, linux 2.4.28) acting like a bridge with 2 interfaces (eth0 - to our ISP, eth1 - to our network) machine does not have any IP there is a 802.1q vlan eth0.2 eth0.2 and eth1 are bridged in br0 i have one 4mbit link which i share with my friend, i

[LARTC] Re: HTB: quantum of class 10200 is small. Consider r2q change.

2004-11-04 Thread Hariett Jones
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

Re: [LARTC] Re: HTB 3.13 please help

2004-08-04 Thread mjoachimiak
Hello Devik! Thanks for your help. And many thanks to everybody from the group who has been thinking on my problem. It seems i resolved my problem - there is no connection loss while reseting htb, but I'll be observing it's stability in a few days. I have no words to write what a STUPID mistake it

Re: [LARTC] Re: HTB 3.13 please help

2004-07-28 Thread mjoachimiak
: devik [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: lartc [EMAIL PROTECTED] Sent: Sunday, July 25, 2004 10:26 AM Subject: Re: [LARTC] Re: HTB 3.13 please help From the stats is seems that no data are queued - as if nobody is sending them. You are using smp kernel, is your box SMP ? I

Re: [LARTC] Re: HTB 3.13 please help

2004-07-28 Thread devik
] To: [EMAIL PROTECTED] Cc: lartc [EMAIL PROTECTED] Sent: Sunday, July 25, 2004 10:26 AM Subject: Re: [LARTC] Re: HTB 3.13 please help From the stats is seems that no data are queued - as if nobody is sending them. You are using smp kernel, is your box SMP ? I haven't seen many smp

Re: [LARTC] Re: HTB 3.13 please help

2004-07-28 Thread mjoachimiak
PROTECTED] Sent: Wednesday, July 28, 2004 3:30 PM Subject: Re: [LARTC] Re: HTB 3.13 please help as you can see, NO packets are going thru. You have to look to other classes as well as to ifconfig and tc -s qdisc show dev xxx to see wherw packets are lost. On Wed, 28 Jul 2004 [EMAIL PROTECTED] wrote

Re: [LARTC] Re: HTB 3.13 please help

2004-07-25 Thread devik
From the stats is seems that no data are queued - as if nobody is sending them. You are using smp kernel, is your box SMP ? I haven't seen many smp+htb boxes thus there might be possibility of a bug... devik On Thu, 23 Jan 2003 [EMAIL PROTECTED] wrote: I've attached outputs for eth0 and eth1.

Re: [LARTC] Re: HTB 3.13 please help

2004-07-25 Thread mjoachimiak
too. The difference i could see at once is that there is no connection loss when i'm starting htb. - Original Message - From: devik [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: lartc [EMAIL PROTECTED] Sent: Sunday, July 25, 2004 10:26 AM Subject: Re: [LARTC] Re: HTB 3.13 please help From

[LARTC] Re: HTB 3.13 please help

2004-07-23 Thread mjoachimiak
I've attached outputs for eth0 and eth1. I was trying to get this script running. I've added one class for my NATed BOX, and it helped. Shaping was stable almost one day but then i added prio 0 to eth0 filters and prio 0 for eth1 filters it has braken. So i removed every prio 0 and reboot the box

Re: [LARTC] Re: htb filter

2004-06-28 Thread Stef Coene
On Thursday 24 June 2004 06:37, [EMAIL PROTECTED] wrote: Jason Boxman writes: On Wednesday 23 June 2004 01:57, Svetozar Mihailov wrote: Shouldn't this: tc class add dev eth0 parent 2:0 classid 2:200 htb rate 100Mbit prio 10 be parent 2:? Ed W That change nothing. I

[LARTC] Re: htb filter

2004-06-24 Thread lartc
Jason Boxman writes: On Wednesday 23 June 2004 01:57, Svetozar Mihailov wrote: Shouldn't this: tc class add dev eth0 parent 2:0 classid 2:200 htb rate 100Mbit prio 10 be parent 2:? Ed W That change nothing. I have running system with 800 PC , 4 classes for each. There is no difference

[LARTC] Re: HTB

2004-01-15 Thread Cristea Virgil Ionut
I have a fiber connection to MAN1, an ethernet connection to MAN2 (another city), and an ethernet connection to the WAN. My question was (well actually my new question is...) if i can shape all of the traffic using a computer with 4 nics (2xMAN,1 WAN,1 LAN) and what delays will this

Re: [LARTC] Re: HTB and metro+int. limits

2003-10-01 Thread Alex
of the packets. Thanks again. Alex - Original Message - From: Stef Coene [EMAIL PROTECTED] To: Alex [EMAIL PROTECTED]; Lartc [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, October 01, 2003 12:59 PM Subject: Re: [LARTC] Re: HTB and metro+int. limits On Tuesday 30 September 2003 21:27

Re: [LARTC] Re: HTB and metro+int. limits part2

2003-10-01 Thread Alex
PROTECTED] Sent: Wednesday, October 01, 2003 12:59 PM Subject: Re: [LARTC] Re: HTB and metro+int. limits On Tuesday 30 September 2003 21:27, Alex wrote: Thanks for your replay, it really helps, but to take the question further, from what you have seen in my sample script, how should I classify

[LARTC] Re: HTB and metro+int. limits

2003-09-30 Thread Alex
Thanks for your replay, it really helps, but to take the question further, from what you have seen in my sample script, how should I classify packets with tc ? I don't know how to put them in separate classes,. What I have in my script will only shape metro traffic, but for international how

Re: [LARTC] Re: HTB and filters on many levels - Workaround found

2003-09-16 Thread Steen Suder, privat
Daniel Brahneborg wrote: I found a little workaround, but I'm not really happy with it. SNIP I then use iptables -j MARK to set a '1' if the traffic comes from eth1. If not, it should end up in 1:2, and 1:1 and 1:2 should be able to borrow from each other. What I do now is to use ipfilter to

Re: [LARTC] Re: HTB and filters on many levels - Workaround found

2003-09-16 Thread Stef Coene
On Tuesday 16 September 2003 19:59, Steen Suder, privat wrote: Daniel Brahneborg wrote: I found a little workaround, but I'm not really happy with it. SNIP I then use iptables -j MARK to set a '1' if the traffic comes from eth1. If not, it should end up in 1:2, and 1:1 and 1:2 should be

[LARTC] Re: HTB code :-)

2003-02-26 Thread devik
As I understand, in HTB you are able to map traffic to a queue named direct_queue. This queue is initialized in function htb_init(), and is a qdisc not a class, is this right?? it is class with implicitly attached queue Another question of interest is how can I use it. Is this queue

[LARTC] Re: HTB source code - kernel and tc

2002-09-04 Thread devik
Ehh it is the same for 2 years. luxik.cdi.cz/~devik/qos/htb/ .. On Tue, 3 Sep 2002, Jingsong Fu wrote: Hi Devik, Where can I find the HTB source code for kernel and tc? Thanks, Jingsong ___ LARTC mailing list / [EMAIL PROTECTED]

[LARTC] Re: htb

2002-07-04 Thread devik
Ok here is solution. 1) the filter is not swallowed. For inner filters you have to use tc filter show dev lo parent 1:1. If you miss parent keyword nothing will be shown. 2) the code you attached can't work. You wanted to use default keyword to direct packets into 1:1 and then use