I've compiled tc (after hint to patch the kernel first :-) and also kernel. Both with extra wrr, esfq and htb. I forgot to ask whether is esfq supposed to be compiled as a module or to be built-in. So I've tried it as built-in and after command tc qdisc add dev eth1 root handle 1: esfq hash src: RNETLING answers: Invalid argument That seems to me like it wouldn't be in kernel, but it is :-( Please see my configuration for kernel in attachment. Somewhere there is also something that does that my machine has address like: mymachine.IN-ADDR-ARPA... I don't know what it is and I also don't want to uncheck something I could possibly need for Full-NAT and QoS... ----- Original Message ----- From: "Alexey Talikov" <alexey_talikov@texlab.com.uz> To: <lartc@mailman.ds9a.nl>; "Vladimir Trebicky" <druid@mail.cz> Sent: Wednesday, June 05, 2002 1:19 PM Subject: Re: [LARTC] Bandwidth allocation by IP > 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 > ----------------------------------- > --- 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
Attachment:
shotek
Description: Binary data