A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/CachyOS/linux-cachyos below:

CachyOS/linux-cachyos: Archlinux Kernel based on different schedulers and some other performance improvements.

Enhanced Linux kernels with improved performance, multiple CPU schedulers, and advanced optimizations.

CachyOS provides a collection of enhanced Linux kernels designed for improved performance across different workloads. Our kernels feature multiple CPU schedulers, advanced compiler optimizations, and carefully selected patches to deliver better responsiveness and throughput.

Note

All CachyOS kernels are available in multiple architecture optimizations: x86-64, x86-64-v3, x86-64-v4, and znver4. The default linux-cachyos kernel is compiled with GCC due a bug at the NVIDIA Driver.

Kernel Variants & Schedulers

Each scheduler is optimized for different use cases. We recommend testing each one to find the best fit for your specific requirements.

Tip

For detailed explanations of each kernel variant, visit our Kernel Wiki.

Performance Optimizations

[!INFO] For comprehensive details about each kernel variant and their specific optimizations, visit our Kernel Documentation.

Our repositories contain optimized Arch Linux and CachyOS packages rebuilt with performance, stability, and security enhancements.

Available Repository Tiers Repository Target CPUs Package Coverage Optimization Level znver4 AMD Zen 4 & Zen 5 Full package set Zen4-specific optimizations x86-64-v4 Intel Xeon / Intel 11th Full package set AVX, AVX2, AVX512, SSE4.2, SSSE3 x86-64-v3 2012 or newer Full package set AVX, AVX2, SSE4.2, SSSE3 x86-64 All x86-64 CPUs Kernels only Basic optimizations

Automated Setup (Recommended)

Our installation script automatically detects your CPU and configures the optimal repositories:

# Download and extract the installer
curl -O https://mirror.cachyos.org/cachyos-repo.tar.xz
tar xvf cachyos-repo.tar.xz && cd cachyos-repo

# Run the automated installer
sudo ./cachyos-repo.sh

What the script does:

For more information, visit our GitHub or join our Discord community.

Step 1: Add CachyOS Signing Keys

sudo pacman-key --recv-keys F3B607488DB35A47 --keyserver keyserver.ubuntu.com
sudo pacman-key --lsign-key F3B607488DB35A47

Step 2: Install Required Packages

sudo pacman -U \
    'https://mirror.cachyos.org/repo/x86_64/cachyos/cachyos-keyring-20240331-1-any.pkg.tar.zst' \
    'https://mirror.cachyos.org/repo/x86_64/cachyos/cachyos-mirrorlist-22-1-any.pkg.tar.zst' \
    'https://mirror.cachyos.org/repo/x86_64/cachyos/cachyos-v3-mirrorlist-22-1-any.pkg.tar.zst' \
    'https://mirror.cachyos.org/repo/x86_64/cachyos/cachyos-v4-mirrorlist-22-1-any.pkg.tar.zst' \
    'https://mirror.cachyos.org/repo/x86_64/cachyos/pacman-7.0.0.r7.g1f38429-1-x86_64.pkg.tar.zst'

Caution

About CachyOS Pacman: This installs a forked version of pacman with CachyOS-specific features like INSTALLED_FROM tracking and automatic architecture detection. While this provides enhanced functionality, it may cause compatibility warnings with standard Arch Linux workflows.

Alternative: If you prefer to avoid the custom pacman, skip the cachyos repository and only use the optimized package repositories (cachyos-v3, cachyos-v4, cachyos-extra, etc.).

Rollback Instructions

If you need to revert to standard Arch repositories after using CachyOS pacman:

sudo find /var/lib/pacman/local/ -type f -name "desc" -exec sed -i '/^%INSTALLED_DB%$/,+2d' {} \;

Before manually configuring repositories, verify your CPU's instruction set support.

Note

Skip this step if using the automated installation script—it handles detection automatically.

Check Your CPU Support

/lib/ld-linux-x86-64.so.2 --help | grep supported

Understanding the Output

Look for the (supported, searched) indicators:

Example Output for Compatible CPU:

$ /lib/ld-linux-x86-64.so.2 --help | grep supported
  x86-64-v4 (supported, searched)
  x86-64-v3 (supported, searched)
  x86-64-v2 (supported, searched)

Instruction Set Requirements:

Edit your pacman configuration to add the appropriate repositories:

sudo nano /etc/pacman.conf

For x86-64 (Basic) Support:

# CachyOS repositories
[cachyos]
Include = /etc/pacman.d/cachyos-mirrorlist

For x86-64-v3 Support:

# CachyOS repositories (add in this order)
[cachyos-v3]
Include = /etc/pacman.d/cachyos-v3-mirrorlist
[cachyos-core-v3]
Include = /etc/pacman.d/cachyos-v3-mirrorlist
[cachyos-extra-v3]
Include = /etc/pacman.d/cachyos-v3-mirrorlist
[cachyos]
Include = /etc/pacman.d/cachyos-mirrorlist

For x86-64-v4 Support:

# CachyOS repositories (add in this order)
[cachyos-v4]
Include = /etc/pacman.d/cachyos-v4-mirrorlist
[cachyos-core-v4]
Include = /etc/pacman.d/cachyos-v4-mirrorlist
[cachyos-extra-v4]
Include = /etc/pacman.d/cachyos-v4-mirrorlist
[cachyos]
Include = /etc/pacman.d/cachyos-mirrorlist

For AMD Zen4 CPUs:

# CachyOS repositories (Zen4 optimized)
[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

Finalize Installation:

# Update package databases and system
sudo pacman -Syu

🎉 Congratulations! Your system is now optimized with CachyOS packages.

Debug symbols are available through debuginfod. Configure it by creating:

# Create debuginfod configuration
sudo mkdir -p /etc/debuginfod
echo "https://debuginfod.cachyos.org" | sudo tee /etc/debuginfod/cachyos.urls
Uninstalling CachyOS Repositories

For complete removal instructions, see our Uninstallation Guide.

CachyOS supports the new sched-ext (SCX) framework for userspace schedulers. For setup and configuration, see our sched-ext Tutorial.

Warning

SCX schedulers are not compatible with the linux-cachyos-bmq kernel variant.

CachyOS kernels are available for other Linux distributions through community efforts:

Community-maintained ebuilds for dynamic kernel building:

# Add the CachyOS kernels overlay
eselect repository add CachyOS-kernels git https://github.com/Szowisz/CachyOS-kernels
emaint sync -r CachyOS-kernels

Repository: Szowisz/CachyOS-kernels

COPR repository with multiple kernel variants:

Maintainer: bieszczaders
Installation: Visit the COPR page for setup instructions

Precompiled kernels available through the Chaotic-AUR Nyx repository:

Repository: chaotic-cx/nyx
Setup: Follow the installation guide

Help us maintain repositories and build infrastructure:

Special thanks to our key contributors:


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4