I finally found instructions[1] on native compiling the Linux kernel for #nixos and it worked for skylake!
Is there a kernel speed benchmark test? I want to measure any speed difference.
For whatever reason navite build fails with znver3, giving this error:
Reason: builder failed due to signal 4 (Illegal instruction)
But I'm used to seeing that for znver4 or anything avx512.
Maybe I'll try running the skylake native kernel on my AMD EPYC server?
[1] https://discourse.nixos.org/t/enabling-march-and-mtune-for-kernel-builds/20395/3