Re: [LARTC] Linux bandwidth arbitrator

2003-10-20 Thread Andy Furniss
On Friday 17 October 2003 11:15 am, Damjan wrote: Hi, i will like to use the linux bandwidth arbitrator so i downloaded arbitrator6.2.tar.gz from their site unto my redhat 9.0 system but i dont know how to install it and run it. I will like to use it for traffic shapping

[LARTC] libipq and IMQ

2003-10-21 Thread Andy Furniss
Hi. Does anyone know if it is possible to use ip_queue and IMQ at the same time - if I modprobe one then the other will fail to modprobe with init_module: Device or resource busy TIA Andy. ___ LARTC mailing list / [EMAIL PROTECTED]

Re: [LARTC] Need help with HTB

2003-10-28 Thread Andy Furniss
On Monday 27 October 2003 10:37 pm, Mihai Tanasescu wrote: Hello, 1. I currently have a 128kbps cable link to the internet..and I'm sharing this connection with others. snip I have the same problem with a htb script on an adsl connection (with the htb script I get ping response

Re: [LARTC] Traffic shaping and MTU/MSS

2003-11-26 Thread Andy Furniss
On Monday 24 November 2003 7:35 am, Defekt wrote: Hi, I'm using traffic shaping on my home 1.5M/256K ADSL connection. The problem I'm running into is even when I'm shaping upload traffic (web server/p2p etc...) I run into latency issues with online gaming. This is of course due to the 256Kb

Re: [LARTC] IMQ problems :-(

2004-01-06 Thread Andy Furniss
On Sunday 04 January 2004 5:33 pm, Roy wrote: I have read about people having lots of problems with IMQ. So I just wanted to try it and see how stable it is on my box. I gather it could actually be problems with the Kernel and not the IMQ code?? That is possible but prpbably not

Re: [LARTC] Bridge + leased line + tc

2004-01-14 Thread Andy Furniss
On Tuesday 13 January 2004 4:15 pm, Wouter Coppens wrote: Hi, I can't get traffic shaping working. This is my situation: -- Net1 - |router| | TC | --- Net2 leased line --

Re: [LARTC] HTB + ESFQ in nat router for shape incoming by ip

2004-01-18 Thread Andy Furniss
On Sunday 18 January 2004 12:58 pm, JaNzUn wrote: Hi, i´ve read about this problem but i didn´t find any solution. I have a router with nat like that: internet - eth0 - Router - eth1 - Lan I made a htb script for shaping outgoing in eth0 and it works great. The problem begin with the

[LARTC] HTB/SFQ dequeueing in pairs

2004-01-26 Thread Andy Furniss
I set up a little test to see what the behaviour of (e)sfq was - because I couldn't work it out from the source :-) . I wanted to see where from a slot the packets got dropped when the queue was full. (e)sfq drops from the longest slot to make space for an incoming packet, so it's not tail

Re: [LARTC] NEW imq driver

2004-01-27 Thread Andy Furniss
Roy wrote: Seems I was to fast to declare success, my version is not much more stable than the original one,everything depends on dropped packets. This is even not imq fault afterall, can be prowed in other way also: atempts to police outgoing trafic it will be ok until you dont touch localy

Re: [LARTC] HTB/SFQ dequeueing in pairs

2004-01-27 Thread Andy Furniss
I got this reply from don would rather answer on list so more people have a chance to correct any of my misconceptions :-) [this message off list - feel free to forward it, but leave out my address] I wanted to see where from a slot the packets got dropped when the queue was full. (e)sfq

Re: [LARTC] HTB dequeueing in pairs fixed

2004-01-31 Thread Andy Furniss
Stef Coene wrote: On Saturday 31 January 2004 02:40, Andy Furniss wrote: I posted earlier when I noticed that htb was releasing packets in pairs, even though my burst/quantums were 1 pkt. To fix I set HTB_HYSTERESIS 0 in net/sched/sch_htb.c . This gives a noticable gain in upstream worst case

Re: [LARTC] Jim diGriz's QoS Script

2004-02-02 Thread Andy Furniss
Alexander Clouter wrote: Well its being maintained by me if that what you are asking :) However most of the people here 'poo-poo' it so do not expect much help from them :-/ So much for my contibution to the OSS worldpah...every man to themselves. How could they :-) To LinuX_Kid Re your

Re: [LARTC] configuring wondershaper with lan

2004-02-06 Thread Andy Furniss
mat pod wrote: hi there. I've recompiled my kernel(2.4.22) and got the script working as its meant to, and have spent the last two days trying to tweak it to do what i want with semi success and was hoping someone might be able to offer some pointers as google hasn't turned up any examples and

Re: [LARTC] Latency low enough for gaming

2004-02-19 Thread Andy Furniss
Patrick Petersen wrote: Welcome to me, and my very first lartc post. As with most first timers, i made a mistake. Admin, disregard the earlier message, as i was still waiting for the subscription confirmation. Should it get through still, i apoligize. For the last few weeks i have been trying to

Re: [LARTC] Basic HTB shaping configuration

2004-03-04 Thread Andy Furniss
John Buttery wrote: I'm trying to create a relatively simple traffic shaping environment; basically, we're a home network with three different classes of traffic: 1) High-priority, which means usually low bandwidth but very demanding latency requirements. In English: online gaming. :) 2)

Re: [LARTC] HTB speed

2004-03-26 Thread Andy Furniss
Simon Byrnand wrote: At 12:46 26/03/2004, Simon Byrnand wrote: At 18:17 25/03/2004, Andrew Hall wrote: You need to recompile the kernel after altering this value in linux/include/net/pkt_sched.h. Also remember that if using SFQ on leaf qdisc, then the queue length may cause delay problems if

Re: [LARTC] HTB and message 'RTNETLINK answers: Invalid argument'

2004-03-29 Thread Andy Furniss
Patrick Spousta wrote: I wish to use HTB shapper with ESFQ scheduler per class. Kernel patched, compiled and reinstaled with all needed modules. Package iproute is also patched, compiled and this 'new' version is installed. When I tried assign HTB as root qdisc with the 'new' tc I got message

Re: [LARTC] New IMQ device implementation supporting device EOS

2004-03-30 Thread Andy Furniss
Jiri Fojtasek wrote: Andy Furniss wrote: Jiri Fojtasek wrote: Hello Roy Roy wrote: Hello, imq became realy popular now ;) Sure, same as whole GNU/Linux :) It would be good ir you wrote what is that EOS to save time for some people on searches. EOS - End of Send. Its time betwen

Re: [LARTC] Squid + shaping question

2004-04-09 Thread Andy Furniss
Teodor Yantchev wrote: Hi folks, So, I have a pretty simple setup - a linux router machine running as a firewall/router for a small neighborhood LAN (approx 20 machines). I also have squid running on the box in non-transparent mode, and also I have set up NAT for TCP/UDP ports above 1024 for all

Re: [LARTC] noprioportsrc

2004-04-11 Thread Andy Furniss
Richard wrote: On Monday 29 March 2004 11:15 pm, Damion de Soto wrote: I've fonud trying to make bittorrent behave itself is quite difficult. The 3 classes have rates specified as UPLINK, 9*$UPLINK/10 and 8*$UPLINK/10 This means the sum of the 3 classes is greater than the parent. You may want

[LARTC] FWD IMQ mail on netdev

2004-04-13 Thread Andy Furniss
From [EMAIL PROTECTED]: - Forwarded message from jamal [EMAIL PROTECTED] - X-Original-To: [EMAIL PROTECTED] X-Received-Date: Mon, 12 Apr 2004 03:25:37 +0200 (CEST) Subject: (Long) ANNOUNCE: IMQ replacement WAS(Re: [RFC/PATCH] IMQ port to 2.6 From: jamal [EMAIL PROTECTED]

Re: [LARTC] Making tcp start transfers slow

2004-04-17 Thread Andy Furniss
Patrick Petersen wrote: Hey list I have almost gotten my shaping setup up and running as planned. The last barrier seems to be tcp overshooting availible bandwidth when its starting a transfer, and thereby bursting the line, so ping rises for a moment. At least this is my best guess at the problem

Re: [LARTC] When the inside functions of a sfq are called ?

2004-04-18 Thread Andy Furniss
Adrian Saileanu wrote: I read the sched/qdiscs code from kernel source ... and I have some questions : When the .enqueue, .dequeue, .drop, .requeue functions are called ? Do you mean in sfq.c - ie sfq_enqueue etc. Maybe you mean something else. What is the event that triggers them and how

Re: [LARTC] Making tcp start transfers slow

2004-04-19 Thread Andy Furniss
Roy wrote: I just had one idea, about this. what if make iptables module which will make something like enlarged copy of syn packet and send it back to the sender? (another option would be to kill 1 or 2 ack packets for one syn packet this whould force server to reduce speed) that way htb could

Re: [LARTC] ingress policing based on source address?

2004-04-23 Thread Andy Furniss
Simon Oosthoek wrote: Hi all I'm new to this list, but not exactly to iproute stuff. I'd like to solve a specific problem with bandwidth coming from different external sources towards the internal network (also the other way around, but I figure that's not so much a problem, since that is egress

Re: [LARTC] Packet marking for ingress shapping and NAT

2004-05-11 Thread Andy Furniss
Patrick Spousta wrote: snip I don't think IMQ will help - but you can mark local src in postrouting Do you mean manualy configured marking for many, many IP addresses? I think it isn't right way :-( I like ESFQ for it's source or destination hash because I don't need to setup any

Re: [LARTC] Packet marking for ingress shapping and NET

2004-05-10 Thread Andy Furniss
Patrick Spousta wrote: Hi Andy Furniss wrote: Does exists solution how to NAT and MARK in PREROUTING, but in this order? If you really need to shape for local and forwarded on ingress then you use IMQ + the IMQ NAT patch and use u32 to filter on dst IP (if you are masquerading a dynamic IP

Re: [LARTC] ip_conntrack_ftp

2004-05-10 Thread Andy Furniss
raptor wrote: As read here : http://www.sns.ias.edu/~jns/security/iptables/iptables_conntrack.html modprobe ip_conntrack_ftp would give me the ability to use active ftp if I have (pseudo/simplified code) iptables -A FORWARD -i eth0 -m state --state ESTABLISHED,RELATED -j ACCEPT iptables -A FORWARD

Re: [LARTC] HTB MPU

2004-05-14 Thread Andy Furniss
Ed Wildgoose wrote: Andy Furniss wrote: Hi. I wrote in a reply to a mail on here recently that you can't set mpu (minimum packet unit) on HTB as you can on CBQ. I've just noticed that there is a patch on devik's site which does mpu and overhead. http://luxik.cdi.cz/~devik/qos/htb/ For dsl

Re: [LARTC] HTB MPU

2004-05-14 Thread Andy Furniss
Jason Boxman wrote: On Thursday 13 May 2004 13:28, Andreas Klauer wrote: Am Thursday 13 May 2004 16:38 schrieb Andreas Klauer: Am Thursday 13 May 2004 15:54 schrieb Andy Furniss: I've just noticed that there is a patch on devik's site which does mpu and overhead. I'll give it a try. Thanks

Re: [LARTC] prerouting does not effect filtering

2004-05-09 Thread Andy Furniss
reader wrote: I try to shape traffic using HTB and mark packets within iptables using PREROUTING. But the filterrules seems to ignore the marks set with PREROUTING Only POSTROUTING marks are accepted. First my configuration I have a router connected to the internet via ADSL over interface

Re: [LARTC] Packet marking for ingress shapping and NET

2004-05-10 Thread Andy Furniss
Patrick Spousta wrote: Hi, I have typical situation, local LAN with private addresses, translated via NAT to internet. I need to shape ingress traffic (from internet to local LAN) in several HTB queues accorting to destination (private not public) IP. So I need mark packets to divide them to

Re: [LARTC] Are multiple output queues in qdisc possible?

2004-05-07 Thread Andy Furniss
[EMAIL PROTECTED] wrote: Our system sets up multiple connections. At times, packets can be transmitted for some connections but not others. With that in mind: 1. Is it possible to have multiple output queues in a qdisc, rather than one? 2. Can a packet that leaves qdisc be returned to qdisc

Re: [LARTC] shape outgoing/upload traffic PER-IP.

2004-05-05 Thread Andy Furniss
gypsy wrote: Cristiano Soares wrote: does anyone know a way to shape outgoing/upload traffic per ip? I have a network and i want to limit the upload with 100kbit per user. Ex: 192.168.1.20 1024kbit-DOWN / 100kbit-UP 192.168.1.21 1024kbit-DOWN / 100kbit-UP Ive tried CBQ and HTB, but

Re: [LARTC] newbie: TC[NG] with (256kbit/s down and 768kbit/s up) on a router

2004-05-05 Thread Andy Furniss
Andreas Klauer wrote: Am Wednesday 28 April 2004 10:42 schrieb Christian Parpart: Could someone show me some simple example code for incress+egress shaping for ppp0 (for a router with clients at eth0)? Maybe my script will do: http://www.metamorpher.de/ipshape/ I don't know about 'simple', but I

Re: [LARTC] shape outgoing/upload traffic PER-IP.

2004-05-05 Thread Andy Furniss
gypsy wrote: Grab and read this file: ftp://andthatsjazz.net/pub/lartc/ultimatePM.sh I forgot to say - if you use DSL tweaking uprate right upto the limit with bulk traffic may not be a good idea. There are atm overheads and thay are greater (as %) for small packets eg. htb counts empy ack as 40

Re: [LARTC] newbie: TC[NG] with (256kbit/s down and 768kbit/s up) on a router

2004-05-05 Thread Andy Furniss
Andreas Klauer wrote: Am Wednesday 05 May 2004 10:34 schrieb Andy Furniss: Andreas Klauer wrote: Maybe my script will do: http://www.metamorpher.de/ipshape/ I renamed it to 'Fair NAT' and moved it to http://www.metamorpher.de/fairnat/, because there already was another script called ipshape. I

Re: [LARTC] Wondershaper stops limiting outbound traffic

2004-04-30 Thread Andy Furniss
Richard wrote: I have wondershaper to limit my upload at 400kilobits (my line is 600kbps). I do a lot of torrent seeding and I dont want my pings killed when I'm uploading so I set low prority source ports as follows (by the way, I have bittornet to only use ports 6881-6910): That means BT will

Re: [LARTC] boring question

2004-04-26 Thread Andy Furniss
Mr Ivan Hawkes wrote: Andy Furniss wrote: Mr Ivan Hawkes wrote: It is important to note that this generally works well for outgoing traffic but is not particularly effective against incoming traffic since that is *pushed* onto your machine and it has no way to control this. You can control

Re: [LARTC] newbie: TC[NG] with (256kbit/s down and 768kbit/s up) on a router

2004-04-26 Thread Andy Furniss
Christian Parpart wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sunday 25 April 2004 09:06, Andy Furniss wrote: Jason Boxman wrote: Egress is easy. Ingress seems to be a topic that is discussed often on LARTC, and I believe your options are to either use an ingress policer or the IMQ

Re: [LARTC] Split bursty bandwidth equally

2004-04-28 Thread Andy Furniss
Mihai Vlad wrote: Hello again, Is it possible to split a bandwidth equally among clients regardless of its current link speed? I have a link that can get bursty at times. At any given time the N active sessions (the ones with non-empty queues) need to be serviced simultaneously, each at a rate of

Re: [LARTC] HTB MPU

2004-05-17 Thread Andy Furniss
Andy Furniss wrote: You can make HTB more accurate by setting HTB_HYSTERESIS to 0 in net/sched/sch_htb.c. To save time - if you built HTB as a module, you can probably (well it worked for me) get away with editing htb.c and do make SUBDIRS=net/sched modules and replacing /lib/modules/[kversion

Re: [LARTC] Strategy for about 200 part-time users

2004-05-19 Thread Andy Furniss
Jan Wilson wrote: I've been lurking for a while, trying to figure out this traffic control stuff. We have 3 ADSL modems upstream, with 2, 2, and 1 megabit total bandwidth, 1/4 of it up, 3/4 down. Once you have your strategy/policy sorted the detail here could be important. What are the bitrates

Re: [LARTC] SFQ latency

2004-05-19 Thread Andy Furniss
Tomas Simonaitis wrote: Anyone notices that using sfq qdisc adds latency compared to pfifo? With sfq perturb 10 ping latency is around 100-120ms, while with pfifo limit 3 drops to ~10-30ms (qdiscs belong to htb class). I'm missing something or is this expected? { $TC_CLASS parent 1:1 classid

Re: [LARTC] Can anyone fix this?

2004-05-19 Thread Andy Furniss
Chris Jensen wrote: Hi, I appologise for the bad ettiquite of this, but I have tried looking for some HTB examples that would help me, and am having trouble understanding how the tc filters should work, but I can't figure out why this isn't working. I've written this script, based upon the

Re: [LARTC] HTB MPU

2004-05-20 Thread Andy Furniss
Jason Boxman wrote: On Monday 17 May 2004 18:36, Andy Furniss wrote: snip Could be this then - You can make HTB more accurate by setting HTB_HYSTERESIS to 0 in net/sched/sch_htb.c. I have been messing with producing graphs with SNMP, so I only just did this. I was hoping to get before and after

Re: [LARTC] New Qdisc - How to

2004-05-20 Thread Andy Furniss
Ricardo Leite wrote: I already saw some messages... And Thanks to all Message from Andreas and completed by DamJan I haven't read the source, but I assume - seeing how tc needs to be patched in order to support HTB - that you need to add support for your scheduler to the tc program itself too.

Re: [LARTC] error compilling TC

2004-05-26 Thread Andy Furniss
ThE LinuX_KiD wrote: Hi, I have a box with RH 7,2 upgraded to Fedora Core 1. with: kernel 2.4.26 iptables 1.2.9 gcc 3.2.2 In this momment I'm using a binary TC version, but when I try to compile, get errors in Make process. Any hints ? db_185.h: No existe el fichero o el directorio I just hit the

Re: [LARTC] how to realize MLPPP LFI

2004-05-28 Thread Andy Furniss
swcims wrote: Hi,all I am using iproute2/tc to manage bandwidth and control traffic.I must realize these two tricky functions in mips linux(kernel 2.4.17): 1.The device MUST support the capability to fragment AF and BE traffic in order to constrain the perturbing impact of AF

Re: [LARTC] HTB MPU

2004-05-28 Thread Andy Furniss
Jason Boxman wrote: On Friday 14 May 2004 03:05, Ed Wildgoose wrote: snip I appears that you could change the patch in tc/core in fn tc_calc_rtable, from: + if (overhead) + sz += overhead; to something like: + if (overhead) + sz += (((sz-1)/mpu)+1) * overhead; I did that and

Re: [LARTC] HTB MPU

2004-05-30 Thread Andy Furniss
Jason Boxman wrote: On Friday 28 May 2004 14:54, Andy Furniss wrote: snip Reading your other post I see your small traffic is ~100b - this would use three cells, so as a temporary kludge you could set your mpu to 159 and see how it goes. AFAIK the author of the HTB patch is looking into modifying

Re: [LARTC] how to realize MLPPP LFI

2004-05-30 Thread Andy Furniss
swcims wrote: Hi,Andy I don't understand what you mean.I have a adsl router based on mips linux2.4.17.In this adsl router,one side is 100Mbit ethernet card,another side is adsl line,as following: LAN--(ethernet)ADSL Router--(ADSL line)-WAN On

Re: [LARTC] HTB MPU

2004-05-30 Thread Andy Furniss
Ed Wildgoose wrote: Reading your other post I see your small traffic is ~100b - this would use three cells, so as a temporary kludge you could set your mpu to 159 and see how it goes. AFAIK the author of the HTB patch is looking into modifying it to do the sums properly for DSL. There isn't

Re: [LARTC] how to realize MLPPP LFI on linux

2004-06-01 Thread Andy Furniss
swcims wrote: Hi,Andy Thank your very much! For the MLPPP LFI,I found that in Cisco configuration,it use ppp multilink;ppp multilink fragmentation;ppp multilink fragment-delay 20;ppp multilink interleave command to enable MLPPP LFI.So I think just realizing the same function on my linux

Re: [LARTC] MSN audio

2004-06-09 Thread Andy Furniss
Luis GUSTAVO wrote: Hi people, I want use msn 6.2 audio, and i don´t know. I share my conection with iptables and i don´t block any ports. If you NAT you are sort of blocking ports. This more an MSN UPNP issue than lartc. You may, depending on MSN versions of you and peer be able to find a

Re: [LARTC] Re: how flexible is ingress traffic policing to bandwidth limit?

2004-06-10 Thread Andy Furniss
Greg Stark wrote: Jason Boxman [EMAIL PROTECTED] writes: On Tuesday 08 June 2004 23:33, Greg Stark wrote: Well ultimately all shaping works by dropping packets. Merely delaying transmission isn't going to slow down anything in the long run, just increase the pipeline. You can delay and/or drop

Re: [LARTC] HTB theory?

2004-06-13 Thread Andy Furniss
Dmitry Golubev wrote: snip One think I do not understand neither for SFQ nor for HTB (please explain for both) - how can we maintain fairness in case of differently-sizes packets. As I understand, one packet is atomic unit, and interface is requesting not more and not less than one packet. I

Re: [LARTC] How to limit per tcp session ?

2004-06-17 Thread Andy Furniss
Rio Martin wrote: I'm so surprised with all reply from the list. I thought someone has figured it out how :)) Okay, then let me describe whats on my mind to help develope this project (if someone dare to start make a project) The idea perhaps like this: Let say i'm goin to download some

Re: [LARTC] How to limit per tcp session ?

2004-06-17 Thread Andy Furniss
Ed Wildgoose wrote: Okay, then let me describe whats on my mind to help develope this project (if someone dare to start make a project) The idea perhaps like this: Let say i'm goin to download some graphics from www.lartc.org. The first session i opened my browser, created connection

Re: [LARTC] Linux vs. Windows XP routing latency

2004-06-17 Thread Andy Furniss
[EMAIL PROTECTED] wrote: Hello, I have a problem with the latency of the packets passing a Linux router, and I thought perhaps you could put some light on it. It's quite simple. I have one ADSL connection, and a LAN. The gateway is the Linux machine or a Windows XP machine. When the wXP is

Re: [LARTC] HTB is nor fair when 'borrowing? *bug* in HTB or some coincidence?

2004-06-18 Thread Andy Furniss
pljosh wrote: Ed Wildgoose wrote: Hmm, interesting. Can you switch the order of your IP mappings around on this test so that you can prove that it is some feature of HTB that user1 always gets more bandwidth, and no something about that machine (ie if you swap ip's for user1 and 3 that it

Re: [LARTC] HTB is nor fair when 'borrowing? *bug* in HTB or some coincidence?

2004-06-18 Thread Andy Furniss
pljosh wrote: I just tested with my script and also see a 5-8% advantage for the lower handle class. I wouldn't call it a bug though - HTB is written for high traffic setups and trade off needs to be made between perfect behaviour and CPU usage and you say it gets better with more classes.

Re: [LARTC] patch: HTB update for ADSL users

2004-06-18 Thread Andy Furniss
Ed Wildgoose wrote: OK, here it is. Near perfect bandwidth calculation for ADSL users. Patch iproute2 with the HTB stuff and then this: It's still a hack (as far as I can tell) because we are patching the rates tables, and hence I think it is only loosly coupled with the actual calculation

Re: [LARTC] HTB is nor fair when 'borrowing? *bug* in HTB or some coincidence?

2004-06-18 Thread Andy Furniss
Andy Furniss wrote: I also have half your bandwidth - and it was set at 400kbit for the test. I meant to say aswell, that if you are doing the tests on downloads you need to throttle to about 80% of your rate, so you can build up queues and have a bit of spare for latency. Andy

Re: [LARTC] patch: HTB update for ADSL users

2004-06-18 Thread Andy Furniss
Ed Wildgoose wrote: After a bit of messing about - Patch would't apply and I couldn't see why. Then did it by hand and had to move vars to top of function to get it to compile. Hmm, perhaps it got corrupted because of the change in line endings when I pasted it in on a windows machine? Piece

Re: [LARTC] HTB is nor fair when 'borrowing? *bug* in HTB or some coincidence?

2004-06-20 Thread Andy Furniss
pljosh wrote: HTB_HYSTERESIS 0 in net/sched/sch_htb.c. I did it, recompiled, launched... and i looks like it is even a little bit worser: user1 has almost twice as much BW as user3... I DO NOT GET IT IT LOOKS LIKE HTB WORKS FOR EVERYONE EXCEPT ME :( I tried with your rc.shape script on my LAN

Re: [LARTC] HTB is nor fair when 'borrowing? *bug* in HTB or some coincidence?

2004-06-20 Thread Andy Furniss
pljosh wrote: Uytkownik Andy Furniss napisa: I tried with your rc.shape script on my LAN using scp. I couldn't get the bash to work - it looks to me like it will only set one user. But I Did you launch it passing argument in or ''? ./rc.shape 4 5 6 is quite far different than ./rc.shape 4 5 6

Re: [LARTC] HTB is nor fair when 'borrowing? *bug* confirmed?

2004-06-24 Thread Andy Furniss
pljosh wrote: Uytkownik Andy Furniss napisa: I just tried with 2 d/l and 3 classes - I see the same as you now. Andy. I am happy that there is finally confirmation of what I've seen :) But what now? I am just starting with traffic shaping and my question is: how is that - that so many people

Re: [LARTC] HTB patch - fairness

2004-06-24 Thread Andy Furniss
devik wrote: Witold Szczerba spent his time evaluating fairness of borrowing. His troubles inspired me enough to analyze the problem: When a class changes from yellow to green it disconnects itself from parent's feedlist. Unfortunately it resets feed pointer to the first child. I created a patch

Re: [LARTC] HTB patch - fairness

2004-06-24 Thread Andy Furniss
Andy Furniss wrote: I finally got this to work - I forgot to use gcc 2.59.3 to do the module - the one 3.3.3 made segfaulted and stopped tc and ifconfig from working thereafter. I tested and found that the same happens without the patch. It works - It has fixed the problem pljosh described

Re: [LARTC] multi ADSLs links

2004-08-18 Thread Andy Furniss
ThE LinuX_KiD wrote: hi, I've a dedicated internet link 512k with a cisco router, and now, I want to upgrade bandwidth with 8 ADSLs (512k each) then: - build kernel 2.4.27 with pachs: - patch-o-matic-ng-20040621 : CONNMARK, H323, etc... - http://www.ssi.bg/~ja/#multigw Julian's

Re: [LARTC] Help:how to filter PPP LCP packets?

2004-08-19 Thread Andy Furniss
swcims wrote: Hi all, I am using tc htb3.6 on Linux2.4.17,and it works well.I'd like to capture PPP LCP packets and put them into high priority queue.But I don't know how to use u32 ,iptables or other methods to filter this type packet. Would anyone please provide suggstion?Thank

Re: [LARTC] Gamest and QoS

2004-08-19 Thread Andy Furniss
Marcin Sura wrote: Hi I share my bandwith (adsl 512/128) between 12 users. I set up simple qos script for incoming (IMQ) and outgoing traffic using htb in root, 4 classess and esfq qdisc at leafs. If you are NATing then you need to patch/select options for IMQ, so that esfq will work

Re: [LARTC] Question about htb class

2004-08-23 Thread Andy Furniss
Hideaki Nemoto wrote: Hi everyone. I'm new to this list and I have some questions regarding HTB class. I was trying to see how tc sets the parameters for HTB, but really couldnt understand them. So, I thought that I might ask the wizards. It's mainly from the source code. 1. What is the cell_log ?

Re: [LARTC] Question about htb class

2004-08-24 Thread Andy Furniss
[EMAIL PROTECTED] wrote: On Mon, 23 Aug 2004 23:58:51 +0100 Andy Furniss [EMAIL PROTECTED] wrote: Hideaki Nemoto wrote: Hi everyone. I'm new to this list and I have some questions regarding HTB class. I was trying to see how tc sets the parameters for HTB, but really couldnt understand

Re: [Fwd: Re: [LARTC] ssh and cs LAG]

2004-10-13 Thread Andy Furniss
Hariett Jones wrote: Got some solutions myself. LAG is caused by : NETDEV WATCHDOG eth0 timeout this is caused bacause of problems with rtl8139 network card in kernel 2.6.x I had to unselect SMP in kernel config to get my rtl8139 + PCI modem to work with 2.6.8.1 Andy. Solutions : 1.add in

Re: [LARTC] Is it possible to shape variable bandwidth?

2004-10-13 Thread Andy Furniss
Zviad O. Giorgadze wrote: Hello LARTC, Internet connection - ADSL, interface nas0 (115kbit guarantied, up to 1mbit possible. Depends on ISP load, impossible to guess). Internal interface LAN, eth0. Is it possible to successfully shape download traffic on eth0 using HTB? Classes must have

Re: [Fwd: Re: [LARTC] ssh and cs LAG]

2004-10-13 Thread Andy Furniss
Mike Slinn wrote: We had no problems with smp on 2.6.8.3, and since this cpu supports hyperthreading we enjoy a *big* power boost using smp. :) I think it's this box(via p200) + rtl8139 that's the problem - it's always been a bit flakey. I have the same card in a PII350 intel440bx and it has

Re: [LARTC] Resetting traffic history

2004-10-13 Thread Andy Furniss
Mike Slinn wrote: I'm a tc newbie, and I think I am close to being able to use it to control one of the virtual web sites on our Gentoo Linux server. The site has it's own IP address. I have a bit of a problem in that the way I originally configured tc, the busy site grabbed all the

Re: [LARTC] Suggestion.

2004-09-30 Thread Andy Furniss
Alejandro Bonilla wrote: Hi, I'm new to the list. I intend to learn about some Linux Networking features to help myself and others. I'm looking to control the bandwidth in my office. Basically there are like 20 computers, a 2MB Adsl Line. And I would love to let them only use a certain

Re: [LARTC] Please advise how to set up for 5 IPs

2004-09-30 Thread Andy Furniss
Jason Boxman wrote: On Tuesday 28 September 2004 15:36, gypsy wrote: snip How can I implement ingress shaping / policing to limit the combined incoming rate, regardless of IP, to about 700K (the connection is actually 730K in and 690K out). Only because it REALLY annoys me to drop an already

Re: [LARTC] Huge system load using HTB

2004-10-07 Thread Andy Furniss
Szymon Miotk wrote: Hi! I have some problems with htb performance. THE SETUP: I have a network with 3 ISP uplinks and 1 local network uplink. There are about 1700 clients. I was shaping their bandwidth with HTB using iptables mangling in a manner: tc class add dev $DEV parent 1:10 classid

Re: [LARTC] What is the reccomended minimum rate for leaf htb classfor accurate operation?

2004-10-07 Thread Andy Furniss
[EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: Your gues is right. To get HTB work correctly you must know rate parameter for your connection also known as CIR. Coud you tell what minimum rate your clients have? My worst HTB class has rateceil 778bps. I guess the lower the rate, the less

Re: [LARTC] PRIO not working?

2004-10-08 Thread Andy Furniss
Phill wrote: Hello, I am using a simple script, which is based on prio. The point is, that it is not possible to use htb on wifi networks, so I thought that prio will work fine, but it does almost nothing. All I wanted was to make the important packets like icmp, games, VoIP,... to go

Re: [LARTC] HTB weird problem ....

2004-10-09 Thread Andy Furniss
Drink Linux wrote: if i remove the 1 packet ... it would be again exceed the ceiling ... thanks ill try When you fix HTB you won't need it. r u referring to this faq in docum??!?!?! http://www.docum.org/docum.org/faq/cache/40.html the file linux/include/net/sched/pkt_sched.h

Re: [LARTC] Limit traffic that use to download a file

2004-10-25 Thread Andy Furniss
Rinto Exandy wrote: Dear All, I want to limit traffic that use by my client to download files directly from browser, I have already limit the traffic for the same purpose to ftp connection. But I don't want to limit traffic that using for browsing the web. Can I do this with IMQ/HTB or any other

Re: [LARTC] Limit traffic that use to download a file

2004-10-25 Thread Andy Furniss
EC wrote: Rinto Exandy wrote: Dear All, I want to limit traffic that use by my client to download files directly from browser, I have already limit the traffic for the same purpose to ftp connection. But I don't want to limit traffic that using for browsing the web. Can I do this with IMQ/HTB or

Re: [LARTC] HTB: Problem with excess bandwidth distribution

2004-10-28 Thread Andy Furniss
Leslie Patrick Polzer wrote: Hello, I have a serious problem with HTB which I wasn't able to solve myself. I run a masquerading router with ppp0 as interface to the Internet. Three clients need to share a downstream of 1 MBit, which I want to divide with tc. When I see a packet being forwarded to

Re: [LARTC] Limiting Bandwidth of an ppp interfaces

2004-10-28 Thread Andy Furniss
Florian Taeger wrote: Hi everyone. I'm working on a problem since some days. I have a linux router with about 100 ppp interfaces. Each interface should bei limited to an individual bandwidth of 1024kbit, 2048kbit or 3096kbit. Up AND downstream. (let's say for example 1024kbit upstream and 1024kbit

Re: [LARTC] Limiting Bandwidth of an ppp interfaces

2004-10-28 Thread Andy Furniss
If the traffic leaves on 1 interfaces then you need to use IMQ. I forgot to put - you can also attach policers to each ppp - thay are not queues so they don't limit rate as such - but they can drop if over rate - thus limiting TCP. Andy. ___ LARTC

Re: [LARTC] HTB: Problem with excess bandwidth distribution

2004-10-29 Thread Andy Furniss
Leslie Patrick Polzer wrote: Andy Furniss wrote: Leslie Patrick Polzer wrote: Hello, I have a serious problem with HTB which I wasn't able to solve myself. I run a masquerading router with ppp0 as interface to the Internet. Three clients need to share a downstream of 1 MBit, which I want to divide

Re: [LARTC] HTB: Problem with excess bandwidth distribution

2004-10-29 Thread Andy Furniss
Leslie Patrick Polzer wrote: Still problems :( I upgraded to kernel 2.6.9 now, configured IMQ to hook itself up after NAT, called it from prerouting, used u32 (matching works), set the root class to a rate of 800kBit (which is 200 less than my link speed) - and the behavior gets even worse :(

Re: [LARTC] HTB: Problem with excess bandwidth distribution

2004-10-29 Thread Andy Furniss
Andy Furniss wrote: 1 $TC class add dev imq0 parent 1:1 classid 1:32 htb rate 133kbit ceil 400kbit prio 1 I meant to delete the prio 1 - I don't know if it matters - I tested with the other two. Andy. ___ LARTC mailing list / [EMAIL

Re: [LARTC] hfsc scheduler

2004-10-29 Thread Andy Furniss
yoyo wrote: i remember on this list someone tried hfsc (he had some nice comparison graphs between hfschtb) but i can't seem to find the message in the archives.. :( This one. Andy. Vincent Perrier wrote: HTB versus HFSC, both qdisc offer the same kind of service, if you want to see comparative

Re: [LARTC] Limiting Bandwidth of an ppp interfaces

2004-10-29 Thread Andy Furniss
Florian Taeger wrote: Hi. If the traffic from all the ppps leave by one interface then you could mark packets by incoming interface and set up egress shaping with say HTB on that interface. There is only one eth0 interface to the internet and many ppp for the users. So ... I have to shape every

Re: [LARTC] HTB: Problem with excess bandwidth distribution

2004-10-31 Thread Andy Furniss
Andy Furniss wrote: Saying that I did notice that HTB was dropping - maybe the default queue length is shorter now? It does seem a bit strange though, I see drops where I expect the queue to be long enough for my rwin and a class with two tcps on the go had less drops than one with one

Re: [LARTC] Big problem :(((((

2004-11-04 Thread Andy Furniss
Cireasa Claudiu wrote: Hello! I have an internet connection of 64kbps garanteed in a channel of 256kbps. On this connection the metropolitan speed is 10Mbps and in the provider's network the speed is 100Mbps. I have a few clients behind my linux box and i want to set up some limitations because

Re: [LARTC] Recent changes in qdisc/cls APIs

2004-11-04 Thread Andy Furniss
Thomas Graf wrote: Folks, I've been changing some of the classifier APIs especially bits related to the rate estimator and statistics between 2.6.8 and 2.6.10. This probably broke some external classifiers such as esfq. If you happen to use one of them just send me the correspondig patch and I

Re: [LARTC] Recent changes in qdisc/cls APIs

2004-11-04 Thread Andy Furniss
Thomas Graf wrote: I use overlimits as a counter in esfq - has this changed ? I assume you're using your own tc_stats copy and not abusing the policer stats. You may want to use the new statistic interface which provides overlimits via gnet_stats_queue. I used overlimits as it was always 0 for

Re: [LARTC] Recent changes in qdisc/cls APIs

2004-11-04 Thread Andy Furniss
Andy Furniss wrote: Thomas Graf wrote: I use overlimits as a counter in esfq - has this changed ? I assume you're using your own tc_stats copy and not abusing the policer stats. You may want to use the new statistic interface which provides overlimits via gnet_stats_queue. I used overlimits

  1   2   3   4   5   6   7   >