An Efficient Video Streaming Architecture with QoS Control for Virtual Desktop Infrastructure in Cloud Computing

Huu-Quoc Nguyen, Tien-Dung Nguyen, Van-Nam Pham, Xuan-Qui Pham, Quang Thai Ngo, Eui-Nam HuharXiv 2022 · DOI

Introduction: The Challenge of Remote Desktop Performance

Virtual Desktop Infrastructure (VDI) has become a cornerstone of modern cloud computing, enabling users to access high-performance computing environments from lightweight "thin clients" such as tablets, smartphones, and legacy laptops. By offloading processing to a centralized cloud server, VDI facilitates mobility and reduces hardware costs. However, the effectiveness of VDI is heavily dependent on the "remote display protocol"—the mechanism responsible for streaming the desktop's video feed to the user in real-time.

Overview of the Virtual Desktop Infrastructure (VDI) architecture connecting various client devices to a cloud server.

Existing protocols, such as Microsoft’s RDP or VNC, often struggle with high CPU overhead or fail to adapt to fluctuating network conditions. This results in latency, stuttering, and a degraded Quality of Experience (QoE), particularly during bandwidth-intensive tasks like cloud gaming or high-resolution imaging. This paper proposes a novel architecture that integrates intelligent image compression with dynamic Quality of Service (QoS) control to bridge the gap between visual fidelity and network constraints.

Methodology: A Two-Pronged Intelligent Architecture

The researchers introduce a system designed to optimize both the data footprint and the transmission stability of VDI streams. This is achieved through two primary components: k-means based compression and a machine-learning-driven QoS controller.

K-Means Based Image Compression

Rather than relying on traditional video codecs that may be computationally expensive for real-time 2D rendering, the system treats image compression as a data clustering problem. Every pixel in a frame is treated as a data point in a 3D RGB color space.

The proposed image compression workflow utilizing k-means clustering to optimize pixel representation.

As shown in the workflow above, the algorithm groups these pixels into $\mu$ clusters. By representing the entire image using a smaller, optimized palette (e.g., 16 or 32 colors instead of millions) and replacing each pixel with the mean value of its assigned cluster centroid, the system significantly reduces the bits-per-pixel (bpp) required for transmission. The authors argue that k-means is particularly effective for high-resolution video frames compared to hierarchical clustering methods, which do not scale as efficiently for real-time applications.

Dynamic QoS Control via Machine Learning

The "brain" of the architecture is the Dynamic Decision Estimation Module (DDEM). This module utilizes Multiple Linear Regression (MLR) to analyze historical network performance and predict the optimal compression ratio ($\mu$) in real-time. By monitoring variables such as resolution, Peak Signal-to-Noise Ratio (PSNR), and available bandwidth, the DDEM can proactively adjust the stream's quality to prevent lag. The system also includes a User Profile Module (UPM) that identifies the specific hardware constraints of the client device—such as CPU capacity, battery life, and native resolution—ensuring the stream is tailored to the endpoint's capabilities.

Performance Evaluation and Results

The proposed architecture was evaluated using a diverse dataset from the MIT CSAIL lab, including natural scenes (e.g., "Zebra Butterfly"), technical UI scenes (e.g., "Chip Designer"), and high-motion video sequences like "Angry Birds" and a Korean movie scene.

The results demonstrate significant improvements over standard transmission methods:

  • Compression Efficiency: The k-means approach achieved a 6x compression factor, reducing image sizes to approximately 70% of their original footprint while maintaining a 95% visual similarity to the source.
  • PSNR Stability: Under simulated network congestion, the QoS-enabled system maintained a stable PSNR of 34-36 dB. In contrast, standard transmission protocols saw sharp drops to 26 dB, indicating a noticeable loss in visual quality.
  • Predictive Accuracy: The authors derived a specific regression formula to automate the selection of the color count ($\mu$): $$\hat{\mu} = -313.97 + 0.0496 \times \text{Size} + 4.1217 \times \text{Resolution} + 11.444 \times \text{PSNR}$$ This allows the system to dynamically settle on an optimal $\mu$ (e.g., $\mu \approx 11.6$ for a constrained network) to maintain a smooth user experience.

Conclusion and Future Directions

This research presents a robust solution for the challenges of VDI streaming. By combining the data-reduction power of k-means clustering with the predictive capabilities of multiple linear regression, the system provides a high-fidelity, low-latency remote desktop experience.

While the results are promising, the authors identified areas for future improvement. High-motion sequences can still suffer from "mismatch for a slice area" (visual tearing) when reference data is lost, as current error concealment—copying data from previous frames—is not yet perfect. Additionally, as resolutions move toward 4K, further optimization of the k-means algorithm will be necessary to minimize server-side computational overhead. Future work will also explore the architecture's performance across diverse network types, including 5G and satellite links.

Summary updated

Abstract

In virtual desktop infrastructure (VDI) environments, the remote display protocol has a big responsibility to transmit video data from a data center-hosted desktop to the endpoint. The protocol must ensure a high level of client perceived end-to-end quality of service (QoS) under heavy work load conditions. Each remote display protocol works differently depending on the network and which applications are being delivered. In healthcare applications, doctors and nurses can use mobile devices directly to monitor patients. Moreover, the ability to implement tasks requiring high consumption of CPU and other resources is applicable to a variety of applications including research and cloud gaming. Such computer games and complex processes will run on powerful cloud servers and the screen contents will be transmitted to the client. TO enable such applications, remote display technology requires further enhancements to meet more stringent requirements on bandwidth and QoS, an to allow realtime operation. In this paper, we present an architecture including flexible QoS control to improve the user quality of experience (QoE). The QoS control is developed based on linear regression modeling using historical network data. Additionally, the architecture includes a novel compression algorithm of 2D images, designed to guarantee the best image quality and to reduce video delay; this algorithm is based on k-means clustering and can satisfy the requirements of realtime onboard processing. Through simulations with a real work dataset collected by the MIT Computer Science and Artificial Lab, we present experimental as well as explain the performance of the QoS system.
BibTeX
@misc{nguyen2022efficient,
  author = {Huu-Quoc Nguyen and Tien-Dung Nguyen and Van-Nam Pham and Xuan-Qui Pham and Quang Thai Ngo and Eui-Nam Huh},
  title = {{An Efficient Video Streaming Architecture with QoS Control for Virtual Desktop Infrastructure in Cloud Computing}},
  year = {2022},
  eprint = {2203.05735},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2203.05735},
}
Figure