All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] tc patched doesn't work with WFQ
@ 2006-04-02 19:39 Julien Bisconti
  2006-04-03  0:39 ` gypsy
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Julien Bisconti @ 2006-04-02 19:39 UTC (permalink / raw)
  To: lartc

-----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 <julien.bisconti@student.fundp.ac.be>
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
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [LARTC] tc patched doesn't work with WFQ
  2006-04-02 19:39 [LARTC] tc patched doesn't work with WFQ Julien Bisconti
@ 2006-04-03  0:39 ` gypsy
  2006-04-03  7:25 ` Julien Bisconti
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: gypsy @ 2006-04-03  0:39 UTC (permalink / raw)
  To: lartc

Julien Bisconti wrote:
> 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
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [LARTC] tc patched doesn't work with WFQ
  2006-04-02 19:39 [LARTC] tc patched doesn't work with WFQ Julien Bisconti
  2006-04-03  0:39 ` gypsy
@ 2006-04-03  7:25 ` Julien Bisconti
  2006-04-03 17:04 ` Stephen Hemminger
  2006-05-10 12:36 ` [LARTC] tc patched doesn't work with WFQ TOO alessandrovitale
  3 siblings, 0 replies; 5+ messages in thread
From: Julien Bisconti @ 2006-04-03  7:25 UTC (permalink / raw)
  To: lartc



gypsy wrote:
> Julien Bisconti wrote:
>> 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.

Thank you so MUCH!!!

> 
> 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

> --
> gypsy
> 
> 

-- 
Julien BISCONTI <julien.bisconti@student.fundp.ac.be>
M.Sc. student in Computer Science, University of Namur
FUNDP, Belgium
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [LARTC] tc patched doesn't work with WFQ
  2006-04-02 19:39 [LARTC] tc patched doesn't work with WFQ Julien Bisconti
  2006-04-03  0:39 ` gypsy
  2006-04-03  7:25 ` Julien Bisconti
@ 2006-04-03 17:04 ` Stephen Hemminger
  2006-05-10 12:36 ` [LARTC] tc patched doesn't work with WFQ TOO alessandrovitale
  3 siblings, 0 replies; 5+ messages in thread
From: Stephen Hemminger @ 2006-04-03 17:04 UTC (permalink / raw)
  To: lartc

On Mon, 03 Apr 2006 09:25:04 +0200
Julien Bisconti <jbiscont@info.fundp.ac.be> wrote:

> 
> 
> gypsy wrote:
> > Julien Bisconti wrote:
> >> 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.
> 
> Thank you so MUCH!!!
> 
> > 
> > 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
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [LARTC] tc patched doesn't work with WFQ TOO
  2006-04-02 19:39 [LARTC] tc patched doesn't work with WFQ Julien Bisconti
                   ` (2 preceding siblings ...)
  2006-04-03 17:04 ` Stephen Hemminger
@ 2006-05-10 12:36 ` alessandrovitale
  3 siblings, 0 replies; 5+ messages in thread
From: alessandrovitale @ 2006-05-10 12:36 UTC (permalink / raw)
  To: lartc

I've the same problem of Julien Bisconti.
Can someone help me ?
I try to compile iproute2 for my target ppc 8260.
Thank you !

_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-05-10 12:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-02 19:39 [LARTC] tc patched doesn't work with WFQ Julien Bisconti
2006-04-03  0:39 ` gypsy
2006-04-03  7:25 ` Julien Bisconti
2006-04-03 17:04 ` Stephen Hemminger
2006-05-10 12:36 ` [LARTC] tc patched doesn't work with WFQ TOO alessandrovitale

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.