Optimized Repositories
Tento obsah zatím není dostupný ve vašem jazyce.
Our aim to deliver a performance-optimized distribution necessitates recompiling essential Arch Linux packages for generic x86-64, x86-64-v3, x86-64-v4, and Zen4 architectures.
- x86-64: While lacking AVX2 support found in x86-64-v3, this repository offers optimized packages. LTO and PGO techniques have boosted performance in several packages.
- x86-64-v3: 5%-20% performance uplift compared to x86-64.
- x86-64-v4: Delivers substantial performance gains through AVX512 support, depending on the workload.
- Zen 4/5: In addition to the x86-64-v4 instruction set, the following are added:
Customized Packages
Our CachyOS-PKGBUILDs repository contains packages that receive ongoing updates, patches and backported fixes. To boost performance, we selectively implement PGO, LTO, and BOLT optimizations depending on the need. We also maintain a couple of -git packages e.g mesa-git.
Adding Our Repositories to an Existing Arch Linux Install
We provide a script that automates the installation of our repositories to your existing Arch-based installs.
-
Install CachyOS keyring:
-
Install the necessary packages:
-
Add the CachyOS repos to pacman’s config:
-
Finally, update your system with CachyOS packages:
Uninstalling CachyOS Repositories
Run the following commands to remove the CachyOS repositories from your system:
- Reinstall the original pacman from Arch Linux:
- Execute the following command:
- Create a backup of the pacman config file:
- Switch back to the default Arch Linux packages with the following commands:
Tests and benchmarks
Michael from Phoronix has already benchmarked CachyOS a couple of times, which is shown mostly leading in the benchmark graphs and on the Geometric Mean of All Test Results. Since the first benchmark made back in 2022. CachyOS has evolved and matured a lot more in terms of usability and performance.
If you would like to know more about the performance uplift from our repositories. Please check the links below.
-
14/03/2021: In a RFC discussion about the impact of x86-64-v3 was started by Mateusz Jończyk from Arch Linux showed some initial results.
-
09/12/2022: First benchmark done by Michael.
-
29/02/2024: Phoronix conducted another benchmark demonstrating the difference between x86-64-v4, x86-64-v3 and x86-64 (generic) Packages. Looking at the examples like PHP or GCC, where we customize our PKGBUILDs there is a noticeable performance improvement.
-
20/08/2024: Michael posted a new benchmark for the AMD Ryzen 9950x on which it includes CachyOS and some others Linux Distributions.