Cloud Native 14 min read

OpenCloudOS Cloud‑Native Practices, Resource Utilization Enhancements, and Testing Framework Overview

The article introduces OpenCloudOS’s cloud‑native initiatives—including a mixed‑workload CPU QoS scheduler, the RUE resource‑utilization enhancement, the eBPF‑based nettrace network‑diagnosis tool, and the TCase/TSuite testing platform—highlighting how these innovations improve CPU utilization, cut costs, and ensure high‑quality releases.

Tencent Architect
Tencent Architect
Tencent Architect
OpenCloudOS Cloud‑Native Practices, Resource Utilization Enhancements, and Testing Framework Overview

OpenCloudOS positions itself as a next‑generation cloud‑native operating system, covering the full stack from upstream (L0) to community stable releases (L3). To address low CPU utilization in mixed online/offline workloads, the project introduced a low‑level resource isolation (RUE) layer and a BT scheduler that provides absolute pre‑emptive CPU QoS, effectively doubling resource usage while keeping online‑task interference below 1%.

The RUE solution extends QoS guarantees to memory, I/O, and network resources, exposing interfaces for Kubernetes to schedule containers based on fine‑grained metrics, thereby achieving higher overall efficiency and a 50% cost reduction.

In response to national carbon‑neutral goals, OpenCloudOS also developed the "Wuneng" power‑optimization subsystem, which enables elastic CPU operation and deep‑sleep states, reducing server energy consumption by 5‑30% with negligible performance impact.

For network troubleshooting in cloud‑native environments, the team built nettrace , an eBPF‑based tool that combines packet tracing, fault diagnosis, anomaly monitoring, and container‑level packet coloring. It replaces traditional utilities such as tcpdump, ftrace, kprobe, and dropwatch, offering faster root‑cause analysis and automated remediation suggestions.

The testing side is handled by the TCase platform, which automates test case import, supports suite and template cases, and integrates with CI pipelines (e.g., Jenkins). TSuite, a test‑suite framework written in C, Shell, and Python, organizes tests into directories with shared resources, provides automatic build/run hooks, and records results for Allure reporting.

Overall, OpenCloudOS’s combined efforts in resource isolation, power optimization, network observability, and a robust testing infrastructure demonstrate a comprehensive strategy to improve performance, lower operational costs, and maintain high reliability for cloud‑native deployments.

suite_example           ---------> test suite top‑level directory, absolute path stored in $TST_TS_TOPDIR
├── cmd                 ---------> suite common commands
│   ├── hello.c
│   └── Makefile
├── tst_common          -----> [do not modify] submodule, common code library
│   ├── cmd
│   │   ├── Makefile
│   │   └── tsuite.c
│   ├── kmod
│   │   ├── kmod_common.c
│   │   └── Makefile
│   ├── lib
│   │   ├── assert.sh
│   │   ├── common.c
│   │   ├── common_func.sh
│   │   ├── common.h
│   │   ├── common.sh
│   │   ├── main.h
│   │   ├── Makefile
│   │   ├── signature.sh
│   │   ├── tst_ts_setup
│   │   ├── tst_ts_teardown
│   │   └── tsuite_func.sh
│   ├── Makefile
│   └── tsuite
├── kmod                ---------> kernel modules, each .c compiled to a .ko
│   ├── kmod_common.c
│   └── Makefile
├── lib                 ---------> suite shared libraries (.sh sourced, .c compiled, .py imported)
│   ├── common.sh
│   ├── Makefile
│   ├── other_common.sh
│   ├── ts_setup
│   └── ts_teardown
├── logs                ---------> logs and temporary runtime data
├── Makefile
├── testcase            ---------> test case directory, all cases placed here
│   ├── Makefile
│   ├── test_cmd_ls.sh  ---------> test case, .sh/.py executed directly, .c compiled then run
│   └── test_c_testcase.c -------> test case
└── tsuite -> ./common/tsuite ---> symlink to tsuite file in common code library
Cloud NativetestingLinuxopen sourceeBPFresource utilization
Tencent Architect
Written by

Tencent Architect

We share insights on storage, computing, networking and explore leading industry technologies together.

0 followers
Reader feedback

How this landed with the community

login Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.