Your browser is not supported. Please update it.

6 February 2020

CableLabs insists Low Latency DOCSIS not just a “me too” protocol

Low Latency DOCSIS (LLD) slipped under the radar out of CableLabs mid-way through 2019 so quietly that only the big-name operators and vendors involved noticed, yet it is now being positioned as a key step towards high performance video-centric applications that require both high capacity and minimal delay.

Perhaps CableLabs did not wish to sow yet more confusion at a time when the low latency field was oozing with fresh protocols. We have covered many before but failed to give LLD its full due or explain quite why the cable community felt yet another low latency protocol was required.

It dates back to 2014 when CableLabs was discussing which future applications would need ultra-high bandwidth rather than low latency. All candidates on the immediate horizon were dismissed, leaving various forms of immersive video and in particular holographic telepresence. This was hardly a pressing concern for MSOs at the time, but the skies were very blue and the thinking was how cable infrastructure could cast off its shackles and be prepared for the future beyond even ultra HD. In order for Extended Reality (ER) to become mainstream, so the thinking went, the need to wear a headset must be eliminated and that would require some form of holographically-capable external screen or display.

This paradoxically led to the solution for a problem that was becoming rather more urgent with the growth of live video streaming, the low latency challenge. For holographic telepresence, the successor to video conferencing, would demand ultra-low latency as well as colossal bandwidth. The next point was to consider that the drive for low latency streaming was coming from two categories of application – one-way live video and two-way interactive applications. While the former requires lower latency to bring streaming into line with broadcasting, it is not as demanding as interactive applications and is being met with protocols such as SRT (Secure Reliable Transport) and RIST (Reliable Internet Stream Transport), which strike a balance between delay and error correction for video quality.

However, video conferencing, gaming, and a number of professional applications such as telesurgery, require sub-second latency as far as possible, comparable to the demands of traditional voice telephony. Some applications are even less latency-tolerant, notably in-sports betting, where every millisecond lost can be expensive for punters as odds on results fluctuate rapidly in line with unfolding events on the field or court of play. For some gaming applications, delays over 20ms can have impacts on the experience, including motion sickness when the eye and ear experience slight offsets between signals that are supposed to be totally synchronized.

WebRTC has emerged as a popular protocol for ultra-low-latency streaming where quality is less important than delay, as in-sports betting and also video conferencing or conventional telepresence, but is less suited to general pay TV. It was designed for communication between browsers and extended to mobile apps via simple APIs, eliminating the need for plug-ins. Its deployment also involves relatively complex server configuration which has deterred some CDNs from supporting it, an obvious handicap for streaming video.

CableLabs therefore decided it needed a purpose-built protocol suitable for both live video and gaming, that would slot naturally into the DOCSIS infrastructure just via a software upgrade, without any significant reconfiguration. The foundation had already been laid in the latest DOCSIS 3.1 with its support for Active Queue Management (AQM), which typically achieved latencies around 10ms over the access network link, although with occasional peaks of up to 100ms or a little more under heavy load.

AQM avoids the previously normal practice of waiting for a buffer queue to be full before dropping IP packets by necessity, which can impair video quality and also impose latency while that process is taking place. Instead, AQM drops packets before the queue is full on a statistical basis, minimizing the impact on video. It also informs the source end point when congestion is occurring before a queue is full, so that intelligent action can be taken, such as holding packets up temporarily, or again deciding which ones to drop.

Since the access link is just one component of the end-to-end latency path, CableLabs deemed AQM’s performance was not good enough and was anxious to shave that contribution down to 1ms. It also wanted to make this latency contribution almost invariant under heavy loading, eliminating those spikes.

Accordingly, CableLabs added Low Latency DOCSIS (LLD) as an annex to the DOCSIS 3.1 specification, citing the need to support sub-millisecond latencies over the access network for XR and gaming, with that eye on the future. Indeed, LLC is a part of the cable industry’s broader “10G” initiative focused on next-gen capabilities, including symmetrical speeds up to that 10 Gbps level and more in future. Although low-latency DOCSIS focuses on HFC networks, CableLabs has broader ambitions for 10G aiming at FTTP, as cable increasingly converges with telco broadband, WiFi and 5G cellular infrastructure.

The underlying principle of LLC is that data can be split into two categories, that which is tolerant of delay and that which is not, allocating each type to separate queues. This was decided after considering that the HFC (Hybrid Fiber Coax) access network contributes to latency in five ways.

First is the delay imposed by switching and forwarding IP packets, which could be dismissed because it is small at the data rates currently supported (well under 0.1ms over a 10 Gbps link). Secondly, propagation delay is the time taken for a signal to travel across the HFC plant, determined by the speed of light and electrons in wires, again being well under 0.1ms at the typical dimensions involved, and in any case beyond the control of the network other than minimizing path distances.

Thirdly comes delay associated with serialization and encoding, where operators have various tools to balance robustness against latency and again beyond the scope of the access network. The LLD specification does not attempt to change these options with operators merely encouraged to use the lowest latency channel configurations possible.

Fourthly is the media acquisition, which is peculiar to DOCSIS, resulting from the shared-medium scheduling still supported until eventually fading away as fiber reaches the premise. Then, finally, is the queuing delay associated with TCP itself and its low latency variants, which is connected again to the bottleneck imposed by the DOCSIS access infrastructure. In the event of congestion, sources have to slow down the rate of packet transmission, risking buffering and artefacts in extreme cases.

LLC addresses these last two components that are associated with DOCSIS. It addresses the media acquisition delay by speeding up the process of requesting access and incorporating a pro-active approach that reduces latency by allocating capacity on a predictive basis.

The main contribution though is on the queuing front. This is achieved through this dual-queue mechanism, which cuts around 20ms from latency as well as slashing jitter, that is latency variation. It does that first by taking account of the fact that most applications are somewhat tolerant of delay and yet tend to build queues by sending data faster than the slowest link can tolerate through their legacy and rather selfish algorithms designed to avoid congestion for themselves. The bulk of traffic, including downloads and on-demand streaming from SVoD services like Netflix, comes under this queue-building heading.

The other traffic category comprises interactive apps where low latency is critical but which usually generate far less traffic, including conferencing apps like Apple’s FaceTime or Microsoft’s Skype, as well as gaming. These applications tend to send at a relatively low data rate with packets corresponding well-spaced if the bit rate is high, which means that queues do not accumulate under their own steam.

But such less selfish apps suffer from delays imposed by the queue-building ones, which LLC neatly side steps by building separate queues for each. A key point which CableLabs likes to emphasize is that this is not a prioritization mechanism and would not fall foul of net neutrality principles, because neither queue is held up for the other. They operate in parallel, each optimized for the characteristics of the applications they support, one data intensive but somewhat tolerant of delay, the other at a lower data rate but requiring ultra-low latency. The total amount of capacity required is unchanged.

Of course, holographic telepresence will require an extremely high data rate as well and it remains to be seen whether LLC’s dual queuing would cater for that. At least holographic projection with its superimposition of multiple similar surfaces brings scope for a new dimension of essentially lossless compression, including object-based methods that exploit self-similarity in terms of size, shape, texture, color and other parameters. But that is another story.