Try WRR on eth1 see http://wipl-wrr.sourceforge.net/ for details or use ESFQ see mail from Alexander Atanasov 05.06.2002 I rename files gzip its and attach to this mail but don't change anything patch kernel and tc cd iproute2 patch -p1 < ../esfq-tc.diff cd linux-2.4.18 patch -p1 < ../esfq-2.4.18.diff recompile kernel and tc thats all !! see README Note it give you equal division for a long term not at the moment Example: tc qdisc add dev eth1 root handle 1:0 esfq hash src It make equal priority for session based on ip address not tcp session like classic SFQ For detail see SFQ 05.06.2002 15:34:05, "Vladimir Trebicky" <druid@mail.cz> wrote: >I have a LAN (eth1) and 1Mbit internet which is very unstable (from >100kbit - 2mbit) on eth0. I would like to prevent ip A downloading with 9 >threads taking 90% bandwidth and ip B downloading with 1 thread taking 10%. >I would like ip A as well as ip B to have each 50% of bandwith no care how >many threads they are downloading. I suppose that it could be done on eth1. >But how? >Second problem: I want to lessen round-trips. Should I do it with priorizing >small packets on eth0? How? >I have 2.4.18, iproute2 with extra htb. PSCHED_JIFFIES (unfortunately - it's >only AMD 160MHz and does not have TSC) > >Thanks > >-- >Vladimir Trebicky >druid@mail.cz > > >--- >Odchozi zprava neobsahuje viry. >Zkontrolováno antivirovým systémem AVG (http://www.grisoft.cz). >Verze: 6.0.368 / Virová báze: 204 - datum vydání: 29.5.2002 > >_______________________________________________ >LARTC mailing list / LARTC@mailman.ds9a.nl >http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/ > ----------------------------------- mailto:alexey_talikov@texlab.com.uz BR Alexey Talikov FORTEK -----------------------------------
Attachment:
esfq.tar.gz
Description: GNU Zip compressed data