Hi together,
as some of you already know - we have worked on a Zen4 optimized repository.
This repository is aimed for Zen4 and Zen5 CPUs and we would like to start some public testing before it will be included as default in the auto detection of the installation process.
We have bought an additional server, which is based on a 7700 to not delay any other packages or equal.
The repository has been tested already by several people and several machines and it works pretty stable.
Following additional instruction set is applied compared to the x86-64-v4 target:
abm, adx, aes, avx512bf16, avx512bitalg, avx512ifma, avx512vbmi, avx512vbmi2, avx512vnni, avx512vpopctndq, clflushopt, clwb, clzero, fsgsbase, gfni, mwaitx, pclmul, pku. prfchw, rpdid, rdrnd, rdseed, sha, sse4a, vaes, vockmulqdq, wbnoinvd, savec, xsaveopt, xsaves
Also, the “scheduling” of the optimization is done for Zen4, which should also yield some more performance.
Instruction to change to this repository:
- Check support with
gcc -march=native -Q --help=target 2>&1 | grep -Po "^\s+-march=\s+\K(\w+)\$"
, this should output “znver4” or “znver5” for support. - Update the
/etc/pacman.conf
with changingcachyos-v4
,cachyos-core-v4
andcachyos-extra-v4
tocachyos-znver4,
cachyos-core-znver4
,cachyos-extra-znver4
. Here an example:
[cachyos-znver4]
Include = /etc/pacman.d/cachyos-v4-mirrorlist
[cachyos-core-znver4]
Include = /etc/pacman.d/cachyos-v4-mirrorlist
[cachyos-extra-znver4]
Include = /etc/pacman.d/cachyos-v4-mirrorlist
[cachyos]
Include = /etc/pacman.d/cachyos-mirrorlist
[core]
Include = /etc/pacman.d/mirrorlist
[extra]
Include = /etc/pacman.d/mirrorlist
[multilib]
Include = /etc/pacman.d/mirrorlist
- Wipe the package cache with
sudo pacman -Scc
and confirm the deletion of cache and the database sudo pacman -Sy
- Reinstall all packages to get the Zen4 optimized packages with following command:
pacman -Qqn | sudo pacman -S -
- Reboot the system
Feel free to report back in the #cachyos-repository channel.