Skip to contentSkip to conversation

RTP prioritizing

LARTC Andy Pyles 2 participants 2 messages May 29, 2001

lore
Share & tools
lore

Andy Pyles

author
#0 lore raw

Hi,

I'm in the process of configuring a linux box to be a traffic shaper. for RTP streams. Basically what I would like to accomplish is the following:
incoming/outgoing RTP streams.

From examining the HOW-TO, it appears that that you can scan the IP headers based on the
U32 selector, and grep for specific identifiers. I'm sure I can figure this out for RTP. Please clarify that I'm going
in the right direction with this. RTP doesn't really have a specific block of port numbers you can specify.. so I'm assuming the only way to handle this is to use this U32 mechanism.

My question is, is it possible with the 2.4 kernel to setup a "borrowing" mechanism?
let me explain. What I would like to do is to reserve lets say 75% of all available bandwidth.
With the stipulation that if there are no rtp streams, that all other traffic can "borrow" from this reserved bandwidth.

regards,

-Andy Pyles

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/

#1 lore raw
Quoted 5 lines · Andy Pyles

I'm in the process of configuring a linux box to be a traffic shaper. for RTP streams. Basically what I would like to accomplish is the following:
incoming/outgoing RTP streams.

Quoted 7 lines

From examining the HOW-TO, it appears that that you can scan the IP headers based on the
U32 selector, and grep for specific identifiers. I'm sure I can figure this out for RTP. Please clarify that I'm going
in the right direction with this. RTP doesn't really have a specific block of port numbers you can specify.. so I'm assuming the only way to handle this is to use this U32 mechanism.

I hardly know anything about RTP streams, but does it use UDP? If there isn't much other UDP traffic, you might have a descent working configuration if you just seperate UDP from TCP traffic.

Quoted 6 lines

My question is, is it possible with the 2.4 kernel to setup a "borrowing" mechanism?
let me explain. What I would like to do is to reserve lets say 75% of all available bandwidth.
With the stipulation that if there are no rtp streams, that all other traffic can "borrow" from this reserved bandwidth.

Of course, just use unbounded classes for this. The rate of the class speficies the minimum bandwidth, but it allows you the borrow bandwidth from other, default non-isolated classes, if:
1 - you need more bandwidth AND
2 - the other class has excess bandwidth

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/