Re: [LARTC] Dead Gateway Detection & BGP

2007-08-29 Thread Grant Taylor
(Before any one questions why I withheld information and went down the road that I did, I'd like to say that I had fully intended to respond with more detail, however other things going on both at work and home prevented me from doing so before now. I also sort of paused because of the discuss

Re: [LARTC] Dead Gateway Detection & BGP

2007-08-29 Thread Grant Taylor
On 8/29/2007 8:50 PM, Rangi Biddle wrote: Firstly I can appreciate where Grant is coming from. There are a number of things that aren't so commonly done with Linux that the community currently doesn't provide answers for and obviously there are people out there that know how to do things that

RE: [LARTC] Dead Gateway Detection & BGP

2007-08-29 Thread Rangi Biddle
Hi Guys, Well here's my two cents worth regarding this whole thing. Firstly I can appreciate where Grant is coming from. There are a number of things that aren't so commonly done with Linux that the community currently doesn't provide answers for and obviously there are people out there that kno

Re: [LARTC] How tho share varible bandwidth with weighted round robin

2007-08-29 Thread Santiago
I am interested in the incoming traffic (from Internet to lan users). This is the problem. On Wed, 29 Aug 2007 20:12:09 +0200, Javier Ors wrote > > > As far as I undestand, at least sfq should work without knowing the actual > bandwith (you don't need to specify it in the qdisc creation). The

Re: [LARTC] How tho share varible bandwidth with weighted round robin

2007-08-29 Thread Santiago
I thought the same thing a year ago.  You set an htb class bigger than Vmax in the output ethernet, the you can attach  esfq or WRR (sfq only works with conecctions and I need to work with destination ip addresses). But it never works.   Now I understand that if you set the class bigger than V

Re: [LARTC] How tho share varible bandwidth with weighted round robin

2007-08-29 Thread Javier Ors
> > There is some queue disciplines like esfq and WRR (w. But theses ones only > work if you know the actual bandwidth. As far as I undestand, at least sfq should work without knowing the actual bandwith (you don't need to specify it in the qdisc creation). The problem with it is that it only wor

[LARTC] How tho share varible bandwidth with weighted round robin

2007-08-29 Thread Santiago
I have this problem: I have an Internet line input with variable speed. I have a max speed and a min speed: Vmax and Vmin. The speed is always changing between Vmax and Vmin. I want to share the actual bandwidth (you don't not how much, you only know the speed is between Vmax and Vmin) for N

[LARTC] Round Robin trafic shapping

2007-08-29 Thread Santiago
I have this problem: I have an Internet line input with variable speed. I have a max speed and a min speed: Vmax and Vmin. The speed is always changing between Vmax and Vmin. I want to share the actual bandwidth (you don't not how much, you only know the speed is between Vmax and Vmin) for N c

[LARTC] tc not matching

2007-08-29 Thread Jonathan Gazeley
Dear all, I'm having real problems getting tc to do anything useful at all. I'm also under pressure to get this fixed before the students start arriving later this month (I work in a university). In short, I want each IP address to be hard limited to 128kbit down, 64kbit up, never to be allo

[LARTC] Clock Source Kernel settings in 2.6.22

2007-08-29 Thread Mario Antonio Garcia
I wonder if somebody has got good results (accurate shaping) using 2.6.22? I am testing with 2.6.22.1, and I haven't been able to get accurate shaping. For instance, I tried: $TC qdisc add dev eth0 root handle 1: htb default 1 $TC class add dev eth0parent 1: classid

Re: [LARTC] HTB does not respect the prio parameter

2007-08-29 Thread Nikolay Kichukov
Hello Martin, I used to have this kind of problem before. Not sure if I resolved it with the help of folks on this mailing list, but I never tested. What you can try is to remove the prio parameter from the classes and leave the prio only for the filters. Let us know if that helps. Cheers, -Niko

Re: [LARTC] HTB does not respect the prio parameter

2007-08-29 Thread Martin Björnsson
Yes, exactly. So my 1:20 class (prio 1) should get to send more than the 1:30 class. But it doesn't, they both get about the same throughput. Nobody else having problems with the prio parameter? Martin bartekR wrote: > Martin Björnsson pisze: >> Hi all, >> >> I'm experimenting with HTB and the

[LARTC] Alternative section to the HOWTO...

2007-08-29 Thread Javier Ors
IMHO, the priomap explanation in the 9.2.1.1. of the LARTC HOWTO is not clear enough. I only understood it's real behavior until I read this document from Russell Stuart: http://ace-host.stuart.id.au/russell/files/tc/doc/tc/priority.txt So, based in this information, I've prepared an alternative p

Re: [LARTC] HTB does not respect the prio parameter

2007-08-29 Thread bartekR
Martin Björnsson pisze: Hi all, I'm experimenting with HTB and the prio parameter and it does not give me results I expect. I've created 4 HTB classes: 1:10 TCP ACKs (prio 0) 1:20 TCP traffic on dst port 10001 (prio 1) 1:30 TCP traffic on dst port 1 (prio 2) 1:40 De

[LARTC] HTB does not respect the prio parameter

2007-08-29 Thread Martin Björnsson
Hi all, I'm experimenting with HTB and the prio parameter and it does not give me results I expect. I've created 4 HTB classes: 1:10 TCP ACKs (prio 0) 1:20 TCP traffic on dst port 10001 (prio 1) 1:30 TCP traffic on dst port 1 (prio 2) 1:40 Default

Re: [LARTC] cpufreq affects rate in, at least, htb

2007-08-29 Thread DervishD
Hi Adam :) * Adam James <[EMAIL PROTECTED]> dixit: > On Tue, 28 Aug 2007 09:47:38 +0200 > DervishD <[EMAIL PROTECTED]> wrote: > > > I've tested this and having a cpufreq that slows down the CPU > > affects the rate of HTB. My ondemand cpufreq governor scales down the > > CPU frequency ab