r/voidlinux • u/el_calamann • Mar 16 '26
CachyOS-like "infrastructure" modification scripts for VOID?
Hello everyone, how have you been?
It has been quite some time since I last posted here, and today, there was this itch in my head to ask here: Is it possible to create a script to replay most, if not all, CachyOS enhancements on VOID? Or, if any of you guys have already done something similar?
Another question is: What enhancements are currently being done in Void kernels that resemble what I'm asking here?
Please note that what I'm asking here is not something to create a derived distro from VOID, but rather to have an installer script or a set of scripts to replicate the "most important" modifications they did on CachyOS side but on VOID, like the following:
- x86-64 ABI v2/v3 usage with fallbacks to cater for unsupported platforms
- Compilation improvements (CFLAGS), LTO, PGO, etc.
- Have all possible patchsets applied (scheduler optimisations, BORE/EEVDF with tunables, etc.)
- Everything else that can be applied at the lower level, and can be used as a common denominator for all installations
Please note that I'm not mentioning any of the "gaming" enhancements on purpose, as I'm focusing on the "min-max" here: The maximum performance/improvements we can have on a "minimal" text-based VOID installation.
I don't have the proper knowledge of what it would require. I could try to maybe "vibe-code" something (I hate to go down this path, because I don't have the proper time to invest into learning everything needed, not to ask AI to do this for me).
Phrasing it differently, it would be like having Gentoo-like configuration improvements, without the compilation effort :D
7
u/ClassAbbyAmplifier Mar 16 '26
void's package build system, xbps-src supports setting global CFLAGS and applying patches, but you're probably going to be wasting effort. you will not get much performance gain (probably <2%) in most applications. if you need something to be more performant, focus on that application or library
5
u/[deleted] Mar 16 '26
I think if you want those improvements you need to recompile at least some what you care mostly packages including of course kernel by yourself anyway. So then why don't just go to Gentoo if you don't like Cachy?
3
u/zlice0 Mar 16 '26
ppl claim cachy has god performance but gaming benchmarks, which are one of the most intensive things ppl do, its really margin of error performance wise.
unless you have a specific program or problem youre using something like SIMD/AVX for, you are not going to notice or even probably measure any difference
https://youtu.be/Giois6VtLPM?t=258
3
u/karyan40024 Mar 17 '26
Some time ago I created template for kernels with cachyos patches and configs from their repo. You can find it here: https://github.com/lazylinuxos/lazy-repo/tree/master/srcpkgs/linux6.18-cachyos
Then I built an iso with that kernel and used for a few hours but didn't stress test it much. Currently not maintained but I still have iso here if you are interested: https://sourceforge.net/projects/lazylinux/files/iso/experimental/