QoS and your PC

dsiegel's picture

In a comment on this post from one of our readers, Christopher Wacker writes:


To me, it sounds like you A/V issues lie with your networking.  I work for a MPLS consulting firm (if you don't know what MPLS is, you can take a look at http://mpls-experts.com/default.asp?page=pages/whatismpls.asp&v=nontech for a brief overview of what MPLS is) and have noticed this problem quiet often with companies.  Are you currently using ATM/Frame Relay?

I am somewhat familiar with MPLS.  :-)

I was an IP Engineer at Frontier Globalcenter when we were doing our rollout of MPLS back in Q1 1999, which coincidentally was the first deployment of MPLS in any production IP network anywhere.  We deployed the mesh nationally in Q2 of 1999, and according to our primary core vendor at the time (Cisco), we were the first carrier with a nationwide deployment of MPLS. With the acquisition of Frontier by Global Crossing, we began building new POPs internationally in Europe and Latin America over the first half of 2000, and our US domestic MPLS core became an international one..

It was a tough time for us to deploy MPLS.  The standard was so new it wasn't even a standard yet, it was still in draft.  There were lots of bugs in our vendors' routing code.  Deploying Juniper created additional complexities because each vendor interpreted the RFC's and Internet Drafts (pre-RFC's) differently, which occasionally led to some very interesting network behavior.

But I digress.

Towards your question around the use of ATM/FR, I am not directly connected to our corporate network with ATM/FR or MPLS, which is the root of my problem and a common plague of the telecommuter.  I use a local ISP who buys transit from someone other than Global Crossing, and the performance is often less than desirable. 

For the sake of argument, let's say that I was connected directly to the corporate MPLS network, would my QoS problems be solved?  Would I be able to set different ToS bits on the video packets coming from communicator compared with the voice?  As near as I can tell, there are no such settings in MS Communicator 07, and if that is true, then all packets originating from my computer will look like any other data packets and will not get any special treatment on the network. 

QoS on MPLS works great, but if you can't differentiate packets in some way (IP address range, port range, or ToS bits) you won't be able to take advantage of it.  Usually, differentiating packets within the same application (say OCS) is impossible to anywhere other than the application itself.  I say usually because it is possible that if the application uses different ports on seperate rtp streams, and you can tell which one will always be video and which will always be voice, you can probably work something out on the CPE router to classify the packet, but it would certainly be easier to just set the parameters in the application.


Perhaps one of our readers knows if it is possible to set the ToS packets within OCS?


Trackback URL for this post:

http://blogs.globalcrossing.com/trackback/372
dsiegel – Mon, 2007 – 10 – 15 21:05

QoS on Office Communicator

Establishing QoS on Office Communicator *SHOULD* be possible once you determine which ports Office Communicator uses for it's RTP streams. Once that is determined then you can set up an ACL in the router to look for that port, assign that to a class map that will mark those packets with the proper TOS bit.

That being said, an excerpt from Microsoft:

Audio and video

loadTOCNode(2, 'moreinformation');Audio uses a pair of User Datagram Protocol (UDP) ports for a Real-time Protocol (RTP) stream to transmit data. Video uses Real-time Transport Protocol (RTCP) to control the session stream.

By default, the ports that are used are dynamic. However, the ports can be controlled through Group Policy registry settings. These registry settings are under the following registry key:

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Communicator\PortRange

You can use the following policies to control the port usage.

Policy DescriptionDefaultMinMax
MinMediaPortSpecifies the lowest port that is used for Audio and Video signaling5350102465535
MaxMediaPortSpecifies the highest port that is used for Audio and Video signaling5353102465535

Important The following settings do not work in Office Communicator. These settings are listed in the Comunicator.ADM file, but they do not work.
Policy DescriptionDefaultMinMax
MinSipDynamicPortSpecifies the lowest port that is used for SIP7100102465535
MaxSipDynamicPortSpecifies the highest port that is used for SIP7103102465535

cgoehring (not verified) – Fri, 2007 – 10 – 26 09:26

Re: QoS on Office Communicator

dsiegel's picture

I'm no expert in the language of Windows Registry, but the information you dug up seems to indicate that it is not possible to set a range of ports for audio that is independent from the range of ports for video. Therefore you can't build a standard ACL on the router to set the ToS bits that would work any time you established a video call over communicator, because the udp ports for both video and audio would be randomly assigned across whatever range you specified.

Yeah, you could do it manually on a one-time basis if, as you point out, you can identify the voice rtp session (and udp port) separate from the video rtp session.

In summary, it's not looking good.

dsiegel – Fri, 2007 – 10 – 26 13:19

QoS on Office Communicator

As was stated, theoretically you could set the port ranges into the ACL and assign the TOS bit accordingly. Now we are talking about your RAS connection to Global Crossing's corporate network so even if you set the forward path and your service provider doesn't remark the packets, you will still have a forward/return path issue as the traffic is not traversing the service provider's network as priority. Also the return path isn't going to be marked as priority across GX's network (unless it is already tagged that way, I am not in GIS).

So yes, I agree, it is not looking good.

Curt Goehring (not verified) – Tue, 2007 – 10 – 30 09:36

Re: QoS on Office Communicator

Dave,

I will have to verify on Communicator 2007, but this is how it worked on Communicator 2005 (I believe it is identical in both) . . .

If I set the minimum port to be utilized to 8000 and the maximum port to be used as 8100 invariably the following ports are always used for a video call:

8000  Audio RTP

8001  Audio RTCP

8002  Video RTP

8003  Video RTCP

The ports being used would always start at the minimum and increment with additional streams.  You are correct in stating that the port range for audio and video are intertwined and cannot be separated.  However, if you are refering to a system using a single audio and video stream via Communicator you can pretty much always pick to ports that video is using.

Regards,

Steve

Steve Schafer (not verified) – Sun, 2007 – 10 – 28 23:52

If running XP, it's QOS suppo

If running XP, it's QOS support is IP/port based like with ACLs.  If you're brave enough to run Vista though there is an updated QOS API which also allows outbound settings based on application name/path via group policies.  Still doesn't help your return path in this situation, but would solve your outbound port issue above without registry hacks (OK, technically a group policy is a registry change).  Here's a decent article which hits the highlights on XP QOS:

http://www.microsoft.com/technet/technetmag/issues/2007/02/CableGuy/

bwmetz (not verified) – Fri, 2007 – 10 – 26 18:45

Post new comment

*
*


*

  • Easily link to terms in various wikis or other websites by typing [[prefix:term]]. Use the "|" character to create a "piped link," e.g., "[[w:public transport|public transportation]]" displays as "public transportation." For a full list of available prefixes and the websites to which they point, see interwiki.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <pre> <br> <p> <em> <img> <blockquote> <table> <tr> <td>
  • Lines and paragraphs break automatically.
Verify comment authorship
Captcha Image: you will need to recognize the text in it.
*
Please type in the letters/numbers that are shown in the image above.