Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

linux-cachyos-autofdo: Introduce Package #326

Merged
merged 2 commits into from
Nov 11, 2024
Merged

linux-cachyos-autofdo: Introduce Package #326

merged 2 commits into from
Nov 11, 2024

Conversation

ptr1337
Copy link
Member

@ptr1337 ptr1337 commented Nov 11, 2024

This kernel is intended to provide a preprofiled kernel, so that user can test this. This will follow the "linux-cachyos" kernel, and after a longer testing period this kernel will be dropped and we are optimizing the linux-cachyos kernel as default.

We will profile the kernel every 2 minor versions with following workloads (as soon LLVM 19 is out):

  1. Kernel Compilation
  2. cachyos-benchmarker
  3. Maybe some other specific workloads, like svt-av1

The profiles needs to be done each architecure. For now we will make the profiles for:

  • x86-64-v3
  • Zen4

Since there are the most of our users.

Workflow:

  1. Compile Kernel with _autofdo=y and _build_debug=y
  2. Boot into kenrel in QEMU or host machine
  3. Profile the kernel and convert the profile see blogpost
  4. Put the profile into the sourcedir andn name the profile perf.afdo
  5. Enable _autofdo_use

In the future we will also add propellor

This kernel is intended to provide a preprofiled kernel, so that user can test this. This will follow the "linux-cachyos" kernel, and after a longer testing period this kernel will be dropped and we are optimizing the linux-cachyos kernel as default.

We will profile the kernel every 2 minor versions with following workloads (as soon LLVM 19 is out):
1. Kernel Compilation
2. cachyos-benchmarker
3. Maybe some other specific workloads, like svt-av1

The profiles needs to be done each architecure. For now we will make the profiles for:
- x86-64-v3
- Zen4

Since there are the most of our users.

Workflow:
1. Compile Kernel with _autofdo=y and _build_debug=y
2. Boot into kenrel in QEMU or host machine
3. Profile the kernel and convert the profile see blogpost
4. Put the profile into the sourcedir andn name the profile perf.afdo
5. Enable _autofdo_use

In the future we will also add propellor

Signed-off-by: Peter Jung <[email protected]>
@ptr1337 ptr1337 self-assigned this Nov 11, 2024
linux-cachyos-autofdo/PKGBUILD Show resolved Hide resolved
linux-cachyos-autofdo/PKGBUILD Outdated Show resolved Hide resolved
Co-authored-by: Eric Naim <[email protected]>
@ptr1337 ptr1337 merged commit db5ff9f into master Nov 11, 2024
@ptr1337 ptr1337 deleted the autofdo2 branch November 11, 2024 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants