* [LARTC] [Q]About Using TC in MPC8250
@ 2003-04-22 11:18 soyoung
2003-04-22 11:26 ` Stef Coene
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: soyoung @ 2003-04-22 11:18 UTC (permalink / raw)
To: lartc
Hi,
I'm running Linux 2.4.17 on MPC8250 CPU for bandwidth management with TC CBQ.
All the functions in CBQ looks working - including TC,
but the class can't use its allocated bandwidth,
so I can't use bandwidth management with TC on MPC8250.
No external error founds when running TC.
I think the correctness for calculating bandwidth in each class is the problem.
Is there anyone who has run CBQ in TC on MPC8250? or do you have some good
idea to solve this problem?
Thanks.
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [LARTC] [Q]About Using TC in MPC8250
2003-04-22 11:18 [LARTC] [Q]About Using TC in MPC8250 soyoung
@ 2003-04-22 11:26 ` Stef Coene
2003-04-22 12:27 ` Christoph Moench-Tegeder
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Stef Coene @ 2003-04-22 11:26 UTC (permalink / raw)
To: lartc
On Tuesday 22 April 2003 13:18, soyoung@taonetworks.com wrote:
> Hi,
>
> I'm running Linux 2.4.17 on MPC8250 CPU for bandwidth management with TC
> CBQ. All the functions in CBQ looks working - including TC,
> but the class can't use its allocated bandwidth,
> so I can't use bandwidth management with TC on MPC8250.
Can you be more specific? What's your script? How did you test it?
> No external error founds when running TC.
> I think the correctness for calculating bandwidth in each class is the
> problem.
>
> Is there anyone who has run CBQ in TC on MPC8250? or do you have some good
> idea to solve this problem?
What's "MPC8250" ??
Stef
--
stef.coene@docum.org
"Using Linux as bandwidth manager"
http://www.docum.org/
#lartc @ irc.oftc.net
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [LARTC] [Q]About Using TC in MPC8250
2003-04-22 11:18 [LARTC] [Q]About Using TC in MPC8250 soyoung
2003-04-22 11:26 ` Stef Coene
@ 2003-04-22 12:27 ` Christoph Moench-Tegeder
2003-04-22 14:26 ` Stef Coene
2003-04-23 6:05 ` soyoung
3 siblings, 0 replies; 5+ messages in thread
From: Christoph Moench-Tegeder @ 2003-04-22 12:27 UTC (permalink / raw)
To: lartc
## Stef Coene (stef.coene@docum.org):
> > Is there anyone who has run CBQ in TC on MPC8250? or do you have some good
> > idea to solve this problem?
> What's "MPC8250" ??
A bunch of interfaces with a RISC behind then:
http://e-www.motorola.com/webapp/sps/site/prod_summary.jsp?code=MPC8250
Regards,
Christoph
--
Spare Space
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [LARTC] [Q]About Using TC in MPC8250
2003-04-22 11:18 [LARTC] [Q]About Using TC in MPC8250 soyoung
2003-04-22 11:26 ` Stef Coene
2003-04-22 12:27 ` Christoph Moench-Tegeder
@ 2003-04-22 14:26 ` Stef Coene
2003-04-23 6:05 ` soyoung
3 siblings, 0 replies; 5+ messages in thread
From: Stef Coene @ 2003-04-22 14:26 UTC (permalink / raw)
To: lartc
On Tuesday 22 April 2003 14:27, Christoph Moench-Tegeder wrote:
> ## Stef Coene (stef.coene@docum.org):
> > > Is there anyone who has run CBQ in TC on MPC8250? or do you have some
> > > good idea to solve this problem?
> >
> > What's "MPC8250" ??
>
> A bunch of interfaces with a RISC behind then:
> http://e-www.motorola.com/webapp/sps/site/prod_summary.jsp?code=MPC8250
As long as it can run linux, you can use it to shape.
But if your tc setup is not working, can you at least post the script and
explain what you did to test it? So we can try to find the error and
(hopely) a solution.
Stef
--
stef.coene@docum.org
"Using Linux as bandwidth manager"
http://www.docum.org/
#lartc @ irc.oftc.net
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [LARTC] [Q]About Using TC in MPC8250
2003-04-22 11:18 [LARTC] [Q]About Using TC in MPC8250 soyoung
` (2 preceding siblings ...)
2003-04-22 14:26 ` Stef Coene
@ 2003-04-23 6:05 ` soyoung
3 siblings, 0 replies; 5+ messages in thread
From: soyoung @ 2003-04-23 6:05 UTC (permalink / raw)
To: lartc
MPC8250 is a CPU name produced by Motorola.
It is a kind of Motorola PowerPC processor. Linux can run on the MPC8250.
Every kernel functions regarding to TC CBQ looks working -
I followed the CBQ kernel code step by step and found no problems.
But the bandwidth I allocated is not guaranteed.
I think it is related to CPU characteristics,
but I don't have any specific knowledge about it.
I don't think the script is wrong, 'cause I used that script for other
linux (running on normal i386 machine) and it works good.
Anyway here is a script.
--
/sbin/tc qdisc del dev eth1 root handle 1:
/sbin/tc qdisc add dev eth1 root handle 1: cbq bandwidth 102400Kbit avpkt 1500 cell 8
/sbin/tc class add dev eth1 parent 1: classid 1:2 cbq bandwidth 102400Kbit rate 102Kbit allot 1514 cell 8 weight 10Kbit prio 3 maxburst 16 avpkt 1500 bounded
/sbin/tc filter add dev eth1 parent 1: protocol ip prio 3 u32 match ip src 10.0.10.72 match ip dst 10.0.0.47 flowid 1:2
On Tue, Apr 22, 2003 at 01:26:18PM +0200, Stef Coene wrote:
> On Tuesday 22 April 2003 13:18, soyoung@taonetworks.com wrote:
> > Hi,
> >
> > I'm running Linux 2.4.17 on MPC8250 CPU for bandwidth management with TC
> > CBQ. All the functions in CBQ looks working - including TC,
> > but the class can't use its allocated bandwidth,
> > so I can't use bandwidth management with TC on MPC8250.
> Can you be more specific? What's your script? How did you test it?
>
> > No external error founds when running TC.
> > I think the correctness for calculating bandwidth in each class is the
> > problem.
> >
> > Is there anyone who has run CBQ in TC on MPC8250? or do you have some good
> > idea to solve this problem?
> What's "MPC8250" ??
>
> Stef
>
> --
>
> stef.coene@docum.org
> "Using Linux as bandwidth manager"
> http://www.docum.org/
> #lartc @ irc.oftc.net
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2003-04-23 6:05 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-22 11:18 [LARTC] [Q]About Using TC in MPC8250 soyoung
2003-04-22 11:26 ` Stef Coene
2003-04-22 12:27 ` Christoph Moench-Tegeder
2003-04-22 14:26 ` Stef Coene
2003-04-23 6:05 ` soyoung
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.