Skip to contentSkip to conversation

tc patched doesn't work with WFQ

LARTC Julien Bisconti 4 participants 5 messages Apr 2, 2006 – May 10, 2006

lore
Share & tools
lore
#0 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I was searching for few days in this mailing list but I didn't find how to solve my tc problem. Feel free to ask me more details if you think there are relevant.

I'm using a Gentoo 2.4.32-gentoo-r2 and I'm trying to test a *weighted fair queuing* (WFQ) implementation. See http://home.sch.bme.hu/~tusi/wfq/

I patched the kernel and loaded the sch_wfq module, I patched iproute2/tc and compile everything. I tried the command

- ------------

# tc qdisc add dev eth0 root handle 1:0 wfq 1 ifspped 12500000
Unknown qdisc "wfq", hence option "1" is unparsable
#
- ------------

the problem is that tc doesn't recognize the qdisc wfq.
I tried to compile wfq as a module and into the kernel, both gave the same error message.

I also check this :

- ------------

# tc qdisc add dev eth0 root handle 1:0 cbq bandwidth 100Mbit avpkt 1000 mpu 64
- ------------

and tc works fine !!!

I really don't understand what am I doing wrong????

Everything needed in the kernel is loaded, and when I compile *sch_wfq* as a module, I retry the tc command above (the first one). I had the error mesage, and I see (with lsmod) that the module is "unused".
Well, it's pretty obvious that tc didn't use it.

Any help is needed, thank you in advance.

- --
Julien BISCONTI <[email protected]> M.Sc. student in Computer Science, University of Namur FUNDP, Belgium
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEMCheT4AXxTE7uXcRAr9dAJ9/y60SIhegqE7v400MofKYvsrn8gCgp5w7 CNbQJlUvK08CyQNlfjx7qc0=LzWe
-----END PGP SIGNATURE-----
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

#1 lore raw
Quoted 9 lines · Julien Bisconti

Hi,

I was searching for few days in this mailing list but I didn't find how to solve my tc problem. Feel free to ask me more details if you think there are relevant.

I'm using a Gentoo 2.4.32-gentoo-r2 and I'm trying to test a *weighted fair queuing* (WFQ) implementation. See http://home.sch.bme.hu/~tusi/wfq/

I patched the kernel and loaded the sch_wfq module, I patched iproute2/tc and compile everything.

I think you will find that the patch to iproute2 is too old. The iproute used to create it has a date in year 2000 and iproute2 has changed substantially since then.

I suggest you contact the author and request a new patch. --
gypsy
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

#2 lore raw
In reply to Julien Bisconti
Quoted 6 lines · gypsy
Quoted 5 lines · Julien Bisconti

Hi,

I was searching for few days in this mailing list but I didn't find how to solve my tc problem. Feel free to ask me more details if you think there are relevant.

Quoted 8 lines
Quoted 4 lines

I'm using a Gentoo 2.4.32-gentoo-r2 and I'm trying to test a *weighted fair queuing* (WFQ) implementation. See http://home.sch.bme.hu/~tusi/wfq/

I patched the kernel and loaded the sch_wfq module, I patched iproute2/tc and compile everything.

I think you will find that the patch to iproute2 is too old. The iproute used to create it has a date in year 2000 and iproute2 has changed substantially since then.

Thank you so MUCH!!!

Quoted 2 lines

I suggest you contact the author and request a new patch.

I sent him email but no reply so far. I think I'm going to do it by myself.

Thank you again.

Julien

Quoted 4 lines

--
gypsy

Signature · 7 lines
Julien BISCONTI <[email protected]>
M.Sc. student in Computer Science, University of Namur
FUNDP, Belgium
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
#3 lore raw
In reply to Julien Bisconti
Quoted 21 lines · On Mon, 03 Apr 2006 09:25:04 +0200 Julien Bisconti <[email protected]>…
Quoted 6 lines · gypsy
Quoted 5 lines · Julien Bisconti

Hi,

I was searching for few days in this mailing list but I didn't find how to solve my tc problem. Feel free to ask me more details if you think there are relevant.

Quoted 8 lines
Quoted 4 lines

I'm using a Gentoo 2.4.32-gentoo-r2 and I'm trying to test a *weighted fair queuing* (WFQ) implementation. See http://home.sch.bme.hu/~tusi/wfq/

I patched the kernel and loaded the sch_wfq module, I patched iproute2/tc and compile everything.

I think you will find that the patch to iproute2 is too old. The iproute used to create it has a date in year 2000 and iproute2 has changed substantially since then.

Thank you so MUCH!!!

Quoted 1 line
Quoted 7 lines
Quoted 1 line

I suggest you contact the author and request a new patch.

I sent him email but no reply so far. I think I'm going to do it by myself.

Thank you again.

Julien

Also, since tc supports shared libraries for additional queue disciplines. You could set it up to build a .so and put in /usr/lib/tc. Then you wouldn't need to rebuild all of iproute2.
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc