* [LARTC] Controlling ratios
@ 2004-02-24 5:24 Nandini
2004-02-28 13:17 ` Stef Coene
0 siblings, 1 reply; 2+ messages in thread
From: Nandini @ 2004-02-24 5:24 UTC (permalink / raw)
To: lartc
Hi,
I have a situation where the queue to interface eth0 is full all the
time.
I want my scheduler to send 4 packets to destination 1.2.3.4 followed
by 2 packets to destination 5.6.7.8 ( I assume sufficient packets are
available all the time)
Is this method of configuring correct
Assuming my *MTU* is 1514
tc qdisc add dev eth0 root handle 1: prio
tc filter add dev eth0 parent 1:0 prio 1 protocol ip u32 match ip dst
1.2.3.4/32 flowid 1:1
tc filter add dev eth0 parent 1:0 prio 2 protocol ip u32 match ip dst
5.6.7.8/32 flowid 1:2
tc qdisc add dev eth0 parent 1:1 handle 10: sfq quantum 6056
tc qdisc add dev eth0 parent 1:2 handle 20: sfq quantum 3028
Will this work ??
Nandini
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [LARTC] Controlling ratios
2004-02-24 5:24 [LARTC] Controlling ratios Nandini
@ 2004-02-28 13:17 ` Stef Coene
0 siblings, 0 replies; 2+ messages in thread
From: Stef Coene @ 2004-02-28 13:17 UTC (permalink / raw)
To: lartc
On Tuesday 24 February 2004 06:12, Nandini wrote:
> Hi,
> I have a situation where the queue to interface eth0 is full all the
> time.
> I want my scheduler to send 4 packets to destination 1.2.3.4 followed
> by 2 packets to destination 5.6.7.8 ( I assume sufficient packets are
> available all the time)
>
> Is this method of configuring correct
> Assuming my *MTU* is 1514
>
> tc qdisc add dev eth0 root handle 1: prio
> tc filter add dev eth0 parent 1:0 prio 1 protocol ip u32 match ip dst
> 1.2.3.4/32 flowid 1:1
> tc filter add dev eth0 parent 1:0 prio 2 protocol ip u32 match ip dst
> 5.6.7.8/32 flowid 1:2
> tc qdisc add dev eth0 parent 1:1 handle 10: sfq quantum 6056
> tc qdisc add dev eth0 parent 1:2 handle 20: sfq quantum 3028
>
> Will this work ??
Yes, but quantum is for htb classes, not for qdiscs.
Stef
--
stef.coene@docum.org
"Using Linux as bandwidth manager"
http://www.docum.org/
#lartc @ irc.openprojects.net
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-02-28 13:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-24 5:24 [LARTC] Controlling ratios Nandini
2004-02-28 13:17 ` Stef Coene
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.