Arch Linux Looking To Employ LTO By Default, Possibly Raise x86-64 Requirements

Written by Michael Larabel in Arch Linux on 9 March 2021 at 08:09 AM EST. 75 Comments
ARCH LINUX
Arch Linux developers are considering some default enhancements to their Linux distribution that would increase the out-of-the-box performance.

Following openSUSE Tumbleweed using LTO by default, Fedora 33 doing it too, and Ubuntu 21.04 set to ship with LTO'ed packages, Arch Linux is finally looking at enabling link-time optimizations by default for their package builds.

Turning on link-time optimizations (LTO) often enhances the performance of the resulting binary thanks to the added optimizations that can be done at link-time on the entire binary. LTO can also provide some size benefits and other enhancements but at the cost of slower compilation times and increased memory usage. LTO though is normally working quite well these days on both the GCC and LLVM Clang compilers.

There is this change looking at enabling LTO by default for Arch and is currently under discussion. One of the concerns raised is indeed over the higher RAM usage but hopefully Arch will move forward and shifting to it by default.

Another notable change being considered at the same time for Arch is using the x86-64-v2 microarchitecture level. This would make Arch Linux faster by allowing to assume some CPU instruction set extensions by default while still running on most x86-64 Intel/AMD hardware from over one decade. This is the same as RHEL9 set to require x86-64-v2 instead of vanilla x86-64.


The x86-64-v2 baseline basically means Intel Nehalem CPUs or newer. Only the very oldest and original x86-64 CPUs would suffer as a result if wanting to run newer Arch Linux builds. This change though is receiving some criticism that x86-64-v2 requiring SSE4.1/SSE4.2 rules out some processors still in use by Arch users.


Instead some are suggesting making use of Glibc-HWCAPS in offering optimized library builds for the various x86-64 feature micro-architecture levels without raising the baseline requirement to run Arch. In either case, we are happy to see Arch Linux developers working on this and will hopefully join more Linux distributions looking at HWCAPS / optimized packages for today's processors. So hopefully some form of this will happen plus LTO'ing by default to making for some nice stock performance gains on Arch this year.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week
Logo

It looks like your ad blocker is on.

×

Ads are what make it possible to produce new content on Phoronix each and every day over the past 20 years.

Please support Phoronix by disabling your ad blocker.

Alternatively, you can join Phoronix Premium as an option for ad-free viewing, multi-page articles on a single page, native dark mode, and more benefits.

Join Phoronix Premium

Continue without supporting us

Choose your Ad Blocker

  • Adblock Plus
  • Adblock
  • Adguard
  • Ad Remover
  • Brave
  • Ghostery
  • uBlock Origin
  • uBlock
  • UltraBlock
  • Other
  1. In the extension bar, click the AdBlock Plus icon
  2. Click the large blue toggle for this website
  3. Click refresh
  1. In the extension bar, click the AdBlock icon
  2. Under "Pause on this site" click "Always"
  1. In the extension bar, click on the Adguard icon
  2. Click on the large green toggle for this website
  1. In the extension bar, click on the Ad Remover icon
  2. Click "Disable on This Website"
  1. In the extension bar, click on the orange lion icon
  2. Click the toggle on the top right, shifting from "Up" to "Down"
  1. In the extension bar, click on the Ghostery icon
  2. Click the "Anti-Tracking" shield so it says "Off"
  3. Click the "Ad-Blocking" stop sign so it says "Off"
  4. Refresh the page
  1. In the extension bar, click on the uBlock Origin icon
  2. Click on the big, blue power button
  3. Refresh the page
  1. In the extension bar, click on the uBlock icon
  2. Click on the big, blue power button
  3. Refresh the page
  1. In the extension bar, click on the UltraBlock icon
  2. Check the "Disable UltraBlock" checkbox
  3. Marque la casilla de verificación "Desactivar UltraBlock"
  1. Please disable your Ad Blocker

If the prompt is still appearing, please disable any tools or services you are using that block internet ads (e.g. DNS Servers).