Tutorial (Deciphering Modem Signals & DOCSIS)

Status
Not open for further replies.
Joined
Jul 14, 2009
Messages
11,196
Location
NY Capital District
Hey guys, figured I'd do something halfway helpful for once. So, today we have a tutorial on dechipering Cable Modem signal levels and logs, and how cable broadband works in general (Note this is not the same as DSL signals, they are completely different).

First, to understand this, you need to have a basic understanding of the basic system behind cable broadband, and the protocol used to get internet to your house.

Lets start with that.

It can seem pretty complicated at first, but I'll do my best to keep it as everyman as possible.

So, at the heart of every cable system is the hybrid fiber-coaxial network, as shown in the simplified (terribly drawn) diagram below.

O6UVm5R.png



There are several major components of interest here.
The first is the Cable Headend. this the main distribution point for cable TV and internet services for a fairly broad area. The headend has two main duties. It serves as the initiation point for Cable TV. This is where the satellite dish to receive programming from the orbiting satellites that bring the programming to the network come in. In addition to local feeds from local broadcasters. It also handles all requests for VOD (video on demand) content, when you order a movie on your cable box.

The other duty is housed in something call the CMTS, or Cable Modem Termination System. When your modem connects to the network, this is the thing it is communicating with. The CMTS handles all inbound/outbound data to the WAN, and the larger internet. It negotiates the connection with your modem. It also handles the private network for VoIP Phone service provided by the cable company.

The headend itself houses a multiplexer, it essentially stuffs both the incoming/outgoing signal from the CMTS and Tv portions into the Fiber Optic trunk lines. These Trunk lines feed a distribution network, which consists of several hubs, which split the network further.

From the hub, it's off to your local fiber-coax node. The fiber node handles the transition from fiber network, for internet, and also houses digital-analog converter for analog cable channels in areas that still receive it. to the coaxial cable lines that go to individual homes/businesses. The fiber node generally feeds 50-500 homes in an area. This section of cable from the node to the home is referred to in common jargon as the "last mile". Fiber is fancy interesting and all, but of most interest to us is the DOCSIS segment.

DOCSIS, or Data Over Cable System Interface Specification, is designed by a company called CableLabs. It essentially is the protocol which handles how your modem interfaces with the fiber node, and from there the CMTS.

DOCSIS uses many different channels on a single node, which allows for load balancing, and many devices to connect. A single DOCSIS channel allows for roughly 40mbps of bandwith. DOCSIS 2.0 and earlier allow only a single channel to be used. Newer DOCSIS 3.0 (and future 3.1) specifications allow for channel bonding (up to 8 in DOCSIS 3) allowing faster internet speeds over the cable system.

Most people who have cable internet have probably at some point in the past had internet problems. You might have talked to a phone technician, or even a field technician who talks about "signal levels". This may have meant nothing to you, and you just nodded along as they talked, wondering what they were on about.

Well, I'm here to help decipher those in an easy to understand (hopefully) manner.

So with mode cable modems, you can go into your browser, and see the signal levels, by going to 192.168.100.1 .

This what it looks like on a Motorola SB6121 (DOCIS 3.0, 4x channel bonding capable)
Link to larger version > http://i.imgur.com/api6CD7.png
api6CD7.png



This page might look confusing, but it's actually fairly simple.

Let's start with the top section first.
This is the downstream section. This means this contains all the stats on the "downstream" section of the signal, meaning the flow of information to your modem from the Node and CMTS.

The first 2 lines are pretty straightforward.
Channel ID, and the frequency. These are DOCSIS channels, the ones being used by this modem at this time, in a bonded scenario. This model of modem can handle 4 channels simultaneously, with the frequencies measured in Mhz (537, 543, 555 and 561Mhz).

The next line down is Signal to noise ratio. This is 1 of the 3 most important metrics for connection health. This is essentially how "clean" the signal is, measured in dBmV or Decibel-Millivolts. IE how much usable info, vs junk info. The higher this number, the better. As a general rule, any number above 32-34 is ideal. Below that and you might start to have connection issues. Below 29/30 and you are probably having lots of trouble. As you can see, mine are 37, 38, 38, and 38. That is very good. Anything 40 or higher is pretty rare, though would be excellent.

The next line is Downstream modulation, this is the specific symbol (data rate, essentially) being used by that channel. In 99% of cases, it will probably be QAM256.

Next line below that is downstream power level. This is the 2nd of the 3 most important signal metrics. This is the strength of the signal to your modem, from the Node, after it has passed through all the coax lines outside, the tap, the splitters in your house, and all the coax inside. This is a relative number. 0 is ideal. The further away from 0, the worse it is. Spec is -16 to 16. However, ideally, especially for DOCSIS 3.0, you want between -8 and +8. Mine are 3,2,3,3. So that is very very good. This will fluctuate with all sorts of factors. Temperature, as cable has a higher resistance when hot.

If you've ever looked at a splitter, you've probably seen a number on the outputs. On a 2-way splitter, it's usually -3.5dbmv. Meaning that if the strength of the signal coming into the house is +10dbmv, after passing through one splitter, the signal to both outputs is now +6.5dbmv. This decreases with more and more cable, and more splitters. It adds up. So if you start with 0 at the house, and have splitters, the strength can quickly drop into bad/weak levels.

If this is causing connectivity problems, a broadband tech will generally remove splitters, or try to simplify the layout (remove number of splitters), and possibly use an amplifier to boost the signal strength.


Next section is upstream. This is the section with all the information relating to the "upstream" signal, IE what the modem is doing to get it's signal to reach the Node with a reliable connection.

The first 2 lines are the same as with downstream. Channel ID and frequency, again measured in Mhz.

The next line is ranging service ID. This isn't really important, but does tell you which channels are in use. In my modem, the upstream is physically bonded, but only 1 channel is actually being utilized for data.

The next line is symbol rate. This essentially is the speed with which the modem is talking to the node. Either 2.56 or 5.12MSymbols/s is common. In most cases, it doesn't really matter which is in use until you start hitting higher upload speeds. Even at 2.56MSymbols/s I'm still acheiving my full rated upload of 5mbps.

Next line is the 3rd and arguably, the most important (and most often to cause problems) metric. The upstream power level. This is the power level at which your modem is transmitting (ie "ranging") to establish reliable connection with the Node. This metric is by far the most likely to be bad, and cause connection problems. Essentially, in most cases anything below 53-54 is acceptable, but under 50 is ideal. Most modems top out at 55dBmV. Meaning if you are at 55, the modem is transmitting at maximum power, and that means something is wrong. too many splitters, or bad lines. Being at max can mean that your connection might drop, and the "ranging" will fail, causing loss of connectivity.

the modem will then try to re-range, and regain connectivity. This will generally result in a trouble call, with a broadband tech visit needed to help resolve the problem.

There is a low end too- generally anything above 35 is recommended. Any lower and you can start experiencing connectivity loss. This an extremely uncommon problem, usually the problem is transmit power too high. Mine is around 44 most of the time, which is pretty much perfect.


Next line i upstream modulation, again similar to the downstream. Ranging status is exactly what it sounds like. The status of the connectivity on that upstream channel to the node.

The last box essentially tells the number of errors in your connection. Obviously the more unerrored codewords, the better. Mine is a very healthy connection, with very few errored codewords.

The last important page is the logs page.
http://i.imgur.com/gRLipze.png
gRLipze.png


These are the internal logs in the modem. As you can see, on the 15th we had some "problems" An amplifier at the street level for our neighborhood had gone bad, and a tech was replacing it. During that time our connection was lost, and the modem was still trying to reestablish connection.The 17th has a T4 time out, this isn't always bad, it's an occasional hiccup in the network. The 18th was a power outage, see cable modem reboot due to power reset.

Most of the time, this page isn't much help to the end user, unless you know what you are looking for. But it is an important page to know what you are looking at.


Hopefully this will help you better understand your modem, and the system which brings the service into your house.

Let me know if you have any questions or if I made a mistake.
smile.gif
 
Quote:


From the hub, it's off to your local fiber-coax node. The fiber node handles the transition from fiber network, for internet, and also houses digital-analog converter for analog cable channels in areas that still receive it


So how big is a node? One neighborhood? One town? I sort of figured the analog tier came down an "analog pipe" from the headend and was then spliced in with the digital services at the node. This would be technically feasible as they're on different frequencies... though the digital stuff is always looking to expand its footprint over formerly analog spectrum. Once at the technical limit of bandwidth and modem technology, the only answer to increased demand would be adding bunches of new nodes to serve smaller areas, correct?
 
Originally Posted By: Nick R
The next line down is Signal to noise ratio. This is essentially how "clean" the signal is, measured in dBmV or Decibel-Millivolts.
One correction. Since signal-to-noise (commonly called SNR) is a ratio, it's measured in dB, not dBmV (which is an absolute level). For example, the RF level from a tap might be +12 dBmV with an SNR of 34 dB. Therefore the noise level would be -22 dBmV.
 
Great post. Very informative.

Good to know this stuff as each facility and our home office has TWC Business Class links.
 
One thing I watch for is total uncorrectable codewords / total unerrored codewords.

Way back when I was into wan comms a bit error rate of 10-6 was considered good; higher (lower exponent) than that was considered a problem. (For the pedantic, Agilent says it's "bit error ratio", but everyone in the field used "bit error rate" so that's how it's remembered in my head).
I think I remember Ethernet being a 10-9 bit rate error medium, but I just casually looked it up and found it is 10-12.

I've seen a tech hook a meter up to the cable for my modem, measure for several minutes, and say 10-9 is what he needs to hit to call the line good. That's probably measuring bit error rate, not total uncorrectable codewords / total unerrored codewords.

In any case, over time, I've noticed my line's total uncorrectable codewords / total unerrored codewords is 10-7 and I'm sufficiently happy with it. Several months back I was having to phone every day to complain. Tech came, blamed the modem, I bought a new modem, same problem, and I declined to buy one of their modems. I phoned in every outage (which were many). After a couple of months there was a long outage. After that, the error rate dropped, and the upstream power level dropped from 48dBmV to 39dBmV. I suspect they replaced something in the neighborhood node.

FYI, this document says a 10-12 BER on Ethernet can result in a frame error rate of 10-9.
http://metroethernetforum.org/Assets/Whi...ghput_-_v14.pdf

"For instance if a frame is about 120 bytes long, that amounts to about 1,000 bits. A bit error rate of 10-12 is magnified into a frame error rate of 10-9."
 
Originally Posted By: eljefino
Quote:


From the hub, it's off to your local fiber-coax node. The fiber node handles the transition from fiber network, for internet, and also houses digital-analog converter for analog cable channels in areas that still receive it


So how big is a node? One neighborhood? One town? I sort of figured the analog tier came down an "analog pipe" from the headend and was then spliced in with the digital services at the node. This would be technically feasible as they're on different frequencies... though the digital stuff is always looking to expand its footprint over formerly analog spectrum. Once at the technical limit of bandwidth and modem technology, the only answer to increased demand would be adding bunches of new nodes to serve smaller areas, correct?



It depends on the MSO you are on. Most MSOs house the DAC at the node level. And as I said, a node serves roughly 50-500 homes. There are smaller ones, and larger ones. The advent of DOCSIS 3.0 has greatly improved load balancing, and the addition of additional DOCSIS channels also helps matters.

Some providers are 100% digital in some areas. IE you have no analog format cable at all. Most MSOs will be moving in that direction for a number of reasons, one of the big ones to open up room for DOCSIS channels.

But yes, adding more nodes (it's called a node split) is one way to add bandwith. Though, an extremely expensive one, as it requires running additional fiber, and additional coax, plus the associated power supply, battery backup, and the node itself.
 
Originally Posted By: Nick R
Originally Posted By: eljefino
Quote:


From the hub, it's off to your local fiber-coax node. The fiber node handles the transition from fiber network, for internet, and also houses digital-analog converter for analog cable channels in areas that still receive it


So how big is a node? One neighborhood? One town? I sort of figured the analog tier came down an "analog pipe" from the headend and was then spliced in with the digital services at the node. This would be technically feasible as they're on different frequencies... though the digital stuff is always looking to expand its footprint over formerly analog spectrum. Once at the technical limit of bandwidth and modem technology, the only answer to increased demand would be adding bunches of new nodes to serve smaller areas, correct?



It depends on the MSO you are on. Most MSOs house the DAC at the node level. And as I said, a node serves roughly 50-500 homes. There are smaller ones, and larger ones. The advent of DOCSIS 3.0 has greatly improved load balancing, and the addition of additional DOCSIS channels also helps matters.

Some providers are 100% digital in some areas. IE you have no analog format cable at all. Most MSOs will be moving in that direction for a number of reasons, one of the big ones to open up room for DOCSIS channels.

But yes, adding more nodes (it's called a node split) is one way to add bandwith. Though, an extremely expensive one, as it requires running additional fiber, and additional coax, plus the associated power supply, battery backup, and the node itself.


Similar in how many DSL ISP's are doing FTTN now to leverage VDSL2 and hopefully compete with cable.

I was quite surprised to learn that we have 70-80% fiber coverage in my town. It is all owned by Rogers. They bought the local utility fiber plant, which had been the product of a government-sponsored fiber roll-out aimed at providing true broadband to Ontario. However it was premature and most (all?) of these municipal fiber deployments were purchased by a private firm and apparently Rogers stepped in and bought the works, so now they own it all. A rather lucrative business move for them as I've watched Bell scramble to run FTTN for the last couple of years, whilst Rogers already has all the infrastructure in place to do FTTH if they wanted.
 
My SB6121. Not bad for the lowest "performance" Internet from Comcast in a huge multi-tenant high-rise building (I'm on one of the highest floors, and furthest from the demarc).


sb6121_zps5510bfdc.png
 
Originally Posted By: dparm
My SB6121. Not bad for the lowest "performance" Internet from Comcast in a huge multi-tenant high-rise building (I'm on one of the highest floors, and furthest from the demarc).


sb6121_zps5510bfdc.png



Well the speed of internet you have won't affect signal levels it just affects the speed the modem is provisioned for. Of course if your signal levels are bad, it might mean you won't be able to achieve the full speed that you are paying for.
 
Downstream Power 14dBmv
SNR 40dB

Upstream Power 39dBmv


Looks like I have some room for split. The way I have it set up now is one two way with the modem on one and then on the other leg another 4 way. I could consolidate it looks like.

I still need to call and find out why I only have 18mbps when I sould have 24.
 
Last edited:
Originally Posted By: Nick R

Well the speed of internet you have won't affect signal levels it just affects the speed the modem is provisioned for. Of course if your signal levels are bad, it might mean you won't be able to achieve the full speed that you are paying for.



I understand that. My point was that my signal is quite good given the environment that I'm in, and that it lets me really squeeze the most performance I can out of the service I pay for.
 
Status
Not open for further replies.
Back
Top