The release of Linux kernel 5.6 is scheduled for the end of March. In today's article, we discuss the upcoming changes - a new file system, the WireGuard protocol, and driver updates.
Photo - - Unsplash
The long-awaited VPN protocol
David Miller, who is responsible for the Linux networking subsystem, decided WireGuard in the kernel. This is a VPN tunnel developed by the cybersecurity company Edge Security. The idea two years ago - at that time it was by Linus Torvalds himself - however, the implementation was postponed. The project was heavily tied to the cryptographic features of Edge Security. However, six months ago, the authors of the new protocol reached a compromise and to the Crypto API supported by the kernel.
There is , that in the future WireGuard could replace OpenVPN. According to , the throughput of the new protocol is four times higher than that of OpenVPN: 1011 Mbit/s compared to 258 Mbit/s. However, it should be noted that switching to the native Crypto API may worsen performance.
Another feature of WireGuard is that it , even if the user gets a new IP address, and autonomously resolves routing issues. For this purpose, each network interface is tied to a private key. It is generated using . The encryption itself on ChaCha20 and the algorithm . They are considered improved alternatives to AES-256-CTR and .
The new file system
This system Zonefs, presented by engineers from Western Digital. It is designed to work with zoned storage devices (). These are block drives whose address space is divided into zones (for example, NVMe SSDs). The file system allows processing each zone as a file - meaning using special APIs instead of to access the storage system. A similar approach is used in the RocksDB and LevelDB databases. It enables reducing the costs of migrating code initially designed to work with files.
Linux already has a function to interact with block devices. In kernel version 4.13 dm-zoned module appeared. It presents a zoned storage as a regular block device, and Zonefs will be an alternative.

Photo - - Unsplash
In addition to implementing the new file system, the Linux kernel developers made changes to existing ones. They were compression mechanisms / for F2FS — support will remain experimental for now. It will need to be enabled manually during the partition mount (option compress_algorithm). The upgrade EXT4 — it is associated with direct input/output operations. The update package was presented by IBM engineer Ritesh Harjan. According to , in some cases the patch may boost filesystem performance by 140%.
Driver updates
A new driver will appear in the kernel cpuidle_cooling. Its — to cool the CPU/SoC by embedding idle cycles during operation. In a way, it is similar to the PowerClamp driver for Intel processors, but it is not tied to a specific architecture. The system by specialists from Linaro, who focus on optimizing open-source software for ARM platforms.
Also can function Andrew Abbate

Photo - - Unsplash
will support were offered Of course, these are not all updates coming to the kernel — for example,
one can expect the 2038 problem made Related materials from the corporate blog 1cloud.ru:
Most supercomputers run on Linux — discussing the situation
![]()
![]()
What we write about on Habr:
![]()
![]()
![]()
Source: habr.com
