LibreSource 2 uses netlink sockets for fast network statistics

0
28
LibreSource 2 uses netlink sockets for fast network statistics


Oracle has announced the release of LibreSource 2, a comprehensively revised version of the famous library for collecting system resource information in the Linux operating system. According to the announcement post, version 2 is based on version 1, but it brings optimizations in terms of performance and new functionality.

Advertisement


The update expands module support and covers a wider range of modules and submodules, including vmstat, meminfo, cpuinfo, file system and various network statistics such as route and arp.

The RTM_ROUTE socket for network statistics and the new parsing mechanism are intended to increase the performance of the library. Tests conducted by the developers have shown that the time required to retrieve data has been significantly reduced.

Amazfit presents the T-Rex 3 smartwatchAmazfit presents the T-Rex 3 smartwatch

Instead of the painstaking analysis of /proc-data LibreSource 2 uses Netlink sockets to retrieve network statistics faster and more reliably. Netlink sockets are special sockets in Linux that enable communication between the kernel and user space applications and are often used for tasks such as network management and system configuration.

A new testing infrastructure enables developers to check the accuracy of data and ensure that all changes are valid /procFiles are handled correctly.

Additionally, the bulk API is scalable, allowing applications to process large amounts of data more efficiently. The development team sees an advantage here, especially for data-intensive applications such as databases.

A bulk API allows large amounts of data to be processed and transferred in a single API call, reducing the number of API calls required and therefore increasing performance.

Those interested can access the library via LibreSource Download GitHub and integrate them into your projects. More information about the release Oracle presents articles in the blog,


(MDO)

Asus introduces Copilot+ PC with Snapdragon X Plus processorAsus introduces Copilot+ PC with Snapdragon X Plus processor

LEAVE A REPLY

Please enter your comment!
Please enter your name here