Fri. Aug 7th, 2020

Tencent open sources the kernel of TencentOS

2 min read

Recently, Tencent Cloud announced the open-source of its cloud server operating system TencentOS kernel. Tencent introduced that compared to other Linux distributions in the industry, Tencent Linux is highly competitive in terms of resource scheduling flexibility, container support, system performance, and security, and is particularly suitable for cloud environments.

TencentOS kernel is the second open-source project of the TencentOS family after TencentOS Internet of Things operating system TencentOS tiny. TencentOS is Tencent’s cloud operating system series. It is mainly developed by Tencent’s Cloud Architecture Platform Department, covering application scenarios such as data centers, desktop systems, edge devices, and IoT terminals, and providing cloud platform construction, access, and application capabilities.

Main Features

Feature Description
Kernel customization Customized the kernel based on the kernel version 4.14.105 that has long been supported by the kernel community; introduced new features applicable to cloud scenarios; improved the kernel performance improved, and resolved major defects.
Support for containers Tlinux is optimized for container scenarios for enhanced isolation and optimized performance:

  • Isolated meminfo, vmstat, cpuinfo, stat, and loadavg.
  • Isolated Sysctl, for example, tcp_no_delay_ack and tcp_max_orphans.
  • Fixed bugs in the file system and network.
Performance optimization Optimized the computing, storage, and network subsystems:

  • Optimized XFS memory allocation to resolve the XFS kmem_alloc failure alarm.
  • Optimized the memory allocation for received network packets to resolve the issue of excessive memory usage when many UDP packets are received.
  • Limited the percentage of memory occupied by system page caches to ensure that service performance is not affected and no out-of-memory (OOM) errors occur due to insufficient memory.
Software packages
  • Customized based on the CentOS 7 software packages.
  • User state software packages are compatible with CentOS 7 and can be directly used in Tlinux.
  • Updated and installed via Yellowdog Updater, Modified (YUM).
  • Supports the use of software packages in the Extra Packages for Enterprise Linux (EPEL) repository after the epel-release package is installed via YUM.
Support for defects
  • Provides kdump feature in the event of a operating system crash.
  • Supports kernel live patching
Security updates Regularly updates security patches to enhance security and features.

TencentOS Kernel open source address: