* [LARTC] Prioritizing UDP Packets?
@ 2004-01-29 18:24 Sommarnatt
2004-01-30 7:23 ` Damion de Soto
2004-01-30 8:44 ` Sommarnatt
0 siblings, 2 replies; 3+ messages in thread
From: Sommarnatt @ 2004-01-29 18:24 UTC (permalink / raw)
To: lartc
Greetings,
I'm new to LARTC and I'm trying to solve a problem with multiple clients
accessing a game server. So I thought I'd give traffic control a shot.
I've downloaded Wonder Shaper and have added this to the default script:
tc filter add dev $DEV parent 1:0 protocol ip prio 12 u32 \
match ip protocol 0x6 0xff flowid 1:3
I'm now quite sure about everything in the script - all I want is to prioritize
the UDP traffic, so that it always gets sent and recieved.
What should I remove / add?
Any help is appreciated!
Thank you.
Kind Regards,
Sommarnatt
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [LARTC] Prioritizing UDP Packets?
2004-01-29 18:24 [LARTC] Prioritizing UDP Packets? Sommarnatt
@ 2004-01-30 7:23 ` Damion de Soto
2004-01-30 8:44 ` Sommarnatt
1 sibling, 0 replies; 3+ messages in thread
From: Damion de Soto @ 2004-01-30 7:23 UTC (permalink / raw)
To: lartc
Sommarnatt wrote:
>
> I've downloaded Wonder Shaper and have added this to the default script:
>
> tc filter add dev $DEV parent 1:0 protocol ip prio 12 u32 \
> match ip protocol 0x6 0xff flowid 1:3
There is no flowid 1:3 in the default script. was that supposed to be 1:30 ?
> I'm now quite sure about everything in the script - all I want is to prioritize
> the UDP traffic, so that it always gets sent and recieved.
> What should I remove / add?
The above rule matches tcp traffic and puts it in the low priority queue (if you used
1:30).
I guess this would therefore make UDP faster.
you might also want to try putting UDP in flow 1:10
This won't affect download UDP traffic though, the wondershaper
only shapes outbound (sent) traffic, and polices inbound (received) traffic.
If you want to prioritize downloaded UDP traffic, you'll need to use 2 network
interfaces, or play around with the IMQ device.
(or one of the other suggestions that have been discussed recently)
regards
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Damion de Soto - Software Engineer email: damion@snapgear.com
SnapGear - A CyberGuard Company --- ph: +61 7 3435 2809
| Custom Embedded Solutions fax: +61 7 3891 3630
| and Security Appliances web: http://www.snapgear.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--- Free Embedded Linux Distro at http://www.snapgear.org ---
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [LARTC] Prioritizing UDP Packets?
2004-01-29 18:24 [LARTC] Prioritizing UDP Packets? Sommarnatt
2004-01-30 7:23 ` Damion de Soto
@ 2004-01-30 8:44 ` Sommarnatt
1 sibling, 0 replies; 3+ messages in thread
From: Sommarnatt @ 2004-01-30 8:44 UTC (permalink / raw)
To: lartc
Quoting Damion de Soto <damion@snapgear.com>:
> Sommarnatt wrote:
> >
> > I've downloaded Wonder Shaper and have added this to the default script:
> >
> > tc filter add dev $DEV parent 1:0 protocol ip prio 12 u32 \
> > match ip protocol 0x6 0xff flowid 1:3
> There is no flowid 1:3 in the default script. was that supposed to be 1:30 ?
Yes it seems I didn't copy it right. Changed it to 1:10.
> > I'm now quite sure about everything in the script - all I want is to
> prioritize
> > the UDP traffic, so that it always gets sent and recieved.
> > What should I remove / add?
> The above rule matches tcp traffic and puts it in the low priority queue (if
> you used
> 1:30).
> I guess this would therefore make UDP faster.
> you might also want to try putting UDP in flow 1:10
>
> This won't affect download UDP traffic though, the wondershaper
> only shapes outbound (sent) traffic, and polices inbound (received) traffic.
> If you want to prioritize downloaded UDP traffic, you'll need to use 2
> network
> interfaces, or play around with the IMQ device.
> (or one of the other suggestions that have been discussed recently)
Alright. I'll have to read the howto on this, haven't had the time yet :/
Thanks for your help!
>
> regards
>
>
>
> --
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Damion de Soto - Software Engineer email: damion@snapgear.com
> SnapGear - A CyberGuard Company --- ph: +61 7 3435 2809
> | Custom Embedded Solutions fax: +61 7 3891 3630
> | and Security Appliances web: http://www.snapgear.com
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> --- Free Embedded Linux Distro at http://www.snapgear.org ---
>
> _______________________________________________
> LARTC mailing list / LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
>
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-01-30 8:44 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-29 18:24 [LARTC] Prioritizing UDP Packets? Sommarnatt
2004-01-30 7:23 ` Damion de Soto
2004-01-30 8:44 ` Sommarnatt
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.