linux-cachyos icon indicating copy to clipboard operation
linux-cachyos copied to clipboard

AutoFDO & Propeller

Open lateautumn233 opened this issue 1 year ago • 1 comments

https://www.phoronix.com/news/AutoFDO-Propeller-Kernel#google_vignette

May I ask if it is possible to add it to the kernel

lateautumn233 avatar Jul 31 '24 16:07 lateautumn233

https://www.phoronix.com/news/AutoFDO-Propeller-Kernel#google_vignette

May I ask if it is possible to add it to the kernel

Patch is already available, but im not able to convert the AutoFDO profile on my Zen4 machine. This anyways requires multiple steps and does not work automatically.

ptr1337 avatar Jul 31 '24 16:07 ptr1337

I had some success using AutoFDO on top of the kernel.

The profiling worked and also I was able to boot into the kernel. I have used from the kernel tree "make pacman-pkg" to create the kernel and it worked flawless. Im fighting currently a bit integrating it into the PKGBUILD, since as soon a profile is set the packaging fails.

See here: https://lore.kernel.org/lkml/[email protected]/

If you want, I can provide some info/tutorial how to use AutoFDO on top of the cachyos kernel with make pacman-pkg

ptr1337 avatar Nov 03 '24 14:11 ptr1337

https://github.com/CachyOS/website/blob/develop/src/content/post/2411-kernel-autofdo.md

Ive created a guide here

ptr1337 avatar Nov 03 '24 17:11 ptr1337

https://github.com/CachyOS/linux-cachyos/pull/322

Its now integrated with a basic integration in the PKGBUILD. Feel free to test. Propellor is pending.

Be aware to update your system, because it requires a revert in binutils.

ptr1337 avatar Nov 05 '24 17:11 ptr1337

when will there be a guide on the propeller

meflove avatar Jan 14 '25 15:01 meflove

when will there be a guide on the propeller

I thought about writing one on the weekend based on the PKGBUILD, but it depends how much time I have

ptr1337 avatar Jan 14 '25 16:01 ptr1337

I'm just trying the guide in pkgbuild and I don't understand if I'm doing something wrong or something else

meflove avatar Jan 14 '25 16:01 meflove