Microsoft-Performance-Tools for Linux published and distribution of WSL for Windows 11 started

Microsoft presented open package Microsoft-Performance-Tools to analyze performance and diagnose performance-related issues on Linux and Android platforms. For work, a set of command line utilities is offered for analyzing the performance of the entire system and profiling individual applications. The code is written in C # using the .NET Core framework and distributed by under the MIT license.

Subsystems can be used as a source for tracking system activity and profiling applications. LTTng, perf and Perfect… LTTng makes it possible to evaluate the work of the task scheduler, track the activity of processes, analyze system calls, I / O and events in the FS. Perf is used to estimate the load on the CPU. Perfetto can be used to analyze the performance of Android and browsers based on the Chromium engine, and allows you to take into account the work of the task scheduler, estimate the load on the CPU and GPU, apply FTrace and trace typical events.

The toolkit can also extract information from logs in formats dmesg, Cloud-Init and WaLinuxAgent (Azure Linux Guest Agent). Integration with the Windows Performance Analyzer GUI, available only for Windows, is supported for visual analysis of traces using graphs.

Separately celebrated the appearance in Windows 11 Insider Preview Build 22518 of the ability to install the WSL (Windows Subsystem for Linux) environment as an application distributed through the Microsoft Store catalog. At the same time, from the point of view of the technologies used, the WSL stuffing has remained the same, only the installation and update method has changed (WSL for Windows 11 is not built into the system image). It is stated that distribution through the Microsoft Store will provide an opportunity to accelerate the delivery of updates and new WSL features, including allowing the installation of new versions of WSL without being tied to the Windows version. For example, once experimental features such as support for graphical Linux applications, GPU-side computing and disk mounting are ready, the user will be able to access them immediately, without the need to update Windows or use test builds of Windows Insider.

Recall that in the modern WSL environment, which ensures the launch of Linux executable files, instead of an emulator that translates Linux system calls into Windows system calls, an environment with a full-fledged Linux kernel is used. Suggested for WSL core is based on the Linux kernel 5.10, which has been extended with WSL-specific patches, including optimizations to reduce kernel startup time, reduce memory consumption, return memory freed by Linux processes to Windows, and leave the minimum required set of drivers and subsystems in the kernel.

The kernel runs in a Windows environment using a virtual machine that is already running in Azure. The WSL environment runs in a separate disk image (VHD) with an ext4 file system and a virtual network adapter. User space components are established separately and based on assemblies of various distributions. For example, for installation in WSL in the Microsoft Store directory offered assemblies Ubuntu, Debian GNU/Linux, Kali Linux, Fedora,
Alpine, SUSE and openSUSE.

.

About Lee Michaelis 142823 Articles
Before starting GamingDeputy, I used to spend my day modding games and searching for new wallpapers. A vivid writer and a blogger. I enjoy giving tech support to people in help (mostly my brother). Racing, MMO, RTS games are my favs.