

openSUSE Tumbleweed gains optional x86-64-v3 optimization
source link: https://news.opensuse.org/2023/03/02/tw-gains-optional-optimizations/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

openSUSE Tumbleweed gains optional x86-64-v3 optimization
2. Mar 2023 | Dirk Müller | CC-BY-SA-3.0

Tumbleweed users who performed a distribution upgrade or zypper dup
the last weeks on the rolling release with “recommended packages” enabled (the default) and matching hardware received a new package named patterns-glibc-hwcaps-x86_64_v3
automatically installed. This is a new Tumbleweed feature which will also automatically install the “recommended” package named with the -x86-64-v3
name suffix that provides the optimized version of the library.
“The performance optimizations people will gain from this change is the result of much effort and discussion,” said Douglas DeMaio, a member of the openSUSE release team. “The x86-64 architecture thread on the mailing list really drove the discussion and the results will immediately provide performance improvements for those with x86-64-v3 hardware. It would be great if people write about these improvements so the results can be shared among users of our rolling release.”
This is the result of many days of effort that have recently been completed to leverage the glibc HWCAPS feature that was released in glibc 2.33. This functionality allows the Tumbleweed dynamic linker to load hardware-optimized versions of shared libraries seamlessly and transparently to the user, which provides in certain cases a measurable performance benefit. Tumbleweed users with hardware that is not compatible will fall back to the still available baseline version of the shared library and hence experience no drawback. This provides a good interoperability experience while allowing for some performance improvements to those users on recent enough x86-64 hardware. This is most useful for packages that do not have custom dispatching to optimized routines. For containerized applications, this approach provides compatibility with a wide range of hardware while optimizing, where possible, on recent CPUs capabilities.
Only very few packages are enabled at this time, but more can come over time as individual benchmarking proves a benefit to creating an extra version. For an openSUSE contributor, the creation of these optimized versions is hidden behind a single spec macro that requires little other maintenance or packaging efforts.
If for some reason a Tumbleweed user is not interested in the functionality, they can deinstall the patterns-glibc-hwcaps-x86_64_v3
package and “lock it” so that it will not be selected again. Then no optimized versions will be installed in the future on your system.
Share this post:
Recommend
-
97
Transactional Updates is one of the exciting new features from the Kubic project which will be available in the upcoming release of openSUSE Leap 15, and is ...
-
50
到目前为止,openSUSE Tumbleweed滚动操作系统现在由最新和最先进的Linux 4.17内核系列提供支持,该系列在之前发布的最新快照中发布。 Tumbleweed snapshot 20180615于今天(2018年6月17...
-
44
README.md
-
30
Dear Tumbleweed users and hackers, This week I canceled more snapshots than I released – only 2 snapshots have been sent out (0201 and 0205). Feels quite bad, but on the other hand, I’m glad we have openQA protecti...
-
31
Dear Tumbleweed users and hackers, At SUSE we had so-called hackweek. Meaning everybody could do something out of their regular tasks and work for a week on something else they wish to invest time on. I used the ti...
-
9
Linux openSUSE adventures - Leaped onto Tumbleweed, tumbled for a while and rolled back on to Leap due to a Dolphin bug KDE Plasma's official File Manager,...
-
13
Linux [SOLVED] openSUSE Tumbleweed VirtualBox guest: Resolution stuck at 800x600 after fresh install A VirtualBox Guest Additions bug defined in the Ticket...
-
4
Linux NoMachine adventures on openSUSE Leap and Tumbleweed NoMachine is a very good remote desktop solution for Linux. It installs fine on openSUSE Leap whi...
-
9
openSUSE Leap 与 Tumbleweed,我该选择哪一个 | Linux 中国如果你是 openSUSE 的新手,很容易把 Tumbleweed 和 Leap 搞混。来源:
-
5
Virtualization Windows 11 VirtualBox guest in openSUSE Tumbleweed host How to install Windows 11 as VirtualBox guest in openSUSE Tumbelweed...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK