Re: [LARTC] Bandwidth Monitor

2003-08-01 Thread Leonardo Balliache
Hi, Have a look at http://ldp.kernelnotes.de/HOWTO/Querying-libiptc-HOWTO/bmeter.html Best regards, Leonardo Balliache At 01:50 p.m. 01/08/03 -0300, you wrote: Anybody knows about one bandwidth meter to use in Bering. This is a script i built, it's works wel, but it's not very nice!!! =P #!/b

Re: [LARTC] HTB for multiple users, good or bad approach?

2003-08-01 Thread Andreas Klauer
Am Friday 01 August 2003 17:39 schrieb Stef Coene: > > The script I've come up with so far can be found there: > > http://www.metamorpher.de/files/ipshape.sh I updated the script. > Some remarks. You define a burst on your 1:1 class. You > don't need this. I bet there are lots of thinks whic

[LARTC] Bandwidth Monitor

2003-08-01 Thread Sebastián Aresca
Anybody knows about one bandwidth meter to use in Bering. This is a script i built, it's works wel, but it's not very nice!!! =P #!/bin/bash # Bandwidth Monitor device=eth0 bytes=`grep $device /proc/net/dev | cut -f 2 -d : | cut -d ' ' -f 2` kbytes=`expr $bytes / 1024` actual=$kbytes i=1 x=0

Re: [LARTC] Proportionate sharing of excess bandwidth: still no go

2003-08-01 Thread Raj Mathur
Hi Stef, > "Stef" == Stef Coene <[EMAIL PROTECTED]> writes: Stef> [snip] Stef> Better, remove burst, cburst and quantum. And remove the Stef> sfq qdiscs and add 3 fifo qdiscs. Can do that, but will it permit the PCs in each pool to share the bandwidth available to that pool equ

Re: [LARTC] Proportionate sharing of excess bandwidth: still no go

2003-08-01 Thread Stef Coene
On Friday 01 August 2003 17:13, Martin A. Brown wrote: > Hi Raj, > > : I tried the recommendations of people on this list and tried tweaking > : the QUANTUM values in my HTB configuration, but still have the problem > : of the excess bandwidth not being shared proportionately between > : differ

Re: [LARTC] HTB for multiple users, good or bad approach?

2003-08-01 Thread Stef Coene
On Friday 01 August 2003 16:41, Andreas Klauer wrote: > Hi, > > I have to share my internet connection (DSL) with > several other users and want to set up some kind of > traffic shaping, using HTB. > > Some users do a lot of filesharing (which take almost > all available bandwith, leaving nothing f

Re: [LARTC] Proportionate sharing of excess bandwidth: still no go

2003-08-01 Thread Raj Mathur
Hi Martin, > "Martin" == Martin A Brown <[EMAIL PROTECTED]> writes: Raj> : I tried the recommendations of people on this list Raj> and tried tweaking : the QUANTUM values in my HTB Raj> configuration, but still have the problem : of the excess Raj> bandwidth not being shared p

Re: [LARTC] Proportionate sharing of excess bandwidth: still no go

2003-08-01 Thread Martin A. Brown
Hi Raj, : I tried the recommendations of people on this list and tried tweaking : the QUANTUM values in my HTB configuration, but still have the problem : of the excess bandwidth not being shared proportionately between : different pools. Could you tell us which interface is your "transmit to

[LARTC] HTB for multiple users, good or bad approach?

2003-08-01 Thread Andreas Klauer
Hi, I have to share my internet connection (DSL) with several other users and want to set up some kind of traffic shaping, using HTB. Some users do a lot of filesharing (which take almost all available bandwith, leaving nothing for other users), others do online gaming and therefore need guarant

[LARTC] Proportionate sharing of excess bandwidth: still no go

2003-08-01 Thread Raj Mathur
Hi, I tried the recommendations of people on this list and tried tweaking the QUANTUM values in my HTB configuration, but still have the problem of the excess bandwidth not being shared proportionately between different pools. Am enclosing the set of tc commands I'm using to generate the pools. T

[LARTC] Filters

2003-08-01 Thread Tilman Giese (Global View)
Hello, I have a short question about the use of filters. I created two classes, one of them having subclasses via: tc qdisc add dev eth1 root handle 1: cbq bandwidth 2MBit allot 1514 cell 8 avpkt 1000 mpu 64 tc class add dev eth1 parent 1:0 classid 1:1 cbq bandwidth 2MBit rate 2MBit allot 151